]> git.pld-linux.org Git - packages/perl-MP3-Info.git/commitdiff
- tests added, license fix
authorankry <ankry@pld-linux.org>
Fri, 23 Apr 2004 18:22:27 +0000 (18:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-MP3-Info.spec -> 1.24

perl-MP3-Info.spec

index 31ff15ad8c53a7d0a05c3369eb327949c6103dae..1d2300509d092be69ede77759dc61ed1afb0e8bd 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    MP3
 %define                pnam    Info
@@ -21,7 +25,7 @@ Summary(zh_CN):       MP3::Info Perl ģ
 Name:          perl-MP3-Info
 Version:       1.02
 Release:       1
-License:       GPL
+License:       Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 842c7ddf0c160e5c7dd02ae21e13ef9b
@@ -46,6 +50,8 @@ nich.
        INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
This page took 0.066188 seconds and 4 git commands to generate.