]> git.pld-linux.org Git - packages/perl-String-CRC32.git/commitdiff
- tests added, license fix
authorankry <ankry@pld-linux.org>
Sat, 1 May 2004 00:35:18 +0000 (00:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-String-CRC32.spec -> 1.30

perl-String-CRC32.spec

index 1460cadfd1fec8bc023d9702856a567d47fb00ee..423fb8d9af772738add88e6edc3dea3a56480720 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    String
 %define        pnam    CRC32
@@ -6,7 +10,7 @@ Summary(pl):   Modu
 Name:          perl-String-CRC32
 Version:       1.2
 Release:       7
-License:       GPL
+License:       Public Domain
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 94b13443eac7241a323a876da95ac1c0
@@ -26,12 +30,16 @@ String::CRC32 - oblicza CRC d
 %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.081531 seconds and 4 git commands to generate.