Author: glen                         Date: Sat Jan 21 11:04:43 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix last commit: alter sources in %prep

---- Files affected:
SPECS:
   perl-Net-DNS.spec (1.70 -> 1.71) 

---- Diffs:

================================================================
Index: SPECS/perl-Net-DNS.spec
diff -u SPECS/perl-Net-DNS.spec:1.70 SPECS/perl-Net-DNS.spec:1.71
--- SPECS/perl-Net-DNS.spec:1.70        Sat Jan 21 05:13:17 2006
+++ SPECS/perl-Net-DNS.spec     Sat Jan 21 12:04:38 2006
@@ -18,6 +18,7 @@
 Source0:       
http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 404797359373d4df1a025458ab1415f7
 BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: sed >= 4.0
 %if %{with tests}
 BuildRequires: perl-Digest-BubbleBabble
 BuildRequires: perl-Digest-HMAC >= 1.00
@@ -45,6 +46,8 @@
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
+%{__sed} -i -e 's#/''usr/local/bin/perl#/''usr/bin/perl#' demo/* contrib/*
+
 %build
 %{__perl} Makefile.PL </dev/null \
        %{!?with_libresolv:--no-xs} \
@@ -63,7 +66,6 @@
        DESTDIR=$RPM_BUILD_ROOT
 cp -a demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a contrib $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#' $(find 
$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} -type f)
 
 # get rid of pod documentation
 %if %{with libresolv}
@@ -98,6 +100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2006/01/21 11:04:38  glen
+- fix last commit: alter sources in %prep
+
 Revision 1.70  2006/01/21 04:13:17  agaran
 - just fixed perl path for examples
 
================================================================

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

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

Reply via email to