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