Author: cweyl Update of /cvs/extras/rpms/perl-Class-MOP/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7875 Modified Files: .cvsignore perl-Class-MOP.spec Log Message: * Mon May 04 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.81-2 - fix .so filter to not trash the rtld (and other) symbols - bring files in line with new arch-specific model - merge _docdir filtering with the .so filtering Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-Class-MOP/devel/.cvsignore,v retrieving revision 1.29 retrieving revision 1.30 diff -u -p -r1.29 -r1.30 --- .cvsignore 19 Apr 2009 00:33:57 -0000 1.29 +++ .cvsignore 4 May 2009 15:58:14 -0000 1.30 @@ -1 +1,2 @@ Class-MOP-0.81.tar.gz +Class-MOP-* Index: perl-Class-MOP.spec =================================================================== RCS file: /cvs/extras/rpms/perl-Class-MOP/devel/perl-Class-MOP.spec,v retrieving revision 1.34 retrieving revision 1.35 diff -u -p -r1.34 -r1.35 --- perl-Class-MOP.spec 19 Apr 2009 00:33:58 -0000 1.34 +++ perl-Class-MOP.spec 4 May 2009 15:58:15 -0000 1.35 @@ -1,6 +1,6 @@ Name: perl-Class-MOP Version: 0.81 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Metaobject programming model for Perl License: GPL+ or Artistic Group: Development/Libraries @@ -34,8 +34,9 @@ Requires: perl(Devel::GlobalDestru # 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 +%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 is an attempt to create a meta object protocol for the Perl 5 @@ -51,16 +52,6 @@ love. %prep %setup -q -n Class-MOP-%{version} -# make sure doc/tests don't generate provides -cat << \EOF > %{name}-prov -#!/bin/sh -FOO=`perl -p -e 's|%{buildroot}%{_docdir}/%{name}-%{version}\S+||'` -%{__perl_provides} $FOO -EOF - -%define __perl_provides %{_builddir}/Class-MOP-%{version}/%{name}-prov -chmod +x %{__perl_provides} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -85,12 +76,16 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README examples/ scripts/ t/ -%{perl_vendorarch}/auto/* -%{perl_vendorarch}/Class -%{perl_vendorarch}/metaclass.pm +%{perl_vendorarch}/* +%exclude %dir %{perl_vendorarch}/auto %{_mandir}/man3/* %changelog +* Mon May 04 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.81-2 +- fix .so filter to not trash the rtld (and other) symbols +- bring files in line with new arch-specific model +- merge _docdir filtering with the .so filtering + * Sat Apr 18 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.81-1 - update to 0.81 -- 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