[perl-podlators] Do not export under-specified dependencies

Petr Pisar ppisar at fedoraproject.org
Thu Nov 1 15:57:14 UTC 2012


commit c680f3ad42b87972392ae01751448a370400a137
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Nov 1 16:57:03 2012 +0100

    Do not export under-specified dependencies

 perl-podlators.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/perl-podlators.spec b/perl-podlators.spec
index fbabf81..4076b3c 100644
--- a/perl-podlators.spec
+++ b/perl-podlators.spec
@@ -1,6 +1,6 @@
 Name:           perl-podlators
 Version:        2.4.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Format POD source into various output formats
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -26,6 +26,9 @@ Requires:       perl(Pod::Text::Overstrike)
 Requires:       perl(Pod::Text::Termcap)
 Conflicts:      perl < 4:5.16.1-234
 
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Simple\\)$
+
 %description
 This package contains Pod::Man and Pod::Text modules which convert POD input
 to *roff source output, suitable for man pages, or plain text.  It also
@@ -40,7 +43,7 @@ with various capabilities.
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
@@ -55,6 +58,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Nov 01 2012 Petr Pisar <ppisar at redhat.com> - 2.4.2-3
+- Do not export under-specified dependencies
+
 * Wed Oct 31 2012 Petr Pisar <ppisar at redhat.com> - 2.4.2-2
 - Conflict perl-podlators with perl before sub-packaging
 



More information about the perl-devel mailing list