auto-import changelog data from sane-backends-1.0.9-5.5.src.rpm
Fri Jan 02 2004 Tim Waugh <twaugh@redhat.com> 1.0.9-5.5 - Remove %{_libdir}/sane from ld.so.conf on upgrade.
This commit is contained in:
parent
cb0dee0a5f
commit
9697eb8872
@ -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 <twaugh@redhat.com> 1.0.9-5.5
|
||||
- Remove %%{_libdir}/sane from ld.so.conf on upgrade.
|
||||
|
||||
* Wed Dec 24 2003 Tim Waugh <twaugh@redhat.com> 1.0.9-5.4
|
||||
- Don't run ldconfig in %%{_libdir}/sane even in %%install.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user