From d8e9b7a6c13ca20b624ac3e0d4be3317a9ac43b17a64fe3cbf49f314d664f8d4 Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Thu, 19 Oct 2023 13:21:16 +0000 Subject: [PATCH] Accepting request 1118927 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/1118927 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/trytond_product?expand=0&rev=26 --- trytond_product.changes | 6 ++++++ trytond_product.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/trytond_product.changes b/trytond_product.changes index 68766d8..55b69a7 100644 --- a/trytond_product.changes +++ b/trytond_product.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 19 11:39:07 UTC 2023 - Daniel Garcia Moreno + +- Remove %python3_install prefix and root options, that's included in + the macro by default. + ------------------------------------------------------------------- Fri Apr 7 20:03:34 UTC 2023 - Axel Braun diff --git a/trytond_product.spec b/trytond_product.spec index ea0ebdd..e6b0c3b 100644 --- a/trytond_product.spec +++ b/trytond_product.spec @@ -29,6 +29,7 @@ Source: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.g Source2: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz.asc Source3: https://keybase.io/cedrickrier/pgp_keys.asc?fingerprint=7C5A4360F6DF81ABA91FD54D6FF50AFE03489130#/%{name}.keyring BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: python3-setuptools Requires: trytond BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,7 +47,7 @@ Product Template, Product and Product Category. %python3_build %install -%python3_install --prefix=%_prefix --root=%buildroot +%python3_install %fdupes -s %{buildroot} %files