]> git.pld-linux.org Git - packages/perl-Unicode-String.git/commitdiff
- tests added, license fix, cosmetics
authorankry <ankry@pld-linux.org>
Mon, 3 May 2004 23:36:50 +0000 (23:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Unicode-String.spec -> 1.31

perl-Unicode-String.spec

index 4f4299c2c5bd868b69ec5ebb00f3be6bb7aecb8e..bbbcf014e0758c396302d8f90dd339760252a487 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Unicode
 %define        pnam    String
@@ -6,7 +10,8 @@ Summary(pl):   Modu
 Name:          perl-Unicode-String
 Version:       2.07
 Release:       1
-License:       GPL
+# 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: d3658d0d1adbf69361771244ac88b237
@@ -29,12 +34,16 @@ Modu
 %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.038916 seconds and 4 git commands to generate.