>From 8299ccba267aea405c7cb702117fdfc1bf882891 Mon Sep 17 00:00:00 2001
From: Chris Weyl <[email protected]>
Date: Sat, 28 Feb 2009 19:56:45 +0000
Subject: - strip private Perl libs from autoprov output


diff --git a/perl-PerlIO-gzip.spec b/perl-PerlIO-gzip.spec
index 7e0d771..9b3afe1 100644
--- a/perl-PerlIO-gzip.spec
+++ b/perl-PerlIO-gzip.spec
@@ -1,6 +1,6 @@
 Name:           perl-PerlIO-gzip
 Version:        0.18
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Perl extension to provide a PerlIO layer to gzip/gunzip
 # See Makefile.PL, gzip.xs, etc.
 License:        GPL+ or Artistic
@@ -20,6 +20,11 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 # test
 BuildRequires:  perl(Test::More)
 
+# don't provide the private XS.so() lib
+%global _use_internal_dependency_generator 0
+%global provfind /bin/sh -c "grep -v '%perl_vendorarch.*\\.so$' | 
%__find_provides"
+%global __find_provides %provfind
+
 %description
 PerlIO::gzip provides a PerlIO layer that manipulates files in the format
 used by the gzip program. Compression and decompression are implemented.
@@ -62,6 +67,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sat Feb 28 2009 Chris Weyl <[email protected]> 0.18-3
+- strip private Perl libs from autoprov output
+
 * Thu Feb 26 2009 Fedora Release Engineering <[email protected]> 
- 0.18-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-PerlIO-gzip.git/commit/?h=epel7&id=8299ccba267aea405c7cb702117fdfc1bf882891
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to