[packages/rpm] - don't replace built-in check-files with our outdated and broken one

baggins baggins at pld-linux.org
Wed Sep 5 12:25:26 CEST 2012


commit 557ab6d2471779d74c448ab54450b1e48d3b24ef
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Sep 5 12:23:35 2012 +0200

    - don't replace built-in check-files with our outdated and broken one

 rpm-check-files | 23 -----------------------
 rpm.spec        |  2 --
 2 files changed, 25 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index f131ab6..6a66eba 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -70,7 +70,6 @@ Source4:	%{name}-find-spec-bcond
 Source5:	%{name}-hrmib-cache
 Source6:	%{name}-groups-po.awk
 Source7:	%{name}-compress-doc
-Source8:	%{name}-check-files
 Source9:	%{name}-php-provides
 Source10:	%{name}-php-requires
 Source11:	%{name}.sysinfo
@@ -913,7 +912,6 @@ install %{SOURCE1} doc/manual/groups
 install %{SOURCE3} $RPM_BUILD_ROOT%{_rpmlibdir}/install-build-tree
 install %{SOURCE4} $RPM_BUILD_ROOT%{_rpmlibdir}/find-spec-bcond
 install %{SOURCE7} $RPM_BUILD_ROOT%{_rpmlibdir}/compress-doc
-install %{SOURCE8} $RPM_BUILD_ROOT%{_rpmlibdir}/check-files
 install %{SOURCE13} $RPM_BUILD_ROOT%{_rpmlibdir}/user_group.sh
 install %{SOURCE16} $RPM_BUILD_ROOT%{_rpmlibdir}/java-find-requires
 install scripts/find-php*	$RPM_BUILD_ROOT%{_rpmlibdir}
diff --git a/rpm-check-files b/rpm-check-files
deleted file mode 100644
index db19836..0000000
--- a/rpm-check-files
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# Gets file list on standard input and RPM_BUILD_ROOT as first parameter
-# and searches omited files (not counting directories).
-# Returns it's output on standard output.
-#
-# filon at pld.org.pl
-
-RPM_BUILD_ROOT=$1
-
-[ ! -d "$RPM_BUILD_ROOT" ] && exit 1
-
-[ "$TMPDIR" ] || TMPDIR=/tmp
-FILES_DISK=`mktemp $TMPDIR/rpmXXXXXX`
-FILES_RPM=`mktemp $TMPDIR/rpmXXXXXX`
-
-find $RPM_BUILD_ROOT -type f | LC_ALL=C sort > $FILES_DISK
-LC_ALL=C sort > $FILES_RPM
-
-diff "$FILES_DISK" "$FILES_RPM" | grep "^< " | cut -c3- | sed -e "s#^$RPM_BUILD_ROOT#   #"
-
-rm -f $FILES_DISK
-rm -f $FILES_RPM
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/557ab6d2471779d74c448ab54450b1e48d3b24ef



More information about the pld-cvs-commit mailing list