[packages/perl-Inline-Awk] use generic url
glen
glen at pld-linux.org
Tue Nov 25 12:00:46 CET 2014
commit 32b5d6462bcaacea607fd80c472206930756cc69
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 13:00:43 2014 +0200
use generic url
perl-Inline-Awk.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/perl-Inline-Awk.spec b/perl-Inline-Awk.spec
index 56db51c..a4a749c 100644
--- a/perl-Inline-Awk.spec
+++ b/perl-Inline-Awk.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Inline
%define pnam Awk
+%include /usr/lib/rpm/macros.perl
Summary: Inline::Awk Perl module
Summary(cs.UTF-8): Modul Inline::Awk pro Perl
Summary(da.UTF-8): Perlmodul Inline::Awk
@@ -30,8 +30,9 @@ 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: e98d19ea7b03b967c2aa4af872d11930
-BuildRequires: perl-devel >= 1:5.8.0
+URL: http://search.cpan.org/dist/Inline-Awk/
BuildRequires: perl-Inline
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
Requires: awk
BuildArch: noarch
@@ -61,7 +62,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Inline-Awk.git/commitdiff/32b5d6462bcaacea607fd80c472206930756cc69
More information about the pld-cvs-commit
mailing list