]> git.pld-linux.org Git - packages/perl-Module-Reload.git/commitdiff
- tests added, license fix
authorankry <ankry@pld-linux.org>
Sat, 24 Apr 2004 13:44:10 +0000 (13:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Module-Reload.spec -> 1.29

perl-Module-Reload.spec

index cf4899b238a963de2da373d47e1f9dce9e6dc857..31953d7848822f8a31f5421a80073fdfcf3e6823 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Module
 %define        pnam    Reload
@@ -6,7 +10,7 @@ Summary(pl):   Modu
 Name:          perl-Module-Reload
 Version:       1.07
 Release:       9
-License:       GPL
+License:       Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 17fa42608052a79bf2f0c24221bd8c31
@@ -30,10 +34,13 @@ zaktualizowane na dysku.
        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.108142 seconds and 4 git commands to generate.