]> git.pld-linux.org Git - packages/perl-Inline-Awk.git/commitdiff
use generic url
authorElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 11:00:43 +0000 (13:00 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 11:00:43 +0000 (13:00 +0200)
perl-Inline-Awk.spec

index 56db51cac3d409ffd699999ba050beccc05d3da2..a4a749cebbbf2729b5aa8cf6ab043d0b064518b1 100644 (file)
@@ -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
This page took 0.061182 seconds and 4 git commands to generate.