X-Git-Url: https://git.pld-linux.org/?p=packages%2Fperl-Math-GMP.git;a=blobdiff_plain;f=perl-Math-GMP.spec;h=f3ee48d573c332deaef6452675f118420aaf2ec9;hp=2bc1e541fa1a82cded92ca0b95acfdb2bfbcacc8;hb=488960c;hpb=199b19b9ed87a93844c266ee4187bae085a48299 diff --git a/perl-Math-GMP.spec b/perl-Math-GMP.spec index 2bc1e54..f3ee48d 100644 --- a/perl-Math-GMP.spec +++ b/perl-Math-GMP.spec @@ -6,18 +6,19 @@ %define pdir Math %define pnam GMP Summary: Math::GMP Perl module - high speed arbitrary size integer math -Summary(pl.UTF-8): Moduł Perla Math::GMP - szybka arytmetyka liczb całkowitych o dowolnym rozmiarze +Summary(pl.UTF-8): Moduł Perla Math::GMP - szybka arytmetyka liczb całkowitych o dowolnym rozmiarze Name: perl-Math-GMP Version: 2.04 -Release: 1 -License: LGPL +Release: 3 +License: LGPL v2+ Group: Development/Languages/Perl -Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 291e5847986c7591cd70c1788c979a98 -BuildRequires: perl-devel >= 1:5.8.0 +URL: http://search.cpan.org/dist/Math-GMP/ BuildRequires: gmp-devel -BuildRequires: rpmbuild(macros) >= 1.213 +BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.213 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -40,6 +41,7 @@ obliczeń na dużych liczbach całkowitych. %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} \ + CC="%{__cc}" \ OPTIMIZE="%{rpmcflags}" %{?with_tests:%{__make} test}