diff --git a/perl-JSON-XS.spec b/perl-JSON-XS.spec index e600e17..6ce8f2f 100644 --- a/perl-JSON-XS.spec +++ b/perl-JSON-XS.spec @@ -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 - 2.2311-4 +- Stripping bad provides of private Perl extension libs + * Thu Feb 26 2009 Fedora Release Engineering - 2.2311-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild