Author: iarnell Update of /cvs/pkgs/rpms/perl-HTML-Toc/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29089/devel Modified Files: .cvsignore sources Added Files: man3pods.patch perl-HTML-Toc.spec Log Message: initial import man3pods.patch: --- NEW FILE man3pods.patch --- diff -up HTML-Toc-1.11/Makefile.PL.orig HTML-Toc-1.11/Makefile.PL --- HTML-Toc-1.11/Makefile.PL.orig 2009-04-13 09:09:41.000000000 +0200 +++ HTML-Toc-1.11/Makefile.PL 2009-05-04 15:28:30.000000000 +0200 @@ -6,7 +6,7 @@ WriteMakefile( AUTHOR => 'Freddy Vulto (fvulto@xxxxxxxxx)', ABSTRACT => 'Generate, insert and update HTML Table of Contents', PREREQ_PM => {'HTML::Parser' => 0}, - MAN3PODS => {}, +# MAN3PODS => {}, ); package MY; # so that "SUPER" works right --- NEW FILE perl-HTML-Toc.spec --- Name: perl-HTML-Toc Version: 1.11 Release: 1%{?dist} Summary: Generate, insert and update HTML Table of Contents License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTML-Toc/ Source0: http://www.cpan.org/authors/id/F/FV/FVULTO/HTML-Toc-%{version}.tar.gz # don't skip man pages Patch0: man3pods.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTML::Parser) BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Generate, insert and update HTML Table of Contents (ToC). %prep %setup -q -n HTML-Toc-%{version} %patch0 -p 1 find . -type f | xargs chmod 0644 cat << \EOF > %{name}-prov #!/bin/sh %{__perl_provides} $* |\ sed -e '/perl(HTML::_/d' EOF %global __perl_provides %{_builddir}/HTML-Toc-%{version}/%{name}-prov chmod +x %{__perl_provides} %build %{__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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon May 04 2009 Iain Arnell <iarnell@xxxxxxxxx> 1.11-1 - Specfile autogenerated by cpanspec 1.77. - Ensure that man pages are generated - Filter private provides Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-HTML-Toc/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- .cvsignore 4 May 2009 20:52:40 -0000 1.1 +++ .cvsignore 4 May 2009 23:23:49 -0000 1.2 @@ -0,0 +1 @@ +HTML-Toc-1.11.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-HTML-Toc/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- sources 4 May 2009 20:52:40 -0000 1.1 +++ sources 4 May 2009 23:23:50 -0000 1.2 @@ -0,0 +1 @@ +65474641c6294ff64e1d065fe0843d9a HTML-Toc-1.11.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list