- filter unwanted requires

This commit is contained in:
Marcela Mašláňová 2010-04-19 07:59:01 +00:00
parent 8a778475ba
commit 10b7b61552

View File

@ -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á <mmaslano@redhat.com> 0.9935-2
- filter unwanted requires
* Tue Mar 16 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.9935-1
- update