Author: pghmcfc Update of /cvs/pkgs/rpms/perl-Math-GMP/devel In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv25938 Modified Files: perl-Math-GMP.spec Log Message: * Tue May 11 2010 Paul Howarth <paul@xxxxxxxxxxxx> 2.06-4 - Don't clobber ~/.gnupg Index: perl-Math-GMP.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-Math-GMP/devel/perl-Math-GMP.spec,v retrieving revision 1.20 retrieving revision 1.21 diff -u -p -r1.20 -r1.21 --- perl-Math-GMP.spec 3 May 2010 04:42:05 -0000 1.20 +++ perl-Math-GMP.spec 11 May 2010 16:18:40 -0000 1.21 @@ -1,7 +1,7 @@ Summary: High speed arbitrary size integer math Name: perl-Math-GMP Version: 2.06 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ Group: Development/Libraries Url: http://search.cpan.org/dist/Math-GMP/ @@ -35,36 +35,36 @@ gmp library for all of its calculations, This can result in speed improvements. %prep -%setup -q -n Math-GMP-%{version} - # Do the build in a subdirectory so that the debug files list doesn't interfere # with the signature test -set -- * .perlcriticrc -%{__mkdir} source -%{__mv} "$@" source +%setup -q -c -n Math-GMP + # Copy docs back to top level for %doc -%{__cp} -a source/{README,Changes,LICENSE} . +%{__cp} -a Math-GMP-%{version}/{README,Changes,LICENSE} . + +# Create a GPG directory for testing, to avoid using ~/.gnupg +%{__mkdir} --mode=0700 gnupghome +export GNUPGHOME=$(pwd)/gnupghome +%{__gpg} --import %{SOURCE1} %build -cd source +cd Math-GMP-%{version} %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} cd - -%check -# Locale set to en_US for spell check tests -%{__gpg} --import %{SOURCE1} -LC_ALL=en_US %{__make} -C source test RELEASE_TESTING=1 TEST_VERBOSE=1 - %install %{__rm} -rf %{buildroot} -cd source -%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} +%{__make} -C Math-GMP-%{version} pure_install PERL_INSTALL_ROOT=%{buildroot} /usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' /usr/bin/find %{buildroot} -type f -name '*.bs' -a -size 0 -exec %{__rm} -f {} ';' /usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null -%{__chmod} -R u+w %{buildroot}/* -cd - +%{__chmod} -R u+w %{buildroot} + +%check +export GNUPGHOME=$(pwd)/gnupghome +# Locale set to en_US for spell check tests +LC_ALL=en_US %{__make} -C Math-GMP-%{version} test RELEASE_TESTING=1 TEST_VERBOSE=1 %clean %{__rm} -rf %{buildroot} @@ -77,11 +77,14 @@ cd - %{_mandir}/man3/Math::GMP.3pm* %changelog -* Mon May 03 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.06-3 +* Tue May 11 2010 Paul Howarth <paul@xxxxxxxxxxxx> 2.06-4 +- Don't clobber ~/.gnupg + +* Mon May 03 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> 2.06-3 - Mass rebuild with perl-5.12.0 -* Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 2.06-2 -- rebuild against perl 5.10.1 +* Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> 2.06-2 +- Rebuild against perl 5.10.1 * Fri Sep 18 2009 Paul Howarth <paul@xxxxxxxxxxxx> 2.06-1 - Update to 2.06 @@ -91,7 +94,7 @@ cd - - RELEASE_TESTING variable obsoletes TEST_{AUTHOR,CRITIC,SIGNATURE,SPELL} - BuildConflict Test::Critic and Test::Pod::Coverage to avoid failing tests -* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.05-5 +* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> 2.05-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Mar 7 2009 Paul Howarth <paul@xxxxxxxxxxxx> 2.05-4 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel