]> git.pld-linux.org Git - packages/perl-Math-BigInteger.git/commitdiff
- release 4: rebuild agaunst perl 5.6 and use rpm automation. perl-Math-BigInteger-1_0-4
authorkloczek <kloczek@pld-linux.org>
Thu, 11 Jan 2001 02:16:13 +0000 (02:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Math-BigInteger.spec -> 1.8

perl-Math-BigInteger.spec

index cdd49ed2c60eea01d41d214fea89ea3eb6d86fc7..bc0aef9021d956336523532cd890b252b0974600 100644 (file)
@@ -3,13 +3,14 @@ Summary:      Math-BigInteger perl module
 Summary(pl):   Modu³ perla Math-BigInteger
 Name:          perl-Math-BigInteger
 Version:       1.0
-Release:       3
-Copyright:     distributable
+Release:       4
+License:       Distributable
 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/Math/Math-BigInteger-%{version}.tar.gz
 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)
@@ -26,36 +27,23 @@ Younga.
 
 %build
 perl Makefile.PL
-%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-strip --strip-unneeded \
-       $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Math/BigInteger/*.so
 
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Math/BigInteger
-  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/* \
-        README
+gzip -9nf README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.gz
-
+%doc *.gz
 %{perl_sitearch}/Math/BigInteger.pm
-
 %dir %{perl_sitearch}/auto/Math/BigInteger
-%{perl_sitearch}/auto/Math/BigInteger/.packlist
 %{perl_sitearch}/auto/Math/BigInteger/BigInteger.bs
 %attr(755,root,root) %{perl_sitearch}/auto/Math/BigInteger/BigInteger.so
-
 %{_mandir}/man3/*
This page took 0.068581 seconds and 4 git commands to generate.