From 10b7b61552255acf0eae2adf680fd22d38bf410d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 19 Apr 2010 07:59:01 +0000 Subject: [PATCH] - filter unwanted requires --- perl-App-cpanminus.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/perl-App-cpanminus.spec b/perl-App-cpanminus.spec index dd57c92..fbe8fd3 100644 --- a/perl-App-cpanminus.spec +++ b/perl-App-cpanminus.spec @@ -1,6 +1,6 @@ Name: perl-App-cpanminus Version: 0.9935 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for get, unpack, build and install CPAN modules License: GPL+ or Artistic Group: Development/Libraries @@ -33,6 +33,10 @@ Deps-free, zero-conf, standalone... %prep %setup -q -n App-cpanminus-%{version} +%{?filter_setup: +%filter_from_requires /^perl(App::cpanminus::script)$/d +%?perl_default_filter +} %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -65,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/cpanm %changelog +* Tue Mar 16 2010 Marcela Mašláňová 0.9935-2 +- filter unwanted requires + * Tue Mar 16 2010 Marcela Mašláňová 0.9935-1 - update