From: ankry Date: Sat, 24 Apr 2004 13:44:10 +0000 (+0000) Subject: - tests added, license fix X-Git-Tag: AC-STABLE~2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=f4c0d7844a6165523dd2864ce0c6752ee6ab748a;p=packages%2Fperl-Module-Reload.git - tests added, license fix Changed files: perl-Module-Reload.spec -> 1.29 --- diff --git a/perl-Module-Reload.spec b/perl-Module-Reload.spec index cf4899b..31953d7 100644 --- a/perl-Module-Reload.spec +++ b/perl-Module-Reload.spec @@ -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