2 Commits

2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 23 16:29:05 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Drop obsolete update-desktop-files BuildRequires and macro.
- Use make_build macro.
-------------------------------------------------------------------
Tue Nov 28 11:53:33 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package polkit-gnome
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,11 +27,11 @@ Source0: http://download.gnome.org/sources/polkit-gnome/%{version}/%{name
Source1: polkit-gnome-authentication-agent-1.desktop.in
# PATCH-FIX-UPSTREAM polkit-gnome-alternative-button-order-kde.patch bnc#538897 l.lunak@suse.cz
Patch3: polkit-gnome-alternative-button-order-kde.patch
BuildRequires: gobject-introspection-devel
BuildRequires: gtk3-devel
BuildRequires: intltool
BuildRequires: polkit-devel >= 0.97
BuildRequires: update-desktop-files
Supplements: packageand(polkit:gnome-session)
Supplements: packageand(polkit:lxsession)
Supplements: packageand(polkit:xfce4-session)
@@ -48,13 +48,12 @@ that matches the look and feel of the GNOME desktop.
%build
%configure \
--disable-static
make %{?_smp_mflags}
%make_build
%install
%make_install
mkdir -p %{buildroot}%{_sysconfdir}/xdg/autostart
sed -e "s,@LIBDIR@,%{_libexecdir},g" < %{SOURCE1} > %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
%suse_update_desktop_file polkit-gnome-authentication-agent-1
%find_lang polkit-gnome-1
%files