From cecdc32c0676726d5934055ceaca942774c9e4ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 13:10:07 +0200 Subject: [PATCH] use generic url --- perl-Lingua-Stem-Snowball-Da.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/perl-Lingua-Stem-Snowball-Da.spec b/perl-Lingua-Stem-Snowball-Da.spec index b977b20..08bca51 100644 --- a/perl-Lingua-Stem-Snowball-Da.spec +++ b/perl-Lingua-Stem-Snowball-Da.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir Lingua %define pnam Stem-Snowball-Da +%include /usr/lib/rpm/macros.perl Summary: Lingua::Stem::Snowball::Da - Porter's stemming algorithm for Danish Summary(pl.UTF-8): Lingua::Stem::Snowball::Da - algorytm Portera określający rdzenie słów dla języka duńskiego Name: perl-Lingua-Stem-Snowball-Da @@ -14,6 +14,7 @@ License: GPL v2 Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: e8d9a8285bce0c9e4bedc138cd6a1501 +URL: http://search.cpan.org/dist/Lingua-Stem-Snowball-Da/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch @@ -45,7 +46,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -install stemmer.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -p stemmer.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0