]> git.pld-linux.org Git - packages/perl-Net-SNPP.git/commitdiff
- added tests, license fixes
authorankry <ankry@pld-linux.org>
Mon, 26 Apr 2004 23:05:37 +0000 (23:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Net-SNPP.spec -> 1.4

perl-Net-SNPP.spec

index a614d036867866d75ea4dd6ff87ea9d9701c7b14..9c890eb0187bbce79b7443489e12a8b7f9f4adc0 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    tests   # perform "make test" (uses network!)
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Net
 %define        pnam    SNPP
@@ -6,7 +10,8 @@ Summary(pl):   Modu
 Name:          perl-Net-SNPP
 Version:       1.14
 Release:       1
-License:       GPL
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/DREDD/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: e5e36c9c8c83e70c4cf769abd58397a0
@@ -29,10 +34,13 @@ Net::SNPP - interfejs perla do SNPP.
        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.030572 seconds and 4 git commands to generate.