]> git.pld-linux.org Git - packages/perl-Statistics-Descriptive.git/commitdiff
- release 4: rebuild against perl 5.6 and use rpm automation. perl-Statistics-Descriptive-2_4-4
authorkloczek <kloczek@pld-linux.org>
Tue, 23 Jan 2001 20:44:22 +0000 (20:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Statistics-Descriptive.spec -> 1.8

perl-Statistics-Descriptive.spec

index bdd0481d68a1bf6d572cd86776eaffbf28b7939d..5220be55fe37598ce321f55f14abdd7f305328b4 100644 (file)
@@ -3,14 +3,15 @@ Summary:      Statistics-Descriptive perl module
 Summary(pl):   Modu³ perla Statistics-Descriptive
 Name:          perl-Statistics-Descriptive
 Version:       2.4
-Release:       3
+Release:       4
 License:       GPL
 Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
 Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/Statistics/Statistics-Descriptive-%{version}.tar.gz
-Patch0:                perl-Statistics-Descriptive-fix.patch
+Patch0:                %{name}-fix.patch
 BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.005_03-14
+BuildRequires: perl >= 5.6
 %requires_eq   perl
 Requires:      %{perl_sitearch}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,25 +34,16 @@ perl Makefile.PL
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Statistics/Descriptive
-  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-  mv .packlist.new .packlist
-)
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
-        Changes README
+gzip -9nf Changes README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {Changes,README}.gz
-
+%doc *.gz
 %{perl_sitelib}/Statistics/Descriptive.pm
-%{perl_sitearch}/auto/Statistics/Descriptive
-
 %{_mandir}/man3/*
This page took 0.031901 seconds and 4 git commands to generate.