[packages/blueman] use macro for compiling glib schemas
atler
atler at pld-linux.org
Sat Mar 30 15:59:22 CET 2024
commit 186a24366aa6eb33ad1b2de70e8578978c08b44c
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Mar 30 15:56:54 2024 +0100
use macro for compiling glib schemas
blueman.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/blueman.spec b/blueman.spec
index ae8b370..2426c8a 100644
--- a/blueman.spec
+++ b/blueman.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/blueman.git/commitdiff/186a24366aa6eb33ad1b2de70e8578978c08b44c
More information about the pld-cvs-commit
mailing list