[packages/perl-Filter-Simple] use generic url
glen
glen at pld-linux.org
Tue Nov 25 11:45:21 CET 2014
commit 37ef7941b6dee95f16c6e391f2e7f8783fb99cd1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 12:45:18 2014 +0200
use generic url
perl-Filter-Simple.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl-Filter-Simple.spec b/perl-Filter-Simple.spec
index 7f63908..07dd165 100644
--- a/perl-Filter-Simple.spec
+++ b/perl-Filter-Simple.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # don't perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Filter
%define pnam Simple
+%include /usr/lib/rpm/macros.perl
Summary: Filter::Simple Perl module - simplified source filtering
Summary(pl.UTF-8): Moduł Perla Filter::Simple - uproszczone filtrowanie
Name: perl-Filter-Simple
@@ -15,6 +15,7 @@ License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: fee36e11569fd02e3a75da7d2b8ec924
+URL: http://search.cpan.org/dist/Filter-Simple/
%if %{with tests}
BuildRequires: perl-Filter
%endif
@@ -48,7 +49,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Filter-Simple.git/commitdiff/37ef7941b6dee95f16c6e391f2e7f8783fb99cd1
More information about the pld-cvs-commit
mailing list