rpms/perl-AppConfig/devel perl-AppConfig.spec,1.19,1.20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: kasal

Update of /cvs/extras/rpms/perl-AppConfig/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32125

Modified Files:
	perl-AppConfig.spec 
Log Message:
- use filtering macros


Index: perl-AppConfig.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-AppConfig/devel/perl-AppConfig.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- perl-AppConfig.spec	7 Dec 2009 13:34:32 -0000	1.19
+++ perl-AppConfig.spec	25 Jan 2010 16:56:21 -0000	1.20
@@ -1,6 +1,6 @@
 Name:           perl-AppConfig
 Version:        1.66
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Perl module for reading configuration files
 
 Group:          Development/Libraries
@@ -23,18 +23,16 @@ Vromans' extensive Getopt::Long module. 
 develop the functionality of this package and its features will
 automatically become available through AppConfig.
 
+# filter out the unversioned provide AppConfig::State from Getopt.pm:
+%{?filter_setup:
+%filter_from_provides /^perl(AppConfig::State)$/d
+%?perl_default_filter
+}
+
 
 %prep
 %setup -q -n AppConfig-%{version}
 
-# Provides: exclude perl(AppConfig::State)
-cat <<__EOF__ > %{name}-perl.prov
-#!/bin/sh
-/usr/lib/rpm/perl.prov \$* | grep -v '^perl(AppConfig::State)$'
-__EOF__
-%define __perl_provides %{_builddir}/AppConfig-%{version}/%{name}-perl.prov
-chmod +x %{__perl_provides}
-
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -45,7 +43,7 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
+find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
@@ -65,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jan 25 2010 Stepan Kasal <skasal@xxxxxxxxxx> - 1.66-7
+- use filtering macros
+
 * Mon Dec  7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.66-6
 - rebuild against perl 5.10.1
 

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux