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/