Accepting request 615204 from home:DocB:branches:Application:ERP:GNUHealth:Factory
- boo#1096706 requirement for postgres96 fixed copyright to log file added - Version 4.2.11 - Bugfix Release - requires postgres96, otherwise trytond-admin fails (Leap 15) - Version 4.2.10 - Bugfix Release - user_login.patch replaced by trytond_get_login.patch see boo#1078111 - Version 4.2.9 - Bugfix Release - Version 4.2.8 - Bugfix Release - Version 4.2.7 - Bugfix Release - Documentation updated - Version 4.2.6 bugfix release typo in trytond.conf removed - default setting for database access in trytond.conf - Version 4.2.5 - Patch for user login user_login.patch from GNU Health 3.20 applied trytond_server.diff removed as not needed anymore - Version 4.2.4 - Version 4.2.3 - Version 4.2.2 - Version 4.2.1 - Tryton Release 4.2 - Update description - Add missing %service_add_pre and convert open-coded other three scriptlets to %service_*. - version 4.0.2 - Tryton Release 4.0 - patch for security vulnerability applied, see https://savannah.gnu.org/forum/forum.php?forum_id=8482 - Installation of sao (webfrontend) documented - Tryton Release 3.8 - version 3.6.1 * clean up of specfile - Tryton Release 3.6 - sample file for confirguration added (trytond.conf.example) tryton-server.README.SUSE updated - systemd startup file corrected, sample file for log config added - added trytond.conf - version 3.4 - new branch 3.0, added python-sql - Tryton 3.0, spec file adapted * - new spec with regard to systemd - setup of user tryton if not existing * - packaged tryton version 1.0.3 using the buildservice spec file wizard OBS-URL: https://build.opensuse.org/request/show/615204 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/trytond?expand=0&rev=19
This commit is contained in:
parent
d69f0a2fa8
commit
99d0ba9918
@ -1,7 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 13:11:10 UTC 2018 - axel.braun@gmx.de
|
||||
Fri Jun 8 10:41:08 UTC 2018 - axel.braun@gmx.de
|
||||
|
||||
- requirement for postgres96 improved
|
||||
- boo#1096706 requirement for postgres96 fixed
|
||||
copyright to log file added
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
10
trytond.spec
10
trytond.spec
@ -48,7 +48,7 @@ BuildRequires: python3-setuptools
|
||||
#BuildRequires: python3-simplejson
|
||||
BuildRequires: python3-wrapt
|
||||
BuildRequires: systemd-rpm-macros
|
||||
Requires: postgresql96-server < 10
|
||||
Requires: postgresql96-server
|
||||
Requires: python3-Genshi
|
||||
Requires: python3-lxml
|
||||
Requires: python3-psycopg2
|
||||
@ -70,6 +70,9 @@ Requires(pre): /usr/sbin/useradd
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
Conflicts: postgresql10-server
|
||||
Conflicts: postgresql10
|
||||
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
@ -102,14 +105,15 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/{lib,log}/%{base_name}
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%pre
|
||||
getent group tryton > /dev/null || %{_sbindir}/groupadd -r tryton || :
|
||||
getent group tryton > /dev/null || %{_sbindir}/groupadd -r tryton
|
||||
getent passwd tryton > /dev/null || %{_sbindir}/useradd -r -g tryton \
|
||||
-d %{_localstatedir}/lib/%{name} -s /sbin/nologin \
|
||||
-c 'Tryton ERP' tryton || :
|
||||
-c 'Tryton ERP' tryton
|
||||
%service_add_pre trytond.service
|
||||
|
||||
%post
|
||||
%service_add_post trytond.service
|
||||
##update-alternatives --set postgresql /usr/lib/postgresql96
|
||||
|
||||
%preun
|
||||
%service_del_preun trytond.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user