From 9697eb8872b3bffea46765abe008e4b29cbf3dca Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 12:04:20 +0000 Subject: [PATCH] auto-import changelog data from sane-backends-1.0.9-5.5.src.rpm Fri Jan 02 2004 Tim Waugh 1.0.9-5.5 - Remove %{_libdir}/sane from ld.so.conf on upgrade. --- sane-backends.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/sane-backends.spec b/sane-backends.spec index 8f6d700..6971ee3 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -1,7 +1,7 @@ Summary: Scanner access software. Name: sane-backends Version: 1.0.9 -Release: 5.4 +Release: 5.5 License: GPL (programs), relaxed LGPL (libraries), and public domain (docs) Group: System Environment/Libraries Source0: ftp://ftp.mostang.com/pub/sane/sane-%{version}/%{name}-%{version}.tar.gz @@ -99,7 +99,14 @@ rm -f %{buildroot}%{_bindir}/gamma4scanimage %clean rm -rf %{buildroot} -%post -p /sbin/ldconfig +%post +if grep -q /usr/lib/sane /etc/ld.so.conf; then + FNAME=`mktemp /etc/ld.so.conf.XXXXXX` + grep -v "/usr/lib/sane" /etc/ld.so.conf > ${FNAME} + cat ${FNAME} > /etc/ld.so.conf + rm -f ${FNAME} +fi +/sbin/ldconfig %postun -p /sbin/ldconfig @@ -127,6 +134,9 @@ rm -rf %{buildroot} %{_libdir}/sane/libsane-*.so %changelog +* Fri Jan 2 2004 Tim Waugh 1.0.9-5.5 +- Remove %%{_libdir}/sane from ld.so.conf on upgrade. + * Wed Dec 24 2003 Tim Waugh 1.0.9-5.4 - Don't run ldconfig in %%{_libdir}/sane even in %%install.