]> git.pld-linux.org Git - packages/perl-String-CRC.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-CRC.spec -> 1.28

perl-String-CRC.spec

index 11561c116fd7af7c02e6d13cd1ec90d175246c37..48123b9c264591755fb44067eb9b5a42e339dac8 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    CRC
@@ -6,7 +10,7 @@ Summary(pl):   Modu
 Name:          perl-String-CRC
 Version:       1.0
 Release:       8
-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: ba07f022b5abf869a7b73f98f8abcf9f
@@ -26,12 +30,16 @@ String::CRC - oblicza CRC r
 %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.037598 seconds and 4 git commands to generate.