- Include /usr/include/evince directory (#483306).
- Don't run /sbin/ldconfig in post scriptlet (no shared libs in that pkg). - Let -libs post/postun run /sbin/ldconfig directly.
This commit is contained in:
parent
738f36dcd5
commit
0a288c7247
15
evince.spec
15
evince.spec
@ -6,7 +6,7 @@
|
||||
|
||||
Name: evince
|
||||
Version: 2.27.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Document viewer
|
||||
|
||||
License: GPLv2+ and GFDL
|
||||
@ -162,7 +162,6 @@ fi
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||
gconftool-2 --makefile-install-rule \
|
||||
%{_sysconfdir}/gconf/schemas/evince.schemas \
|
||||
@ -181,8 +180,7 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
|
||||
fi
|
||||
|
||||
%post libs
|
||||
/sbin/ldconfig
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
if [ "$1" -eq 0 ]; then
|
||||
@ -207,8 +205,7 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
|
||||
fi
|
||||
|
||||
%postun libs
|
||||
/sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%files -f evince.lang
|
||||
%defattr(-,root,root,-)
|
||||
@ -242,6 +239,7 @@ fi
|
||||
%{_datadir}/gtk-doc/html/evince/
|
||||
%{_datadir}/gtk-doc/html/libevdocument/
|
||||
%{_datadir}/gtk-doc/html/libevview/
|
||||
%dir %{_includedir}/evince
|
||||
%{_includedir}/evince/2.25
|
||||
%{_libdir}/libevview.so
|
||||
%{_libdir}/libevdocument.so
|
||||
@ -259,6 +257,11 @@ fi
|
||||
%{_libdir}/evince/1/backends/djvudocument.evince-backend
|
||||
|
||||
%changelog
|
||||
* Sat May 23 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 2.27.1-2
|
||||
- Include /usr/include/evince directory (#483306).
|
||||
- Don't run /sbin/ldconfig in post scriptlet (no shared libs in that pkg).
|
||||
- Let -libs post/postun run /sbin/ldconfig directly.
|
||||
|
||||
* Tue May 19 2009 Bastien Nocera <bnocera@redhat.com> 2.27.1-1
|
||||
- Update to 2.27.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user