Fix bad auto-provides of private Perl extension libs
This commit is contained in:
parent
bf06aa8a4d
commit
3628cf06c8
@ -1,6 +1,6 @@
|
||||
Name: perl-JSON-XS
|
||||
Version: 2.2311
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: JSON serialising/deserialising, done correctly and fast
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -14,6 +14,12 @@ BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: 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
|
||||
This module converts Perl data structures to JSON and vice versa. Its
|
||||
primary goal is to be correct and its secondary goal is to be fast. To
|
||||
@ -57,6 +63,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man[13]/*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 26 2009 Chris Weyl <cweyl@alumni.drew.edu> - 2.2311-4
|
||||
- Stripping bad provides of private Perl extension libs
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2311-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user