]> git.pld-linux.org Git - packages/perl-Net-DNS.git/commitdiff
- fix last commit: alter sources in %prep auto/th/perl-Net-DNS-0_53-3
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 21 Jan 2006 11:04:38 +0000 (11:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Net-DNS.spec -> 1.71

perl-Net-DNS.spec

index 4224912c168861fb87c1d92b5de2663d9e4739be..41f470ca30ce2ed82183d02dd4b510832c0ceafa 100644 (file)
@@ -17,6 +17,7 @@ Group:                Development/Languages/Perl
 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
@@ -44,6 +45,8 @@ Perla.
 %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} \
@@ -62,7 +65,6 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
        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}
This page took 0.036655 seconds and 4 git commands to generate.