[perl-File-ShareDir-PAR] RPM 4.9 dependency filtering added

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

 



commit f313a5ad6d27b021e503905a649f45bf962c9577
Author: Petr Pisar <ppisar@xxxxxxxxxx>
Date:   Mon Jul 25 12:48:10 2011 +0200

    RPM 4.9 dependency filtering added

 perl-File-ShareDir-PAR.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-File-ShareDir-PAR.spec b/perl-File-ShareDir-PAR.spec
index a79d081..7f432f6 100644
--- a/perl-File-ShareDir-PAR.spec
+++ b/perl-File-ShareDir-PAR.spec
@@ -1,6 +1,6 @@
 Name:           perl-File-ShareDir-PAR
 Version:        0.06
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        File::ShareDir with PAR support
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -17,8 +17,11 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 Requires:       perl(File::ShareDir) >= 1.02
 Requires:       perl(PAR) >= 0.989
 
+# RPM 4.8 style:
 %filter_from_requires /perl(File::ShareDir)$/d
 %filter_setup
+# RPM 4.9 style
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl\\(File::ShareDir\\)$
 
 %description
 File::ShareDir::PAR provides the same functionality as File::ShareDir but
@@ -56,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jul 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 0.06-6
+- RPM 4.9 dependency filtering added
+
 * Tue Jul 19 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.06-5
 - Perl 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