diff --git a/usbview.changes b/usbview.changes index 1ac7dfa..62c7496 100644 --- a/usbview.changes +++ b/usbview.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jan 24 11:30:54 UTC 2022 - Dominique Leuenberger + +- Drop polkit (Build)Requires: without a polkit pkexec file, we + also do not have to rely on polkit. +- Pass --disable-polkit to configure instead of letting make + install copy a file which we later delete again. + ------------------------------------------------------------------- Mon Jan 24 10:48:34 UTC 2022 - Marcus Meissner diff --git a/usbview.spec b/usbview.spec index 88196d1..74a210a 100644 --- a/usbview.spec +++ b/usbview.spec @@ -28,9 +28,7 @@ Source1: %{name}.desktop BuildRequires: ImageMagick BuildRequires: automake BuildRequires: gtk3-devel -BuildRequires: polkit BuildRequires: update-desktop-files -Requires: polkit %description USBView is a GTK program that displays the topography of the devices @@ -43,13 +41,10 @@ a device is working properly. %build sh autogen.sh -%configure +%configure --disable-polkit %install %make_install -# not needed anymore -rm %buildroot/%{_datadir}/polkit-1/actions/org.freedesktop.pkexec.usbview.policy - %suse_update_desktop_file -i %{name} System Monitor %files