]> git.pld-linux.org Git - packages/perl-Math-GMP.git/blobdiff - perl-Math-GMP.spec
- cosmetic unification: s/^%define\s+(pdir|pnam)\s+/%define\t$1\t/
[packages/perl-Math-GMP.git] / perl-Math-GMP.spec
index 62e8fd2ac8bab3d9c85975f13dbd862d0eb48608..dcc60fe63e38c66b3f89b65518c3a76c22f42685 100644 (file)
@@ -3,18 +3,18 @@
 %bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
-%define                pdir    Math
-%define                pnam    GMP
+%define        pdir    Math
+%define        pnam    GMP
 Summary:       Math::GMP Perl module - high speed arbitrary size integer math
 Summary(pl):   Modu³ Perla Math::GMP - szybka arytmetyka liczb ca³kowitych o dowolnym rozmiarze
 Name:          perl-Math-GMP
 Version:       2.03
-Release:       2
+Release:       3
 License:       LGPL
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: cf653ffa60607717ff4fc67177ee07b0
-BuildRequires: perl-devel >= 5.6
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: gmp-devel
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,6 +30,11 @@ oblicze
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
+%ifarch alpha amd64 ia64 ppc64 sparc64
+# original reference values expect 32-bit long
+%{__perl} -pi -e 's/^\+9999999999(9*):[0-9]+$/+9999999999$1:9999999999$1/' t/gmppm.t
+%endif
+
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
This page took 0.060186 seconds and 4 git commands to generate.