]> git.pld-linux.org Git - packages/perl-Module-Reload.git/blobdiff - perl-Module-Reload.spec
- tests added, license fix
[packages/perl-Module-Reload.git] / 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.342121 seconds and 4 git commands to generate.