Accepting request 1118918 from home:dgarcia:fix-shebang

Remove %python3_install prefix and root options, that's included in the macro by default.

OBS-URL: https://build.opensuse.org/request/show/1118918
OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/trytond?expand=0&rev=190
This commit is contained in:
Axel Braun 2023-10-19 13:18:46 +00:00 committed by Git OBS Bridge
parent 9eb36754ba
commit 516115e6e6
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 19 10:52:41 UTC 2023 - Daniel Garcia Moreno <daniel.garcia@suse.com>
- Remove %python3_install prefix and root options, that's included in
the macro by default.
-------------------------------------------------------------------
Sun Oct 8 07:10:51 UTC 2023 - Axel Braun <axel.braun@gmx.de>

View File

@ -36,6 +36,7 @@ Source7: openSUSE-trytond-setup
Source20: %{name}.service
Patch0: Update_changed_fields_6.0.diff
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Werkzeug
BuildRequires: python3-bcrypt
BuildRequires: python3-lxml >= 2.0
@ -91,7 +92,7 @@ cp %{SOURCE1} .
%python3_build
%install
%python3_install --prefix=%{_prefix} --root=%{buildroot}
%python3_install
# only for systemd
mkdir -p %{buildroot}%{_sysconfdir}/%{base_name}