File reiser4progs-1.2.1-remove-ldconfig.patch of Package reiser4progs

diff -Ndurp reiser4progs-1.2.1/Makefile.am reiser4progs-1.2.1-remove-ldconfig/Makefile.am
--- reiser4progs-1.2.1/Makefile.am	2017-11-23 12:21:36.000000000 +0200
+++ reiser4progs-1.2.1-remove-ldconfig/Makefile.am	2017-12-07 11:57:25.553262227 +0200
@@ -3,7 +3,7 @@ SUBDIRS         = libaux plugin libreise
 EXTRA_DIST	= AUTHORS COPYING TODO NEWS BUGS README CREDITS THANKS \
 		  reiser4progs.spec.in reiser4progs.spec libreiser4.m4 \
 		  one_touch_install INSTALL_README CUSTOM_INSTALL_README \
-		  depcomp run-ldconfig
+		  depcomp
 
 aclocaldir 	= $(datadir)/aclocal
 aclocal_DATA	= libreiser4.m4
@@ -17,9 +17,3 @@ TAGS:
 
 tags:
 	$(all_sources) | xargs -- ctags -w -o TAGS
-
-install-exec-hook:
-	./run-ldconfig $(libdir)
-
-uninstall-hook:
-	./run-ldconfig $(libdir)
diff -Ndurp reiser4progs-1.2.1/Makefile.in reiser4progs-1.2.1-remove-ldconfig/Makefile.in
--- reiser4progs-1.2.1/Makefile.in	2017-11-28 13:27:15.000000000 +0200
+++ reiser4progs-1.2.1-remove-ldconfig/Makefile.in	2017-12-07 11:59:49.400251592 +0200
@@ -364,7 +364,7 @@ SUBDIRS = libaux plugin libreiser4 libre
 EXTRA_DIST = AUTHORS COPYING TODO NEWS BUGS README CREDITS THANKS \
 		  reiser4progs.spec.in reiser4progs.spec libreiser4.m4 \
 		  one_touch_install INSTALL_README CUSTOM_INSTALL_README \
-		  depcomp run-ldconfig
+		  depcomp
 
 aclocaldir = $(datadir)/aclocal
 aclocal_DATA = libreiser4.m4
@@ -813,7 +813,6 @@ install-dvi-am:
 
 install-exec-am:
 	@$(NORMAL_INSTALL)
-	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
 install-html: install-html-recursive
 
 install-html-am:
@@ -854,7 +853,6 @@ ps-am:
 
 uninstall-am: uninstall-aclocalDATA
 	@$(NORMAL_INSTALL)
-	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 .MAKE: $(am__recursive_targets) all install-am install-exec-am \
 	install-strip uninstall-am
 
@@ -867,14 +865,13 @@ uninstall-am: uninstall-aclocalDATA
 	distdir distuninstallcheck dvi dvi-am html html-am info \
 	info-am install install-aclocalDATA install-am install-data \
 	install-data-am install-dvi install-dvi-am install-exec \
-	install-exec-am install-exec-hook install-html install-html-am \
+	install-exec-am install-html install-html-am \
 	install-info install-info-am install-man install-pdf \
 	install-pdf-am install-ps install-ps-am install-strip \
 	installcheck installcheck-am installdirs installdirs-am \
 	maintainer-clean maintainer-clean-generic mostlyclean \
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-	tags tags-am uninstall uninstall-aclocalDATA uninstall-am \
-	uninstall-hook
+	tags tags-am uninstall uninstall-aclocalDATA uninstall-am
 
 .PRECIOUS: Makefile
 
@@ -889,12 +886,6 @@ TAGS:
 tags:
 	$(all_sources) | xargs -- ctags -w -o TAGS
 
-install-exec-hook:
-	./run-ldconfig $(libdir)
-
-uninstall-hook:
-	./run-ldconfig $(libdir)
-
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
diff -Ndurp reiser4progs-1.2.1/run-ldconfig reiser4progs-1.2.1-remove-ldconfig/run-ldconfig
--- reiser4progs-1.2.1/run-ldconfig	2017-11-23 12:21:36.000000000 +0200
+++ reiser4progs-1.2.1-remove-ldconfig/run-ldconfig	1970-01-01 03:00:00.000000000 +0300
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-ldc="";
-if [ -x /sbin/ldconfig ]; then 
-	ldc="/sbin/ldconfig"; 
-fi
-if test x$ldc = x; then
-	which ldconfig > /dev/null 2>&1;
-	if test $? -eq 0; then 
-		ldc=`which ldconfig`; 
-	fi
-fi
-if test x$ldc = x; then
-	echo ;
-	echo "ldconfig is not available";
-	echo "do not forget to run ldconfig manually";
-	echo ;
-	exit 1;
-fi
-cp /etc/ld.so.conf /tmp/ld.$$.so.conf;
-echo $1 >> /tmp/ld.$$.so.conf;
-echo ;
-echo Running $ldc;
-$ldc -f /tmp/ld.$$.so.conf;
-echo ;
-rm /tmp/ld.$$.so.conf;