rpms/perl-Math-GMP/EL-6 perl-Math-GMP.spec,1.18,1.19

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Math-GMP/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv30344

Modified Files:
	perl-Math-GMP.spec 
Log Message:
* Tue May 11 2010 Paul Howarth <paul@xxxxxxxxxxxx> 2.06-4
- Don't clobber ~/.gnupg
- No perl(Test::YAML::Meta) in EPEL yet
- No aspell dictionaries in EL-6 (#590700), so drop buildreqs aspell-en,
  perl(File::Comments), perl(Pod::Spell), and perl(Text::SpellChecker)



Index: perl-Math-GMP.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-GMP/EL-6/perl-Math-GMP.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- perl-Math-GMP.spec	18 Sep 2009 09:32:48 -0000	1.18
+++ perl-Math-GMP.spec	11 May 2010 16:25:07 -0000	1.19
@@ -1,7 +1,7 @@
 Summary:	High speed arbitrary size integer math
 Name:		perl-Math-GMP
 Version:	2.06
-Release:	1%{?dist}
+Release:	4%{?dist}
 License:	LGPLv2+
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Math-GMP/
@@ -11,15 +11,10 @@ BuildRoot:	%{_tmppath}/%{name}-%{version
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildRequires:	gmp-devel
 BuildRequires:	perl(ExtUtils::MakeMaker)
-BuildRequires:	perl(File::Comments)
 BuildRequires:	perl(Module::Signature)
-BuildRequires:	perl(Pod::Spell)
 BuildRequires:	perl(Test::More)
 BuildRequires:	perl(Test::Pod)
-BuildRequires:	perl(Test::YAML::Meta)
-BuildRequires:	perl(Text::SpellChecker)
 BuildRequires:	perl(YAML)
-BuildRequires:	aspell-en
 
 # Critic and Pod Coverage tests fail, so make sure we don't try to run them for now
 BuildConflicts:	perl(Perl::Critic)
@@ -35,36 +30,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,6 +72,18 @@ cd -
 %{_mandir}/man3/Math::GMP.3pm*
 
 %changelog
+* Tue May 11 2010 Paul Howarth <paul@xxxxxxxxxxxx> 2.06-4
+- Don't clobber ~/.gnupg
+- No perl(Test::YAML::Meta) in EPEL yet
+- No aspell dictionaries in EL-6 (#590700), so drop buildreqs aspell-en,
+  perl(File::Comments), perl(Pod::Spell), and perl(Text::SpellChecker)
+
+* 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
+
 * Fri Sep 18 2009 Paul Howarth <paul@xxxxxxxxxxxx> 2.06-1
 - Update to 2.06
   - Make Makefile.PL more forgiving of gmp library locations (CPAN RT#46323)
@@ -85,7 +92,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

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux