]> git.pld-linux.org Git - packages/perl-Tie-IxHash.git/commitdiff
- tests added, licence fix, cosmetics
authorankry <ankry@pld-linux.org>
Mon, 3 May 2004 21:33:34 +0000 (21:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Tie-IxHash.spec -> 1.31

perl-Tie-IxHash.spec

index feac7170095a45afa3bf1cdb64235f1507166022..5b4de3dd98ab882e5c1213e91335d68a3b3b48bc 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Tie
 %define        pnam    IxHash
@@ -6,8 +10,8 @@ Summary(pl):   Tie::IxHash - uporz
 Name:          perl-Tie-IxHash
 Version:       1.21
 Release:       11
-# same as Perl
-License:       GPL or Artistic
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 567ddc13081596b52cfe3d82218cb264
@@ -39,10 +43,13 @@ IxHash.
        INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.064346 seconds and 4 git commands to generate.