summaryrefslogtreecommitdiff
path: root/gtk3.spec
diff options
context:
space:
mode:
authorKalev Lember <kalevlember@gmail.com>2014-12-17 14:41:57 +0100
committerKalev Lember <kalevlember@gmail.com>2014-12-17 14:49:50 +0100
commita6ca785c5fd13c5f4f29322dc6165bd24247f9cb (patch)
tree469066840994e17e4644492f9ea625b685620ded /gtk3.spec
parentRun icon cache scriptlets for the -devel subpackage (diff)
downloadgtk3-classic-build-gtk3-a6ca785c5fd13c5f4f29322dc6165bd24247f9cb.tar.gz
gtk3-classic-build-gtk3-a6ca785c5fd13c5f4f29322dc6165bd24247f9cb.tar.bz2
gtk3-classic-build-gtk3-a6ca785c5fd13c5f4f29322dc6165bd24247f9cb.zip
Move the %check section to its regular place
Diffstat (limited to 'gtk3.spec')
-rw-r--r--gtk3.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk3.spec b/gtk3.spec
index 4ccdf6a..d2d0182 100644
--- a/gtk3.spec
+++ b/gtk3.spec
@@ -214,6 +214,9 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/modules
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/immodules
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{bin_version}/theming-engines
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+
%post
/sbin/ldconfig
gtk-query-immodules-3.0-%{__isa_bits} --update-cache
@@ -229,9 +232,6 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
%post immodule-xim
gtk-query-immodules-3.0-%{__isa_bits} --update-cache
-%check
-desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
-
%postun
/sbin/ldconfig
if [ $1 -gt 0 ]; then
bgstack15