Do not filter unversion BSD::Resource.
There are needed both, because versioned contain string, which rpm can't resolve well. Some packages might need BSD::Resource > 1.24, which wouldn't be satisfied by 1.2420.
This commit is contained in:
parent
0312047b90
commit
b336057361
@ -1,7 +1,7 @@
|
||||
Name: perl-BSD-Resource
|
||||
Version: 1.29.04
|
||||
%define module_version 1.2904
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: BSD process resource limit and priority functions
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -17,10 +17,6 @@ BuildRequires: perl(Test::Pod::Coverage)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Provides: perl(BSD::Resource)
|
||||
|
||||
%{?filter_from_provides: %filter_from_provides /perl(BSD::Resource)$/d; }
|
||||
%{?perl_default_filter}
|
||||
# RPM 4.9 style
|
||||
%global __provides_exclude perl\\(BSD::Resource\\)$
|
||||
|
||||
%description
|
||||
A module providing an interface for testing and setting process limits
|
||||
@ -58,7 +54,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 10 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.29.04-7
|
||||
* Wed Jan 10 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.29.04-8
|
||||
- add filter for unneeded provides
|
||||
|
||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.29.04-6
|
||||
|
||||
Loading…
Reference in New Issue
Block a user