[packages/perl-Lingua-Stem-Snowball-Da] use generic url
glen
glen at pld-linux.org
Tue Nov 25 12:10:11 CET 2014
commit cecdc32c0676726d5934055ceaca942774c9e4ec
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 13:10:07 2014 +0200
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Lingua-Stem-Snowball-Da.git/commitdiff/cecdc32c0676726d5934055ceaca942774c9e4ec
More information about the pld-cvs-commit
mailing list