Author: hawk                         Date: Tue Oct 18 09:45:59 2005 GMT
Module: SPECS                         Tag: RA-branch
---- Log message:
- merged version 1.23 from HEAD
- release 2 for Ra

---- Files affected:
SPECS:
   perl-Net-IP.spec (1.16.2.3 -> 1.16.2.4) 

---- Diffs:

================================================================
Index: SPECS/perl-Net-IP.spec
diff -u SPECS/perl-Net-IP.spec:1.16.2.3 SPECS/perl-Net-IP.spec:1.16.2.4
--- SPECS/perl-Net-IP.spec:1.16.2.3     Tue Sep  9 13:12:34 2003
+++ SPECS/perl-Net-IP.spec      Tue Oct 18 11:45:53 2005
@@ -1,21 +1,24 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    Net
-%define        pnam    IP
+%define                pdir    Net
+%define                pnam    IP
 Summary:       Net::IP - Perl extension for manipulating IPv4/IPv6 addresses
 Summary(pl):   Net::IP - rozszerzenie Perla służące do manipulacji adresami 
IPv4/IPv6
 Name:          perl-Net-IP
-Version:       1.16
-Release:       1
-License:       GPL
+Version:       1.23
+Release:       2
+# 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
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 4.0.2-104
+# Source0-md5: 8a879191792eaeb9b6f7816a271bde2a
+Patch0:                %{name}-interpreter-path.patch
+BuildRequires: perl-devel >= 1:5.6.1
+BuildRequires: rpm-perlprov >= 4.0.2-112.1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,11 +40,14 @@
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
-%{__perl} Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=site
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -50,7 +56,7 @@
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-       
+
 install ipcount $RPM_BUILD_ROOT%{_bindir}
 install iptab $RPM_BUILD_ROOT%{_bindir}
 
@@ -70,6 +76,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16.2.4  2005/10/18 09:45:53  hawk
+- merged version 1.23 from HEAD
+- release 2 for Ra
+
 Revision 1.16.2.3  2003/09/09 11:12:34  ankry
 - spaces -> tabs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Net-IP.spec?r1=1.16.2.3&r2=1.16.2.4&f=u

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

Reply via email to