SPECS: perl-Net-DNS.spec - pass CC - always include Net/DNS/* dirs...

adamg adamg at pld-linux.org
Fri May 4 00:17:08 CEST 2007


Author: adamg                        Date: Thu May  3 22:17:08 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CC
- always include Net/DNS/* dirs - may be needed by Net-DNS-* packages
- release 2

---- Files affected:
SPECS:
   perl-Net-DNS.spec (1.78 -> 1.79) 

---- Diffs:

================================================================
Index: SPECS/perl-Net-DNS.spec
diff -u SPECS/perl-Net-DNS.spec:1.78 SPECS/perl-Net-DNS.spec:1.79
--- SPECS/perl-Net-DNS.spec:1.78	Thu May  3 17:49:20 2007
+++ SPECS/perl-Net-DNS.spec	Fri May  4 00:17:02 2007
@@ -1,6 +1,4 @@
 # $Revision$, $Date$
-# TODO
-# - pass CC
 #
 # Conditional build:
 %bcond_without	tests 		# do not perform "make test"
@@ -13,7 +11,7 @@
 Summary(pl.UTF-8):	Net::DNS - interfejs perlowy do resolvera DNS
 Name:		perl-Net-DNS
 Version:	0.59
-Release:	1
+Release:	2
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
@@ -57,6 +55,7 @@
 	--no-online-tests \
 	INSTALLDIRS=vendor
 %{__make} \
+	CC="%{__cc}" \
 	%{?with_libresolv:OPTIMIZE="%{rpmcflags}"}
 
 %{?with_tests:%{__make} test}
@@ -64,6 +63,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT%{perl_vendorlib}/Net/DNS/Resolver
 
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -83,6 +83,7 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes README TODO
+%{perl_vendorlib}/Net/DNS
 %if %{with libresolv}
 %{perl_vendorarch}/Net/DNS.pm
 %{perl_vendorarch}/Net/DNS
@@ -91,7 +92,6 @@
 %attr(755,root,root) %{perl_vendorarch}/auto/Net/DNS/DNS.so
 %else
 %{perl_vendorlib}/Net/DNS.pm
-%{perl_vendorlib}/Net/DNS
 %endif
 
 %{_mandir}/man3/*
@@ -103,6 +103,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.79  2007/05/03 22:17:02  adamg
+- pass CC
+- always include Net/DNS/* dirs - may be needed by Net-DNS-* packages
+- release 2
+
 Revision 1.78  2007/05/03 15:49:20  adamg
 - updated to 0.59
 
================================================================

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



More information about the pld-cvs-commit mailing list