From d0cf4cf065993ef024a28a762a434779559f7aa3 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Feb 28 2009 23:22:19 +0000 Subject: Fix bad auto-provides of private Perl extension libs --- diff --git a/.cvsignore b/.cvsignore index 35e9eb6..add0cdf 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,9 @@ Net-SSH2-0.18.tar.gz +Net-SSH2-* +*.gz +*.rpm +*.tar +x86_64 +i386 +clog +.build* diff --git a/perl-Net-SSH2.spec b/perl-Net-SSH2.spec index a1f6889..b1b53b8 100644 --- a/perl-Net-SSH2.spec +++ b/perl-Net-SSH2.spec @@ -1,6 +1,6 @@ Name: perl-Net-SSH2 Version: 0.18 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Support for the SSH 2 protocol via libSSH2 License: GPL+ or Artistic Group: Development/Libraries @@ -24,6 +24,11 @@ BuildRequires: perl(Test::More) #BuildRequires: perl(Socket) +# don't "provide" private Perl libs +%global _use_internal_dependency_generator 0 +%global provfind /bin/sh -c "grep -v '%perl_vendorarch.*\\.so$' | %__find_provides" +%global __find_provides %provfind + %description Net::SSH2 is a perl interface to the libssh2 (http://www.libssh2.org) library. It supports the SSH2 protocol (there is no support for SSH1) with @@ -67,6 +72,9 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Sat Feb 28 2009 Chris Weyl - 0.18-7 +- Stripping bad provides of private Perl extension libs + * Thu Feb 26 2009 Fedora Release Engineering - 0.18-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild