diff --git a/dconf.spec b/dconf.spec index 0df80f8..5cbc33f 100644 --- a/dconf.spec +++ b/dconf.spec @@ -3,7 +3,7 @@ Name: dconf Version: 0.15.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A configuration system Group: System Environment/Base @@ -29,8 +29,7 @@ backend to the GSettings API in GLib. %package devel Summary: Header files and libraries for dconf development Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: glib2-devel >= %{glib2_version} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel dconf development package. Contains files needed for doing software @@ -39,7 +38,7 @@ development using dconf. %package editor Summary: Configuration editor for dconf Group: Applications/System -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description editor dconf-editor allows you to browse and modify dconf databases. @@ -100,6 +99,18 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_datadir}/gtk-doc/html/dconf %{_datadir}/vala +%post +touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : + gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : + %files editor %{_bindir}/dconf-editor %{_datadir}/applications/dconf-editor.desktop @@ -110,6 +121,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_mandir}/man1/dconf-editor.1.gz %changelog +* Sat Dec 22 2012 Rex Dieter - 0.15.2-2 +- -devel: drop Requires: glib2-devel, already gets pulled in via pkgconfig deps +- -editor: add icon scriptlets +- tighten subpkg deps via %%{_isa} + * Tue Nov 20 2012 Richard Hughes - 0.15.2-1 - Update to 0.15.2