Move %posttrans commands to %post
- related to rpmlint
This commit is contained in:
parent
a15bf4c1ee
commit
38d8a9c256
15
dconf.spec
15
dconf.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: dconf
|
Name: dconf
|
||||||
Version: 0.14.0
|
Version: 0.14.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: A configuration system
|
Summary: A configuration system
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -64,7 +64,11 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%find_lang dconf
|
%find_lang dconf
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
||||||
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
@ -75,12 +79,6 @@ if [ $1 -eq 0 ] ; then
|
|||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
|
||||||
/sbin/ldconfig
|
|
||||||
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%files -f dconf.lang
|
%files -f dconf.lang
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
@ -116,6 +114,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
|
%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-4
|
||||||
|
- Move %%posttrans commands to %%post (rpmlint related)
|
||||||
|
|
||||||
* Wed Nov 7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-3
|
* Wed Nov 7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-3
|
||||||
- Update License field
|
- Update License field
|
||||||
- Update Source URL
|
- Update Source URL
|
||||||
|
Loading…
Reference in New Issue
Block a user