From 516115e6e63eff6a5a43a7ed4d53e882269a384d20f83b2fd2d91b0a6e1e069b Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Thu, 19 Oct 2023 13:18:46 +0000 Subject: [PATCH] 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 --- trytond.changes | 6 ++++++ trytond.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/trytond.changes b/trytond.changes index 8e6d99e..f1ce4ba 100644 --- a/trytond.changes +++ b/trytond.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 19 10:52:41 UTC 2023 - Daniel Garcia Moreno + +- 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 diff --git a/trytond.spec b/trytond.spec index d3a6abb..f46a43b 100644 --- a/trytond.spec +++ b/trytond.spec @@ -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}