rpms/perl-JSON-XS/devel perl-JSON-XS.spec,1.14,1.15

Chris Weyl cweyl at fedoraproject.org
Fri Mar 27 05:04:04 UTC 2009


Author: cweyl

Update of /cvs/extras/rpms/perl-JSON-XS/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv480

Modified Files:
	perl-JSON-XS.spec 
Log Message:
Fix bad auto-provides of private Perl extension libs


Index: perl-JSON-XS.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-JSON-XS/devel/perl-JSON-XS.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- perl-JSON-XS.spec	26 Feb 2009 20:31:13 -0000	1.14
+++ perl-JSON-XS.spec	27 Mar 2009 05:03:34 -0000	1.15
@@ -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(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 @@
 %{_mandir}/man[13]/*
 
 %changelog
+* Thu Mar 26 2009 Chris Weyl <cweyl at alumni.drew.edu> - 2.2311-4
+- Stripping bad provides of private Perl extension libs
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2311-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list