rpms/perl-Math-GMP/devel perl-Math-GMP.spec,1.17,1.18

Paul Howarth pghmcfc at fedoraproject.org
Fri Sep 18 09:32:48 UTC 2009


Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Math-GMP/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20053

Modified Files:
	perl-Math-GMP.spec 
Log Message:
Update to 2.06
- Make Makefile.PL more forgiving of gmp library locations (CPAN RT#46323)
- Update link to libgmp.org in INSTALL file (CPAN RT#46324)
Use %{?perl_default_filter}
RELEASE_TESTING variable obsoletes TEST_{AUTHOR,CRITIC,SIGNATURE,SPELL}
BuildConflict Test::Critic and Test::Pod::Coverage to avoid failing test



Index: perl-Math-GMP.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-GMP/devel/perl-Math-GMP.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- perl-Math-GMP.spec	26 Jul 2009 09:12:41 -0000	1.17
+++ perl-Math-GMP.spec	18 Sep 2009 09:32:48 -0000	1.18
@@ -1,7 +1,7 @@
 Summary:	High speed arbitrary size integer math
 Name:		perl-Math-GMP
-Version:	2.05
-Release:	5%{?dist}
+Version:	2.06
+Release:	1%{?dist}
 License:	LGPLv2+
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Math-GMP/
@@ -9,16 +9,24 @@ Source0:	http://search.cpan.org/CPAN/aut
 Source1:	14964AC8.asc
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-BuildRequires:	gmp-devel, perl(ExtUtils::MakeMaker), perl(Test::More), aspell-en
-BuildRequires:	perl(Module::Signature), perl(Perl::Critic), perl(Pod::Spell)
-BuildRequires:	perl(Test::Pod), perl(Test::YAML::Meta), perl(Text::SpellChecker)
-BuildRequires:	perl(File::Comments), perl(YAML)
-
-# don't "provide" private Perl libs
-%global _use_internal_dependency_generator 0
-%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
-%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
-%global __find_requires /bin/sh -c "%{__deploop R}"
+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)
+BuildConflicts:	perl(Test::Pod::Coverage)
+
+# Don't "provide" private Perl libs
+%{?perl_default_filter}
 
 %description
 Math::GMP was designed to be a drop-in replacement both for Math::BigInt and
@@ -44,13 +52,9 @@ cd source
 cd -
 
 %check
-# Notes:
 # Locale set to en_US for spell check tests
-# Perl::Critic tests fail - disabled for now by setting TEST_CRITIC=0
-# Pod::Coverage tests fail - disabled for now by not having BR: perl(Test::Pod::Coverage)
 %{__gpg} --import %{SOURCE1}
-LC_ALL=en_US %{__make} -C source test \
-	TEST_AUTHOR=1 TEST_CRITIC=0 TEST_SIGNATURE=1 TEST_SPELL=1 TEST_VERBOSE=1
+LC_ALL=en_US %{__make} -C source test RELEASE_TESTING=1 TEST_VERBOSE=1
 
 %install
 %{__rm} -rf %{buildroot}
@@ -58,7 +62,7 @@ cd source
 %{__make} 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 ';'
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
 %{__chmod} -R u+w %{buildroot}/*
 cd -
 
@@ -73,6 +77,14 @@ cd -
 %{_mandir}/man3/Math::GMP.3pm*
 
 %changelog
+* Fri Sep 18 2009 Paul Howarth <paul at city-fan.org> 2.06-1
+- Update to 2.06
+  - Make Makefile.PL more forgiving of gmp library locations (CPAN RT#46323)
+  - Update link to libgmp.org in INSTALL file (CPAN RT#46324)
+- Use %%{?perl_default_filter}
+- 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 at lists.fedoraproject.org> - 2.05-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the Fedora-perl-devel-list mailing list