[perl-Pod-Parser] Increase release to supersede perl sub-package

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

 



commit 66982d319da9b344e98f9f340b0d3c7adf15f2ec
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Jan 16 14:04:13 2013 +0100

    Increase release to supersede perl sub-package

 .rpmlint             |    2 ++
 perl-Pod-Parser.spec |   15 ++++++++++-----
 2 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..ce4fc34
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (perlpod|perlsyn)");
diff --git a/perl-Pod-Parser.spec b/perl-Pod-Parser.spec
index aafea7f..134cc40 100644
--- a/perl-Pod-Parser.spec
+++ b/perl-Pod-Parser.spec
@@ -1,6 +1,6 @@
 Name:           perl-Pod-Parser
 Version:        1.51
-Release:        3%{?dist}
+Release:        247%{?dist}
 Summary:        Basic perl modules for handling Plain Old Documentation (POD)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -17,10 +17,13 @@ BuildRequires:  perl(File::Spec)
 BuildRequires:  perl-Pod-Perldoc
 # Tests:
 BuildRequires:  perl(Test::More) >= 0.6
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 # Pod::Usage execute perldoc from perl-Pod-Perldoc by default
 Requires:       perl-Pod-Perldoc
 
+# Filter under-specified depenedencies
+%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(Pod::Parser\\)$
+
 %description
 This software distribution contains the packages for using Perl5 POD (Plain
 Old Documentation). See the "perlpod" and "perlsyn" manual pages from your
@@ -37,13 +40,12 @@ for F in ANNOUNCE CHANGES README TODO; do
 done
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 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 {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -57,6 +59,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 16 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.51-247
+- Increase release to supersede perl sub-package
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.51-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_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