Author: radek                        Date: Sat Mar 29 19:10:44 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 1, patched for libnet 1.1

---- Files affected:
SPECS:
   perl-Net-Arping.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-Net-Arping.spec
diff -u SPECS/perl-Net-Arping.spec:1.1 SPECS/perl-Net-Arping.spec:1.2
--- SPECS/perl-Net-Arping.spec:1.1      Sat Mar 29 13:42:55 2008
+++ SPECS/perl-Net-Arping.spec  Sat Mar 29 20:10:38 2008
@@ -1,9 +1,4 @@
 # $Revision$, $Date$
-#
-# Conditional build:
-%bcond_without autodeps        # don't BR packages needed only for resolving 
deps
-%bcond_without tests           # do not perform "make test"
-#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Net
 %define        pnam    Arping
@@ -11,19 +6,18 @@
 Summary(pl.UTF-8):     Net::Arping - Pingowanie zdalnego hosta poprzez pakiety 
ARP
 Name:          perl-Net-Arping
 Version:       0.02
-Release:       0.1
+Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: c4d60bb746995f5c4ec827f6fc865ed8
+Patch0:                %{name}-libnet11.patch
 URL:           http://search.cpan.org/dist/Net-Arping/Arping.pm
 BuildRequires: libnet-devel
 BuildRequires: libpcap-devel
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{with autodeps} || %{with tests}
-%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,6 +30,7 @@
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
@@ -43,7 +38,7 @@
 %{__make} \
        OPTIMIZE="%{rpmcflags}"
 
-%{?with_tests:%{__make} test}
+# "make test" removed -- requires root privileges
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -59,7 +54,6 @@
 %doc Changes README
 %{perl_vendorarch}/Net/*.pm
 %dir %{perl_vendorarch}/auto/Net/Arping
-%{perl_vendorarch}/auto/Net/Arping/*.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/Net/Arping/*.so
 %{_mandir}/man3/*
 
@@ -69,6 +63,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008-03-29 19:10:38  radek
+- release 1, patched for libnet 1.1
+
 Revision 1.1  2008-03-29 12:42:55  paszczus
 - spec created by pldcpan.pl
 - release 0.1, failed on make
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-Net-Arping.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to