SPECS: perl.spec - booststrap

glen glen at pld-linux.org
Sun Feb 24 18:12:27 CET 2008


Author: glen                         Date: Sun Feb 24 17:12:26 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- booststrap

---- Files affected:
SPECS:
   perl.spec (1.388 -> 1.389) 

---- Diffs:

================================================================
Index: SPECS/perl.spec
diff -u SPECS/perl.spec:1.388 SPECS/perl.spec:1.389
--- SPECS/perl.spec:1.388	Sun Feb 24 17:46:32 2008
+++ SPECS/perl.spec	Sun Feb 24 18:12:21 2008
@@ -37,7 +37,7 @@
 %define		perl_vendorarch	%{_libdir}/perl5/vendor_perl/%{abi}/%{_target_platform}%{perlthread}
 
 # extract module version from source
-%define		perl_modversion()	%(awk -vp=%1 '$1 == p{m=$1; gsub(/::/, "-", m); printf("perl-%s = %s\\n", m, $3)}END{if (!m) printf("# Error looking up [%s]\\n", p)}'  %{SOURCE3})
+%define		perl_modversion()	%([ -f %{SOURCE3} ] && awk -vp=%1 '$1 == p{m=$1; gsub(/::/, "-", m); printf("perl-%s = %s\\n", m, $3)}END{if (!m) printf("# Error looking up [%s]\\n", p)}' %{SOURCE3} || echo ERROR)
 
 %define		rel	2.2
 Summary:	Practical Extraction and Report Language (Perl)
@@ -1486,6 +1486,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.389  2008-02-24 17:12:21  glen
+- booststrap
+
 Revision 1.388  2008-02-24 16:46:32  glen
 - cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl.spec?r1=1.388&r2=1.389&f=u



More information about the pld-cvs-commit mailing list