diff --git a/gparted.changes b/gparted.changes index 19ee15f..6b71af6 100644 --- a/gparted.changes +++ b/gparted.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Aug 8 16:15:42 UTC 2022 - Dominique Leuenberger + +- Revert 'removal of upstream pokit action', but rather + BuildRequire pkexec, which is what decides if the file is + installed or not. + ------------------------------------------------------------------- Sat Aug 6 13:00:33 UTC 2022 - Georg Pfuetzenreuter diff --git a/gparted.spec b/gparted.spec index c39c131..e0b8970 100644 --- a/gparted.spec +++ b/gparted.spec @@ -34,6 +34,9 @@ BuildRequires: intltool BuildRequires: perl-XML-Parser BuildRequires: pkgconfig BuildRequires: polkit +%if 0%{?suse_version} > 1500 +BuildRequires: pkexec +%endif BuildRequires: update-desktop-files BuildRequires: xfsprogs-devel BuildRequires: yelp-tools @@ -108,7 +111,7 @@ install -Dm0644 %{SOURCE98} %{buildroot}%{_datadir}/polkit-1/actions/org.opensus %{_datadir}/icons/hicolor/*x*/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/polkit-1/actions/org.opensuse.policykit.%{name}.policy -#{_datadir}/polkit-1/actions/org.gnome.%%{name}.policy +%{_datadir}/polkit-1/actions/org.gnome.%%{name}.policy %{_datadir}/help/C/%{name}/index.docbook %{_datadir}/help/C/%{name}/figures/gparted_window.png %dir %{_datadir}/help/C/%{name}