rpms/perl-Test-Distribution/EL-6 perl-Test-Distribution.spec, 1.9, 1.10

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

 



Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Test-Distribution/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv14069

Modified Files:
	perl-Test-Distribution.spec 
Log Message:
* Tue May 18 2010 Paul Howarth <paul@xxxxxxxxxxxx> - 2.00-7
- No signature test, so Module::Signature not needed as buildreq, and no need
  to go to great lengths to avoid clobbering ~/.gnupg
- Recode README and Changes.pod as UTF8
- Run tests in "C" locale to avoid Module::Build's inability to find perl
  in the test suite on older distributions



Index: perl-Test-Distribution.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Distribution/EL-6/perl-Test-Distribution.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- perl-Test-Distribution.spec	26 Jul 2009 16:48:47 -0000	1.9
+++ perl-Test-Distribution.spec	18 May 2010 20:25:55 -0000	1.10
@@ -1,9 +1,6 @@
-# noarch, but to avoid debug*.list interfering with signature/manifest tests:
-%define debug_package %{nil}
-
 Name:           perl-Test-Distribution
 Version:        2.00
-Release:        4%{?dist}
+Release:        7%{?dist}
 Summary:        Perform tests on all modules of a distribution
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -15,7 +12,6 @@ BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(File::Find::Rule) >= 0.03
 BuildRequires:  perl(Module::CoreList) >= 1.93
-BuildRequires:  perl(Module::Signature)
 BuildRequires:  perl(Pod::Coverage) >= 0.17
 BuildRequires:  perl(Test::Pod) >= 0.95
 BuildRequires:  perl(Test::Pod::Coverage)
@@ -32,12 +28,17 @@ Requires:       perl(:MODULE_COMPAT_%(ev
 
 %description
 When using this module in a test script, it goes through all the modules in
-your distribution, checks their POD, checks that they compile ok and checks
+your distribution, checks their POD, checks that they compile OK and checks
 that they all define a $VERSION.
 
 %prep
 %setup -q -n Test-Distribution-%{version}
 
+for f in README Changes.pod; do
+  /usr/bin/iconv -f iso-8859-1 -t utf-8 < ${f} > ${f}.utf8
+  mv ${f}.utf8 ${f}
+done
+
 %build
 %{__perl} Build.PL installdirs=vendor
 ./Build
@@ -46,17 +47,13 @@ that they all define a $VERSION.
 rm -rf %{buildroot}
 
 ./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 
-%{_fixperms} %{buildroot}/*
+%{_fixperms} %{buildroot}
 
 
 %check
-# appease Module::Signature
-tmpdir=$(mktemp -d %{_tmppath}/%{name}-%{version}-%{release}.XXXXXX)
-mkdir -m 700 $tmpdir/_gnupg
-export GNUPGHOME=$tmpdir/_gnupg
-./Build test && rm -rf $tmpdir
+LC_ALL=C ./Build test
 
 %clean
 rm -rf %{buildroot}
@@ -64,10 +61,23 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 %doc Changes.pod README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Test/
+%{_mandir}/man3/Test::Distribution.3pm*
 
 %changelog
+* Tue May 18 2010 Paul Howarth <paul@xxxxxxxxxxxx> - 2.00-7
+- No signature test, so Module::Signature not needed as buildreq, and no need
+  to go to great lengths to avoid clobbering ~/.gnupg
+- Recode README and Changes.pod as UTF8
+- Run tests in "C" locale to avoid Module::Build's inability to find perl
+  in the test suite on older distributions
+
+* Thu May 06 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.00-6
+- Mass rebuild with perl-5.12.0
+
+* Fri Dec  4 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 2.00-5
+- rebuild against perl 5.10.1
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.00-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 

--
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