[perl-File-Listing] RPM 4.9 dependency filtering added

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

 



commit 2fb9c294d0a1391a4288732e0d62f2abb8686311
Author: Petr Pisar <ppisar@xxxxxxxxxx>
Date:   Mon Jul 25 12:36:58 2011 +0200

    RPM 4.9 dependency filtering added

 perl-File-Listing.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-File-Listing.spec b/perl-File-Listing.spec
index 27dc66b..beea46c 100644
--- a/perl-File-Listing.spec
+++ b/perl-File-Listing.spec
@@ -1,6 +1,6 @@
 Name:           perl-File-Listing
 Version:        6.02
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Parse directory listing
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -24,6 +24,11 @@ Conflicts:      perl-libwww-perl < 6
 # Do not provide private modules
 %filter_from_provides /^perl(File::Listing::/d
 %filter_setup
+# RPM 4.9 style
+# Remove underspecified dependencies
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(HTTP::Date\\)\s*$
+# Do not provide private modules
+%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(File::Listing::
 
 %description
 This module exports a single function called parse_dir(), which can be used
@@ -52,6 +57,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jul 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 6.02-3
+- RPM 4.9 dependency filtering added
+
 * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 6.02-2
 - 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