Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trytond for openSUSE:Factory checked in at 2021-02-01 13:27:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond (Old) and /work/SRC/openSUSE:Factory/.trytond.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "trytond" Mon Feb 1 13:27:45 2021 rev:53 rq:868165 version:5.0.31 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond/trytond.changes 2021-01-04 19:10:30.759458626 +0100 +++ /work/SRC/openSUSE:Factory/.trytond.new.28504/trytond.changes 2021-02-01 13:29:42.422243441 +0100 @@ -1,0 +2,5 @@ +Sun Jan 24 16:24:17 UTC 2021 - Axel Braun <axel.braun@gmx.de> + +- Adaption to new systemd and python macros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond.spec ++++++ --- /var/tmp/diff_new_pack.bYNIbn/_old 2021-02-01 13:29:43.154244580 +0100 +++ /var/tmp/diff_new_pack.bYNIbn/_new 2021-02-01 13:29:43.158244586 +0100 @@ -2,7 +2,7 @@ # spec file for package trytond # # Copyright (c) 2021 SUSE LLC -# Copyright (c) 2015 2017 Dr. Axel Braun +# Copyright (c) 2015-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 @@ -43,7 +43,7 @@ BuildRequires: python3-python-sql BuildRequires: python3-setuptools BuildRequires: python3-wrapt -BuildRequires: systemd-rpm-macros + Requires: html2text Requires: libreoffice-pyuno Requires: postgresql-server @@ -65,7 +65,7 @@ Requires(pre): %{_sbindir}/groupadd Requires(pre): %{_sbindir}/useradd BuildArch: noarch -%{?systemd_requires} +%{?systemd_ordering} %description This package contains the server of the Tryton application platform, @@ -82,10 +82,11 @@ %patch1 -p1 %build -python3 setup.py build +%python3_build %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python3_install --prefix=%{_prefix} --root=%{buildroot} + # only for systemd mkdir -p %{buildroot}%{_sysconfdir}/%{base_name} install -p -m 640 %{SOURCE3} %{buildroot}%{_sysconfdir}/%{base_name}/%{name}.conf