]> git.pld-linux.org Git - packages/perl-Number-Format.git/commitdiff
- added tests, license fixes
authorankry <ankry@pld-linux.org>
Mon, 26 Apr 2004 23:05:38 +0000 (23:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Number-Format.spec -> 1.33

perl-Number-Format.spec

index 703d39622ec97ddb9041aae86e57087519c90fd6..abb68f60571f973907996ca4959b9fa383b2096d 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    tests   # perform "make test" (uses network!)
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Number
 %define        pnam    Format
@@ -6,7 +10,7 @@ Summary(pl):   Number::Format - modu
 Name:          perl-Number-Format
 Version:       1.45
 Release:       2
-License:       GPL
+License:       Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 6b349dd339aac5e3acf233a02262a734
@@ -43,10 +47,13 @@ przez u
        INSTALLDIRS=vendor
 %{__make}
 
+%{?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.138079 seconds and 4 git commands to generate.