]> git.pld-linux.org Git - packages/perl-Spreadsheet-WriteExcel.git/commitdiff
use generic url
authorElan Ruusamäe <glen@delfi.ee>
Wed, 26 Nov 2014 13:09:13 +0000 (15:09 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 26 Nov 2014 13:09:13 +0000 (15:09 +0200)
perl-Spreadsheet-WriteExcel.spec

index 4d28f1a1a7ef44bac1e1d8090b7855e2e7241a3f..50b7a3260b5f26465086d58d8676e9c001474fe1 100644 (file)
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+
 %define                pdir    Spreadsheet
 %define                pnam    WriteExcel
+%include       /usr/lib/rpm/macros.perl
 Summary:       Spreadsheet::WriteExcel perl module
 Summary(cs.UTF-8):     Modul Spreadsheet::WriteExcel pro Perl
 Summary(da.UTF-8):     Perlmodul Spreadsheet::WriteExcel
@@ -30,6 +30,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: 07e038429dc7d7467c735e467cc1cfbe
+URL:           http://search.cpan.org/dist/Spreadsheet-WriteExcel/
 BuildRequires: perl-Parse-RecDescent
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: perl-modules >= 5.6.1
@@ -74,7 +75,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install examples/{README,*.pl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/{README,*.pl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 gzip -9 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/README
 
 %clean
This page took 0.080301 seconds and 4 git commands to generate.