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:
parent
b20a2f3a73
commit
91be32a5f0
@ -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>
|
Mon Jan 24 10:48:34 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
@ -28,9 +28,7 @@ Source1: %{name}.desktop
|
|||||||
BuildRequires: ImageMagick
|
BuildRequires: ImageMagick
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
BuildRequires: polkit
|
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
Requires: polkit
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
USBView is a GTK program that displays the topography of the devices
|
USBView is a GTK program that displays the topography of the devices
|
||||||
@ -43,13 +41,10 @@ a device is working properly.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
sh autogen.sh
|
sh autogen.sh
|
||||||
%configure
|
%configure --disable-polkit
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_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
|
%suse_update_desktop_file -i %{name} System Monitor
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user