rpms/perl-XML-Grove/devel perl-XML-Grove.spec,1.22,1.23

Štěpán Kasal kasal at fedoraproject.org
Wed Oct 15 16:26:28 UTC 2008


Author: kasal

Update of /cvs/extras/rpms/perl-XML-Grove/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15809

Modified Files:
	perl-XML-Grove.spec 
Log Message:
- filter out bogus and redundant reuires
- filter out bogus and redundant reuires
(both by Paul Howarth)


Index: perl-XML-Grove.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-XML-Grove/devel/perl-XML-Grove.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- perl-XML-Grove.spec	14 Oct 2008 18:18:33 -0000	1.22
+++ perl-XML-Grove.spec	15 Oct 2008 16:25:58 -0000	1.23
@@ -28,6 +28,10 @@
 the objects using normal Perl syntax.
 
 
+# Remove bogus and redundant provides
+%global provfilt /bin/sh -c "%{__perl_provides} | grep -Evx 'perl[(](My(HTML|Visitor)|XML::Grove)[)]'"
+%define __perl_provides %{provfilt}
+
 %prep
 %setup -q -n XML-Grove-%{version}
 %patch1 -p1 -b .test
@@ -41,7 +45,7 @@
 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 -type d -depth -exec rmdir {} 2>/dev/null ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
@@ -63,7 +67,9 @@
 %changelog
 * Tue Oct 14 2008 Stepan Kasal <skasal at redhat.com> - 0.46alpha-35
 - re-enable check, it seems to work
-- improved comment to explain the non-standard Version tag
+- improved the explanation of the non-standard Version tag (Patrice Dumas)
+- filter out bogus and redundant reuires (Paul Howarth)
+- move -depth to the right place on find cmd line (Paul Howarth)
 
 * Tue Oct 14 2008 Stepan Kasal <skasal at redhat.com> - 0.46alpha-34
 - cleaned up universe vs. tab conflict




More information about the fedora-extras-commits mailing list