commit 80534d45dc07f3eb35377dc648f6593786e70721 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue Jul 24 12:37:41 2012 +0100 Update to 0.23 - New upstream release 0.23 - Fix bug for missing file (should warn and skip, not pass to run_t_files) - File path and unlink fixes for VMS (CPAN RT#32061) - Add patch to reinstate manpage, dropped upstream - BR:/R: perl(File::Spec) and perl(Test::Harness) - BR: perl(base), perl(Carp), perl(Exporter) and perl(File::Spec::Functions) - Don't use macros for commands - Reformat %description - Don't need to remove empty directories from the buildroot - Use DESTDIR rather than PERL_INSTALL_ROOT - Use %{_fixperms} macro rather than our own chmod incantation - Drop %defattr, redundant since rpm 4.4 - Make %files list more explicit - Package LICENSE and README files .gitignore | 2 +- Test-Manifest-1.23-manpage.patch | 14 ++++++ perl-Test-Manifest.spec | 90 +++++++++++++++++++++++--------------- sources | 2 +- 4 files changed, 71 insertions(+), 37 deletions(-) --- diff --git a/.gitignore b/.gitignore index 7dce448..244a09a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Test-Manifest-1.22.tar.gz +/Test-Manifest-[0-9.]*.tar.gz diff --git a/Test-Manifest-1.23-manpage.patch b/Test-Manifest-1.23-manpage.patch new file mode 100644 index 0000000..9cfa2c2 --- /dev/null +++ b/Test-Manifest-1.23-manpage.patch @@ -0,0 +1,14 @@ +--- Test-Manifest-1.23/Makefile.PL 2009-07-27 16:41:37.000000000 +0100 ++++ Test-Manifest-1.23/Makefile.PL 2009-07-27 16:43:31.000000000 +0100 +@@ -20,7 +20,10 @@ + 'lib/Manifest.pm' => '$(INST_LIBDIR)/Manifest.pm', + }, + +- 'MAN3PODS' => {}, ++ 'MAN3PODS' => ++ { ++ 'lib/Manifest.pm' => '$(INST_MAN3DIR)/Test::Manifest.$(MAN3EXT)', ++ }, + + clean => { FILES => 'Test-Manifest-* t/test_manifest' }, + ); diff --git a/perl-Test-Manifest.spec b/perl-Test-Manifest.spec index 8a0c89e..9c0f2d9 100644 --- a/perl-Test-Manifest.spec +++ b/perl-Test-Manifest.spec @@ -1,65 +1,85 @@ -Name: perl-Test-Manifest -Version: 1.22 -Release: 13%{?dist} Summary: Test case module for Perl - -Group: Development/Libraries +Name: perl-Test-Manifest +Version: 1.23 +Release: 1%{?dist} License: GPL+ or Artistic +Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Manifest/ -Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Manifest-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - +Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Test-Manifest-%{version}.tar.gz +Patch0: Test-Manifest-1.23-manpage.patch BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(Test::Harness) +BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Spec) +Requires: perl(Test::Harness) %description -MakeMaker assumes that you want to run all of the .t files in the t/ -directory in ascii-betical order during make test unless you say -otherwise. This leads to some interesting naming schemes for test -files to get them in the desired order. -You can specify any order or any files that you like, though, with the -test directive to WriteMakefile. -Test::Manifest looks in the t/test_manifest file to find out which -tests you want to run and the order in which you want to run them. It -constructs the right value for MakeMaker to do the right thing. +MakeMaker assumes that you want to run all of the .t files in the t/ directory +in ascii-betical order during make test unless you say otherwise. This leads to +some interesting naming schemes for test files to get them in the desired +order. + +You can specify any order or any files that you like, though, with the test +directive to WriteMakefile. +Test::Manifest looks in the t/test_manifest file to find out which tests you +want to run and the order in which you want to run them. It constructs the +right value for MakeMaker to do the right thing. %prep %setup -q -n Test-Manifest-%{version} +# Reinstate manpage, dropped upstream +%patch0 -p1 -b .manpage %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - +rm -rf %{buildroot} +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +%{_fixperms} %{buildroot} %check make test - %clean -rm -rf $RPM_BUILD_ROOT - +rm -rf %{buildroot} %files -%defattr(-,root,root,-) -%doc Changes +%doc Changes LICENSE README %{perl_vendorlib}/Test/ -%{_mandir}/man3/*.3* - +%{_mandir}/man3/Test::Manifest.3pm* %changelog +* Tue Jul 24 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 1.23-1 +- Update to 0.23 + - Fix bug for missing file (should warn and skip, not pass to run_t_files) + - File path and unlink fixes for VMS (CPAN RT#32061) +- Add patch to reinstate manpage, dropped upstream +- BR:/R: perl(File::Spec) and perl(Test::Harness) +- BR: perl(base), perl(Carp), perl(Exporter) and perl(File::Spec::Functions) +- Don't use macros for commands +- Reformat %%description +- Don't need to remove empty directories from the buildroot +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Use %%{_fixperms} macro rather than our own chmod incantation +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit +- Package LICENSE and README files + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.22-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild @@ -76,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.22-8 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Thu May 06 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.22-7 - Mass rebuild with perl-5.12.0 diff --git a/sources b/sources index 6ca4caa..faa74ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -298156323748c74decdca79904ebd881 Test-Manifest-1.22.tar.gz +81c8744987b67d35af05a74a3c7f1742 Test-Manifest-1.23.tar.gz -- 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