Accepting request 993466 from home:crameleon:branches:devel:openSUSE:Factory:Apps

Repair build and add Recommend for pkexec

OBS-URL: https://build.opensuse.org/request/show/993466
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:Apps/gparted?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2022-08-06 13:11:11 +00:00 committed by Git OBS Bridge
parent f2299ca54f
commit 249390e28e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 6 13:00:33 UTC 2022 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- Recommend pkexec
- Remove removal of upstream polkit action, it is not being installed by default
-------------------------------------------------------------------
Tue Mar 29 06:50:58 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -60,6 +60,7 @@ Recommends: ntfsprogs
Recommends: reiserfs
Recommends: udftools
Recommends: xfsprogs
Recommends: pkexec
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
@ -90,8 +91,6 @@ export GKSUPROG="pkexec"
%make_install
install -Dm0644 %{SOURCE98} %{buildroot}%{_datadir}/polkit-1/actions/org.opensuse.policykit.%{name}.policy
# Here we remove upstream policy file since we have our own
rm %{buildroot}%{_datadir}/polkit-1/actions/org.gnome.%{name}.policy
%suse_update_desktop_file %{name}
%fdupes %{buildroot}%{_datadir}