From af7ce93a4d102f5ae8e521798726ccb7a749e23c16a226e9ce74a5eba7c81f91 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 27 Oct 2022 10:03:36 +0000 Subject: [PATCH] Accepting request 1031502 from home:dimstar:Factory - Require/BuildRequire /usr/bin/pkexec instead of pkexec: allow to work with it being split from polkit, or integrated. OBS-URL: https://build.opensuse.org/request/show/1031502 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:Apps/gparted?expand=0&rev=30 --- gparted.changes | 6 ++++++ gparted.spec | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gparted.changes b/gparted.changes index a7acaf1..4dad280 100644 --- a/gparted.changes +++ b/gparted.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 27 09:13:52 UTC 2022 - Dominique Leuenberger + +- Require/BuildRequire /usr/bin/pkexec instead of pkexec: allow to + work with it being split from polkit, or integrated. + ------------------------------------------------------------------- Tue Sep 6 13:51:55 UTC 2022 - Dominique Leuenberger diff --git a/gparted.spec b/gparted.spec index b5c6f85..230546f 100644 --- a/gparted.spec +++ b/gparted.spec @@ -34,9 +34,7 @@ BuildRequires: intltool BuildRequires: perl-XML-Parser BuildRequires: pkgconfig BuildRequires: polkit -%if 0%{?suse_version} > 1500 -BuildRequires: pkexec -%endif +BuildRequires: /usr/bin/pkexec BuildRequires: update-desktop-files BuildRequires: xfsprogs-devel BuildRequires: yelp-tools @@ -62,7 +60,7 @@ Recommends: nilfs-utils Recommends: ntfsprogs Recommends: udftools Recommends: xfsprogs -Recommends: pkexec +Requires: /usr/bin/pkexec %if !0%{?is_opensuse} BuildRequires: translation-update-upstream %endif