[Reproducible-commits] [libextutils-depends-perl] 31/187: a sweep through of spec file and MANIFEST(.SKIP) updates

Maria Valentina Marin Rodrigues akira-guest at moszumanska.debian.org
Wed Jan 21 21:16:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

akira-guest pushed a commit to branch pu/reproducible_builds
in repository libextutils-depends-perl.

commit 48b389babaf5b27e416335831bf81ae608c4b475
Author: x-rwmcfa1 <x-rwmcfa1 at localhost>
Date:   Sun Oct 24 16:17:21 2004 +0000

    a sweep through of spec file and MANIFEST(.SKIP) updates
    
    svn path=/trunk/; revision=46
---
 perl-ExtUtils-Depends.spec.in | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/perl-ExtUtils-Depends.spec.in b/perl-ExtUtils-Depends.spec.in
index becec0f..1558add 100644
--- a/perl-ExtUtils-Depends.spec.in
+++ b/perl-ExtUtils-Depends.spec.in
@@ -28,26 +28,25 @@ make OPTIMIZE="$RPM_OPT_FLAGS"
 make test
 
 %install
-rm -rf $RPM_BUILD_ROOT
-eval `perl '-V:installarchlib'`
-mkdir -p $RPM_BUILD_ROOT$installarchlib
 %makeinstall
-rm -f `find $RPM_BUILD_ROOT -type f -name perllocal.pod -o -name .packlist`
+ 
+[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
 
-[ -x %{_libdir}/rpm/brp-compress ] && %{_libdir}/rpm/brp-compress
+find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
 
-find $RPM_BUILD_ROOT%{_prefix} -type f -print | \
-	sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-%{version}-%{release}-filelist
-if [ "$(cat %{name}-%{version}-%{release}-filelist)X" = "X" ] ; then
-    echo "ERROR: EMPTY FILE LIST"
-    exit 1
+find $RPM_BUILD_ROOT/usr -type f -print | \
+	sed "s@^$RPM_BUILD_ROOT@@g" | \
+	grep -v perllocal.pod | \
+	grep -v "\.packlist" > %{name}-%{version}-filelist
+if [ "$(cat %{name}-%{version}-filelist)X" = "X" ] ; then
+	exit -1
 fi
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}-%{version}-%{release}-filelist
-%defattr(-,root,root,-)
+%files -f %{name}-%{version}-filelist
+%defattr(-,root,root)
 
 %changelog
 * @DATE@ gtk-perl-list at gnome.org - @VERSION@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/libextutils-depends-perl.git



More information about the Reproducible-commits mailing list