forked from pool/trytond
- Adaption to new systemd and python macros
OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/trytond?expand=0&rev=110
This commit is contained in:
parent
d2c1faa7bc
commit
39207a21ce
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 24 16:24:17 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
- Adaption to new systemd and python macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 1 18:41:53 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
Fri Jan 1 18:41:53 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ BuildRequires: python3-pydot3
|
|||||||
BuildRequires: python3-python-sql
|
BuildRequires: python3-python-sql
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-wrapt
|
BuildRequires: python3-wrapt
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
Requires: html2text
|
Requires: html2text
|
||||||
Requires: libreoffice-pyuno
|
Requires: libreoffice-pyuno
|
||||||
Requires: postgresql-server
|
Requires: postgresql-server
|
||||||
@ -65,7 +65,7 @@ Requires: unoconv
|
|||||||
Requires(pre): %{_sbindir}/groupadd
|
Requires(pre): %{_sbindir}/groupadd
|
||||||
Requires(pre): %{_sbindir}/useradd
|
Requires(pre): %{_sbindir}/useradd
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%{?systemd_requires}
|
%{?systemd_ordering}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the server of the Tryton application platform,
|
This package contains the server of the Tryton application platform,
|
||||||
@ -82,10 +82,11 @@ cp %{SOURCE2} .
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python3 setup.py build
|
%python3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python3_install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
# only for systemd
|
# only for systemd
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/%{base_name}
|
mkdir -p %{buildroot}%{_sysconfdir}/%{base_name}
|
||||||
install -p -m 640 %{SOURCE3} %{buildroot}%{_sysconfdir}/%{base_name}/%{name}.conf
|
install -p -m 640 %{SOURCE3} %{buildroot}%{_sysconfdir}/%{base_name}/%{name}.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user