]> git.pld-linux.org Git - packages/perl-Text-CSV_XS.git/commitdiff
- tests added, license fixes, cosmetics
authorankry <ankry@pld-linux.org>
Mon, 3 May 2004 01:33:49 +0000 (01:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Text-CSV_XS.spec -> 1.33

perl-Text-CSV_XS.spec

index 31d41d29f95008dcafbf3573500765463f30482e..cce382dacdc90757d40ca6c6f8c812e47b5cbdc2 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Text
 %define        pnam    CSV_XS
@@ -6,7 +10,8 @@ Summary(pl):   Modu
 Name:          perl-Text-CSV_XS
 Version:       0.23
 Release:       4
-License:       GPL
+# same as perl
+License:       GPL v1+ oe Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 936eca163a09e92353565ad37ee7a4fa
@@ -27,12 +32,16 @@ przecinkiem.
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?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.094812 seconds and 4 git commands to generate.