]> git.pld-linux.org Git - packages/perl-Unicode-Map.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-Map.spec -> 1.31

perl-Unicode-Map.spec

index 64d4051111c5cd6e8bfcb5f31d032c5ef3285711..faedad1a2ff551c1905f24cd9e81f56d0255b0fa 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    Map
@@ -6,7 +10,8 @@ Summary(pl):   Modu
 Name:          perl-Unicode-Map
 Version:       0.112
 Release:       2
-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: edaa8fc5ddf0e5d805e274283dd0625d
@@ -28,12 +33,16 @@ odwrotnie.
 %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.126251 seconds and 4 git commands to generate.