Author: cweyl Update of /cvs/extras/rpms/perl-Clone/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3617 Modified Files: perl-Clone.spec Log Message: * Sat May 23 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> - 0.31-2 - filter private Perl solibs from provides - remove some executable bits -- keep rpmlint happy Index: perl-Clone.spec =================================================================== RCS file: /cvs/extras/rpms/perl-Clone/devel/perl-Clone.spec,v retrieving revision 1.13 retrieving revision 1.14 diff -u -p -r1.13 -r1.14 --- perl-Clone.spec 13 Mar 2009 18:51:05 -0000 1.13 +++ perl-Clone.spec 23 May 2009 20:28:09 -0000 1.14 @@ -1,6 +1,6 @@ Name: perl-Clone Version: 0.31 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Recursively copy perl datatypes Group: Development/Libraries License: GPL+ or Artistic @@ -11,6 +11,12 @@ BuildRoot: %{_tmppath}/%{name}-%{ve BuildRequires: perl(ExtUtils::ParseXS), perl(Taint::Runtime), perl(Test::More) 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 This module provides a clone() method which makes recursive copies of nested hash, array, scalar and reference types, @@ -22,6 +28,7 @@ arrays or hashes, pass them in by refere %prep %setup -q -n Clone-%{version} +find . -type f -exec chmod -c -x {} ';' %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" @@ -50,6 +57,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat May 23 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> - 0.31-2 +- filter private Perl solibs from provides +- remove some executable bits -- keep rpmlint happy + * Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.31-1 - update to 0.31 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list