]> git.pld-linux.org Git - packages/perl-Proc-WaitStat.git/commitdiff
- tests added, license fixes, cosmetics
authorankry <ankry@pld-linux.org>
Wed, 5 May 2004 15:54:14 +0000 (15:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Proc-WaitStat.spec -> 1.29

perl-Proc-WaitStat.spec

index 78c126674f58988cbbe598ce4a383392e1e884ab..629fdf15cd0ea5de194edb673dc4068e35c94e4f 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    tests   # perform "make test" - working database connection required
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Proc
 %define        pnam    WaitStat
@@ -6,7 +10,8 @@ Summary(pl):   Modu
 Name:          perl-Proc-WaitStat
 Version:       1.00
 Release:       7
-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: b911bd579b6b142391b21de1efa30c95
@@ -32,10 +37,13 @@ zwracanych przez wait() i podejmowania okre
        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.029439 seconds and 4 git commands to generate.