Accepting request 948383 from home:dimstar:Factory

- 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.

OBS-URL: https://build.opensuse.org/request/show/948383
OBS-URL: https://build.opensuse.org/package/show/Base:System/usbview?expand=0&rev=12
This commit is contained in:
Marcus Meissner 2022-01-24 11:40:14 +00:00 committed by Git OBS Bridge
parent b20a2f3a73
commit 91be32a5f0
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jan 24 11:30:54 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <meissner@suse.com>

View File

@ -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