From e3398cb584588554c4f3627e1c9056f3b26844b8a831af1adcd85cedd46cfa58 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 26 Sep 2009 08:35:52 +0000 Subject: [PATCH] Accepting request 20556 from home:elvigia:branches:graphics Copy from home:elvigia:branches:graphics/sane-backends via accept of submit request 20556 revision 2. Request was accepted with message: reviewed, accepted OBS-URL: https://build.opensuse.org/request/show/20556 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=8 --- sane-backends.changes | 6 ++++++ sane-backends.spec | 13 ++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/sane-backends.changes b/sane-backends.changes index aa3c210..e12921f 100644 --- a/sane-backends.changes +++ b/sane-backends.changes @@ -7,6 +7,12 @@ Fri Sep 18 12:53:45 CEST 2009 - jsmeix@suse.de which matches to the sacnner models which are supported by our currently provided HPLIP version. +------------------------------------------------------------------- +Thu Sep 17 01:24:39 CEST 2009 - crrodriguez@suse.de + +- use find_lang macro +- run ldconfig correctly + ------------------------------------------------------------------- Thu Aug 13 14:25:00 CEST 2009 - jsmeix@suse.de diff --git a/sane-backends.spec b/sane-backends.spec index 8e7dd88..6289edf 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -596,16 +596,12 @@ install -m644 %{SOURCE101} %{buildroot}%{_sysconfdir}/xinetd.d/ # OpenSLP registration stuff: install -d -m755 %{buildroot}%{_sysconfdir}/slp.reg.d install -m644 %{SOURCE102} %{buildroot}%{_sysconfdir}/slp.reg.d +%find_lang sane-backends +%post -p /sbin/ldconfig -%post -/sbin/ldconfig -# exit successfully in any case: -exit 0 +%postun -p /sbin/ldconfig -%postun -/sbin/ldconfig - -%files +%files -f sane-backends.lang %defattr(-,root,root) %dir %{_sysconfdir}/sane.d %config(noreplace) %{_sysconfdir}/sane.d/*.conf @@ -625,7 +621,6 @@ exit 0 %{_bindir}/sane-find-scanner %{_bindir}/gamma4scanimage %{_bindir}/umax_pp -%{_datadir}/locale/*/LC_MESSAGES/sane-backends.mo %{_datadir}/sane/ %{_libdir}/libsane* %{_libdir}/sane/