Accepting request 1160669 from home:pgajdos

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1160669
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/malcontent?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2024-03-25 15:33:30 +00:00 committed by Git OBS Bridge
parent 9bc71933cb
commit ab428e17d3
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 22 12:18:09 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang macro, [bsc#1212476]
-------------------------------------------------------------------
Thu Oct 12 10:44:27 UTC 2023 - Bjørn <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package malcontent
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -115,6 +115,7 @@ sed -i 's|env python3|python3|' malcontent-client/malcontent-client.py
# wheel is not used in openSUSE, so we simply package this file as an example %%doc file
mv %{buildroot}%{_datadir}/polkit-1/rules.d/com.endlessm.ParentalControls.rules .
%find_lang %{name}
%python3_fix_shebang
%ldconfig_scriptlets -n libmalcontent-0-0
%ldconfig_scriptlets -n libmalcontent-ui-1-1