[perl-libwww-perl/f13/master] Filter provides/requires

Marcela Mašláňová mmaslano at fedoraproject.org
Mon Sep 27 12:19:55 UTC 2010


commit 8242a8fe85b5732b03ce98a6416363c9b5e73877
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Mon Sep 27 14:18:23 2010 +0200

    Filter provides/requires

 perl-libwww-perl.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/perl-libwww-perl.spec b/perl-libwww-perl.spec
index bc29598..5f1b82c 100644
--- a/perl-libwww-perl.spec
+++ b/perl-libwww-perl.spec
@@ -28,6 +28,13 @@ use and even classes that help you implement simple HTTP servers.
 
 %prep
 %setup -q -n libwww-perl-%{version} 
+%{?filter_setup:
+%filter_from_provides /perl(HTTP::Headers)/d
+%filter_from_requires /perl(HTTP:GHTTP)/d
+%filter_from_requires /perl(Win32)/d
+%filter_from_requires /perl(Authen::NTLM)/d
+%?perl_default_filter
+}
 
 %build
 # Install the aliases by default


More information about the scm-commits mailing list