]> git.pld-linux.org Git - packages/blueman.git/commitdiff
use macro for compiling glib schemas auto/th/blueman-2.4-1
authorJan Palus <atler@pld-linux.org>
Sat, 30 Mar 2024 14:56:54 +0000 (15:56 +0100)
committerJan Palus <atler@pld-linux.org>
Sat, 30 Mar 2024 14:56:54 +0000 (15:56 +0100)
blueman.spec

index ae8b3707cc6156ab08319b8fdf63ea64b336562d..2426c8ae1f5d18bf1b493cd1d96ef364c4119bf4 100644 (file)
@@ -35,6 +35,7 @@ BuildRequires:        systemd-units
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 Requires(post,postun): desktop-file-utils
+Requires(post,postun): glib2 >= 1:2.32
 Requires(post,postun): gtk-update-icon-cache
 Requires(post,postun): hicolor-icon-theme
 Requires(post,preun,postun):   systemd-units >= 1:250.1
@@ -186,7 +187,7 @@ rm -rf $RPM_BUILD_ROOT
 %post
 %update_icon_cache hicolor
 %update_desktop_database_post
-glib-compile-schemas %{_datadir}/glib-2.0/schemas
+%glib_compile_schemas
 %service %{name}-mechanism restart
 %systemd_post %{name}-mechanism.service
 %systemd_user_post blueman-applet.service blueman-manager.service
@@ -201,7 +202,7 @@ fi
 %postun
 %update_icon_cache hicolor
 %update_desktop_database_postun
-glib-compile-schemas %{_datadir}/glib-2.0/schemas
+%glib_compile_schemas
 %systemd_reload
 
 %files -f %{name}.lang
This page took 0.238107 seconds and 4 git commands to generate.