]> git.pld-linux.org Git - packages/perl-Regexp-Common.git/commitdiff
- version 0.09 perl-Regexp-Common-0_09-1
authorradek <radek@pld-linux.org>
Sun, 11 Aug 2002 18:11:51 +0000 (18:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- conditional tests

Changed files:
    perl-Regexp-Common.spec -> 1.2

perl-Regexp-Common.spec

index ea3b14fe11726f1923a28c7e822000e2b679220b..cd328073d92d64eb4a52f0233f8e1791d57be4c2 100644 (file)
@@ -1,10 +1,13 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Regexp
 %define        pnam    Common
 Summary:       Regexp::Common perl module - commonly requested regular expressions
 Summary(pl):   Modu³ perla Regexp::Common - czêsto u¿ywane wyra¿enia regularne
 Name:          perl-Regexp-Common
-Version:       0.01
+Version:       0.09
 Release:       1
 License:       Artistic
 Group:         Development/Languages/Perl
@@ -40,10 +43,12 @@ cz
  
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+perl -pi -e 's/5\.00473/5.004_73/' lib/Regexp/Common.pm
 
 %build
 perl Makefile.PL
 %{__make}
+%{!?_without_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -57,5 +62,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_sitelib}/Regexp/Common.pm
+%{perl_sitelib}/%{pdir}/*.pm
+%{perl_sitelib}/%{pdir}/%{pnam}
 %{_mandir}/man3/*
This page took 0.029112 seconds and 4 git commands to generate.