[perl-File-ShareDir] Filter macro correctly, when more requires would be (un)versioned.
Marcela Mašláňová
mmaslano at fedoraproject.org
Wed Jun 29 07:28:22 UTC 2011
commit 3966db84188c8279342382185410e487d1e86b2e
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Wed Jun 29 09:27:33 2011 +0200
Filter macro correctly, when more requires would be (un)versioned.
perl-File-ShareDir.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/perl-File-ShareDir.spec b/perl-File-ShareDir.spec
index adc3e0b..34ca511 100644
--- a/perl-File-ShareDir.spec
+++ b/perl-File-ShareDir.spec
@@ -15,7 +15,7 @@ Requires: perl(Class::Inspector) >= 1.12
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
-%global __requires_exclude perl\\(Class::Inspector\\)
+%global __requires_exclude %{?__requires_exclude}|perl\\(Class::Inspector\\)$
%description
The intent of File::ShareDir is to provide a companion to Class::Inspector
More information about the perl-devel
mailing list