]> git.pld-linux.org Git - packages/perl-Net-Pcap.git/commitdiff
- tests added (but fail: disable them ? )
authorankry <ankry@pld-linux.org>
Mon, 26 Apr 2004 18:02:49 +0000 (18:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Net-Pcap.spec -> 1.19

perl-Net-Pcap.spec

index d43bff068ba23d35e8326236de4623c99b23938a..3163d6ba45caefb5834f09e0b5a376bcf7098e1c 100644 (file)
@@ -1,13 +1,18 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define         pdir Net
 %define         pnam Pcap
 
 Summary:       Net::Pcap - Perl binding to the LBL pcap(3) packet capture library
-Summary(pl):   Net::Pcap - Dowi±zanie Perla do biblioteki przechwytywania pakietów LBL pcap(3)
+Summary(pl):   Net::Pcap - dowi±zanie Perla do biblioteki przechwytywania pakietów LBL pcap(3)
 Name:          perl-%{pdir}-%{pnam}
 Version:       0.04
 Release:       5
-License:       GPL
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 3456934b09598122fea6a553cdf42a91
@@ -21,7 +26,7 @@ The Net::Pcap module is a Perl binding to the LBL pcap(3) packet
 capture library.
 
 %description -l pl
-Modu³ Net::Pcap jest dowi±zaniem perla do biblioteki przechwytywania
+Modu³ Net::Pcap jest dowi±zaniem Perla do biblioteki przechwytywania
 pakietów LBL pcap(3).
 
 %prep
@@ -32,10 +37,13 @@ pakiet
        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
 find $RPM_BUILD_ROOT -name .packlist | xargs -r rm -f
 
 %clean
This page took 0.075258 seconds and 4 git commands to generate.