[perl-Kwiki-RecentChanges/f15/master] - Switch to using perl-filters/Abandon filter-requires.sh (Work around broken deps caused by rpm d
corsepiu
corsepiu at fedoraproject.org
Thu Feb 17 05:20:48 UTC 2011
commit 39d84a7f18ba33087f3583d11ea1bea320f53153
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Thu Feb 17 06:20:43 2011 +0100
- Switch to using perl-filters/Abandon filter-requires.sh
(Work around broken deps caused by rpm dep-tracker changes).
Kwiki-RecentChanges-filter-requires.sh | 3 ---
perl-Kwiki-RecentChanges.spec | 18 ++++++++++--------
2 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/perl-Kwiki-RecentChanges.spec b/perl-Kwiki-RecentChanges.spec
index cf769eb..26143ba 100644
--- a/perl-Kwiki-RecentChanges.spec
+++ b/perl-Kwiki-RecentChanges.spec
@@ -1,6 +1,6 @@
Name: perl-Kwiki-RecentChanges
Version: 0.14
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Kwiki Recent Changes Plugin
License: GPL+ or Artistic
Group: Development/Libraries
@@ -14,9 +14,10 @@ BuildRequires: perl(Kwiki) >= 0.37
Requires: perl(Kwiki) >= 0.37
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Source98: Kwiki-RecentChanges-filter-requires.sh
-%global real_perl_requires %{__perl_requires}
-%define __perl_requires %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-requires
+%{?filter_setup:
+%filter_from_requires /^perl(mixin)/d
+%{?perl_default_filter}
+}
%description
Kwiki Recent Changes plugin.
@@ -24,9 +25,6 @@ Kwiki Recent Changes plugin.
%prep
%setup -q -n Kwiki-RecentChanges-%{version}
-sed -e 's,@@PERL_REQ@@,%{real_perl_requires},' %{SOURCE98} > %{__perl_requires}
-chmod +x %{__perl_requires}
-
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -45,7 +43,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
make test
%clean
-rm -rf $RPM_BUILD_ROOT %{__perl_requires}
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
@@ -54,6 +52,10 @@ rm -rf $RPM_BUILD_ROOT %{__perl_requires}
%{_mandir}/man3/*
%changelog
+* Thu Feb 17 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.14-13
+- Switch to using perl-filters/Abandon filter-requires.sh
+ (Work around broken deps caused by rpm dep-tracker changes).
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.14-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the perl-devel
mailing list