Filter out unwanted provides for perl shared objects

epel9
Paul Howarth 16 years ago
parent 6031f98d43
commit 78f0eaeb12

@ -1,7 +1,7 @@
Summary: Simple date object for perl
Name: perl-Date-Simple
Version: 3.03
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Url: http://search.cpan.org/dist/Date-Simple/
@ -10,6 +10,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
# don't "provide" private Perl libs
%global _use_internal_dependency_generator 0
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
%global __find_requires /bin/sh -c "%{__deploop R}"
%description
%{summary}.
@ -53,10 +59,13 @@ BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
%{_mandir}/man3/Date::Simple*.3pm*
%changelog
* Fri Mar 6 2009 Paul Howarth <paul@city-fan.org> - 3.03-3
- Filter out unwanted provides for perl shared objects
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.03-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Jan 22 2009 Paul Howarth <paul@city-fan.org> 3.03-1
* Thu Jan 22 2009 Paul Howarth <paul@city-fan.org> - 3.03-1
- Update to 3.03
- Don't package Artistic license text, not included in upstream release
- New upstream maintainer -> new source URL

Loading…
Cancel
Save