diff --git a/trytond_product.changes b/trytond_product.changes index cf386f6..7b1a8dd 100644 --- a/trytond_product.changes +++ b/trytond_product.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 24 16:39:46 UTC 2021 - Axel Braun + +- Adaption to new python macros + ------------------------------------------------------------------- Sat Apr 4 17:04:38 UTC 2020 - Axel Braun diff --git a/trytond_product.spec b/trytond_product.spec index b00d922..bf67708 100644 --- a/trytond_product.spec +++ b/trytond_product.spec @@ -2,7 +2,7 @@ # spec file for package trytond_product # # Copyright (c) 2020 SUSE LLC -# Copyright (c) 2014-2016 Dr. Axel Braun +# Copyright (c) 2014-2021 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,10 +41,10 @@ Product Template, Product and Product Category. %setup -q %build -python3 setup.py build +%python3_build %install -python3 setup.py install --prefix=%_prefix --root=%buildroot +%python3_install --prefix=%_prefix --root=%buildroot %fdupes -s %{buildroot} %files