[perl-File-ShareDir] fix macros

Marcela Mašláňová mmaslano at fedoraproject.org
Tue Jun 28 19:16:50 UTC 2011


commit b1e8cbd5bafe32109d9a22c19def7d1594418507
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Tue Jun 28 21:16:26 2011 +0200

    fix macros

 perl-File-ShareDir.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/perl-File-ShareDir.spec b/perl-File-ShareDir.spec
index c48b2e1..adc3e0b 100644
--- a/perl-File-ShareDir.spec
+++ b/perl-File-ShareDir.spec
@@ -14,8 +14,8 @@ BuildRequires:  perl(Test::More) >= 0.47
 Requires:       perl(Class::Inspector) >= 1.12
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-%filter_from_requires /^perl(Class::Inspector)$/d
-%filter_setup
+%{?perl_default_filter}
+%global __requires_exclude perl\\(Class::Inspector\\)
 
 %description
 The intent of File::ShareDir is to provide a companion to Class::Inspector
@@ -59,6 +59,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Tue Jun 28 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.03-3
 - Perl mass rebuild
+- fix macros
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.03-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list