commit 5680436e1c8060689c5a0686948ef0c2f4fa8810 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Jul 31 18:57:13 2013 +0100 Handle filtering of provides/requires from unversioned doc-dirs from F-20 perl-Sub-Exporter.spec | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) --- diff --git a/perl-Sub-Exporter.spec b/perl-Sub-Exporter.spec index a5b050b..8fda30f 100644 --- a/perl-Sub-Exporter.spec +++ b/perl-Sub-Exporter.spec @@ -3,7 +3,7 @@ Name: perl-Sub-Exporter Version: 0.986 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Sophisticated exporter for custom-built routines License: GPL+ or Artistic Group: Development/Libraries @@ -35,8 +35,9 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Package::Generator) # Don't want doc-file provides or dependencies -%global __provides_exclude_from ^%{_datadir}/doc/%{name}-%{version}/ -%global __requires_exclude_from ^%{_datadir}/doc/%{name}-%{version}/ +%global our_docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} +%global __provides_exclude_from ^%{our_docdir}/ +%global __requires_exclude_from ^%{our_docdir}/ %description Sub::Exporter provides a sophisticated alternative to Exporter.pm. It allows @@ -93,6 +94,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Sub::Exporter::Util.3pm* %changelog +* Wed Jul 31 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.986-3 +- Handle filtering of provides/requires from unversioned doc-dirs from F-20 + * Sun Jul 21 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.986-2 - Perl 5.18 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