SPECS: perl-Net-DNS.spec - fixed netdns linking (Makefile.PL is bu...

glen glen at pld-linux.org
Fri Nov 18 15:38:48 CET 2005


Author: glen                         Date: Fri Nov 18 14:38:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed netdns linking (Makefile.PL is buggy and doing half work if --xs is specified)

---- Files affected:
SPECS:
   perl-Net-DNS.spec (1.67 -> 1.68) 

---- Diffs:

================================================================
Index: SPECS/perl-Net-DNS.spec
diff -u SPECS/perl-Net-DNS.spec:1.67 SPECS/perl-Net-DNS.spec:1.68
--- SPECS/perl-Net-DNS.spec:1.67	Fri Nov 18 15:26:48 2005
+++ SPECS/perl-Net-DNS.spec	Fri Nov 18 15:38:42 2005
@@ -11,7 +11,7 @@
 Summary(pl):	Net::DNS - interfejs perlowy do resolvera DNS
 Name:		perl-Net-DNS
 Version:	0.53
-Release:	2.1
+Release:	2.2
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
@@ -47,11 +47,11 @@
 
 %build
 %{__perl} Makefile.PL </dev/null \
-	--%{!?with_libresolv:no-}xs \
+	%{!?with_libresolv:--no-xs} \
 	--no-online-tests \
 	INSTALLDIRS=vendor
 %{__make} \
-	%{?with_libresolv: OPTIMIZE="%{rpmcflags}"}
+	%{?with_libresolv:OPTIMIZE="%{rpmcflags}"}
 
 %{?with_tests:%{__make} test}
 
@@ -61,7 +61,7 @@
 
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
-install demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a contrib $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 # get rid of pod documentation
@@ -97,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2005/11/18 14:38:42  glen
+- fixed netdns linking (Makefile.PL is buggy and doing half work if --xs is specified)
+
 Revision 1.67  2005/11/18 14:26:48  glen
 - missing dir, missing br for test
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Net-DNS.spec?r1=1.67&r2=1.68&f=u




More information about the pld-cvs-commit mailing list