From 3e71ae1f57c09de4f243435b39604ea6f65381b3ecd241c1cf893248d13698e7 Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Sun, 24 Jan 2021 16:39:54 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/trytond_product?expand=0&rev=12 --- trytond_product.changes | 5 +++++ 1 file changed, 5 insertions(+) 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 From cee6c369308ec45281986abdd79ddb5b0ce1eeea592556b1555e76843b64490e Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Sun, 24 Jan 2021 16:40:30 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/trytond_product?expand=0&rev=13 --- trytond_product.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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