rpms/perl-IO-Tty/devel perl-IO-Tty.spec,1.20,1.21

Chris Weyl cweyl at fedoraproject.org
Sun May 17 06:29:03 UTC 2009


Author: cweyl

Update of /cvs/extras/rpms/perl-IO-Tty/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11544

Modified Files:
	perl-IO-Tty.spec 
Log Message:
* Sat May 16 2009 Chris Weyl <cweyl at alumni.drew.edu> - 1.08-2
- filter out private Perl .so provides



Index: perl-IO-Tty.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-IO-Tty/devel/perl-IO-Tty.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- perl-IO-Tty.spec	25 Feb 2009 21:57:36 -0000	1.20
+++ perl-IO-Tty.spec	17 May 2009 06:28:32 -0000	1.21
@@ -1,6 +1,6 @@
 Name:           perl-IO-Tty
 Version:        1.08
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl interface to pseudo tty's
 
 License:        GPL+ or Artistic
@@ -12,6 +12,12 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+# 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 '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
+%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}"
+
 %description
 IO::Tty and IO::Pty provide an interface to pseudo tty's.
 
@@ -51,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat May 16 2009 Chris Weyl <cweyl at alumni.drew.edu> - 1.08-2
+- filter out private Perl .so provides
+
 * Wed Feb 25 2009 Paul Howarth <paul at city-fan.org> - 1.08-1
 - Update to 1.08 (add support for posix_openpt())
 - Fix argument order for find with -depth




More information about the scm-commits mailing list