Accepting request 959985 from Application:ERP:GNUHealth:Factory

version bump (forwarded request 959966 from DocB)

OBS-URL: https://build.opensuse.org/request/show/959985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth?expand=0&rev=54
This commit is contained in:
Dominique Leuenberger 2022-03-07 16:48:08 +00:00 committed by Git OBS Bridge
commit 9315f5b97b
8 changed files with 60 additions and 54 deletions

View File

@ -1,6 +1,12 @@
GNUHealth for openSUSE GNUHealth for openSUSE
====================== ======================
Note for GNU Health 4.0 and above:
When installing GNU Health 4.0 or higher, note that dependency on postgresql-server is now 'Recommends'.
This helps keeping the installation lean when running Postgresql on a separate server.
If you are using --no-recommends for installation, you need to install postgresql-server additionally.
If you install with recommendations, postgresql-server is installed automatically.
How to get it running (Without reading the instructions) How to get it running (Without reading the instructions)
======================================================== ========================================================
@ -32,6 +38,10 @@ FOR LOCAL CONNECTIONS (Database on the same machine) change the line
to to
local all all trust local all all trust
(you can put an even higher security level by setting
local $DATABASE tryton trust
as explicit access rule for the database $DATABASE - note that only user tryton can access this!)
Save your input. This will make sure that Tryton/GNUHealth server can connect to the database Save your input. This will make sure that Tryton/GNUHealth server can connect to the database
3) Create a role for 'tryton' in the database (still as user postgres) 3) Create a role for 'tryton' in the database (still as user postgres)
@ -203,4 +213,4 @@ Have fun and keep the neighborhood well and fit!
[4] https://github.com/mbehrle/tryton/blob/wiki/InstallationonopenSUSE.md [4] https://github.com/mbehrle/tryton/blob/wiki/InstallationonopenSUSE.md
-- Axel Braun <axel.braun@gmx.de> Wed Oct 30 11:11:20 UTC 2019 -- Axel Braun <DocB@openSUSE.org> Sun Mar 06 10:12:31 UTC 2022

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe850fa6f9251a86508a24775c7591b5507f5934639887d1984ada17c0d54e35
size 14407853

Binary file not shown.

3
gnuhealth-4.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86c4c3c6305e270b832308f4ca7f9ae4ef26f3b85ab12564fa4efce84f850f62
size 137994240

BIN
gnuhealth-4.0.0.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,22 +1,20 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 16 18:26:26 UTC 2022 - Axel Braun <axel.braun@gmx.de> Sun Mar 6 10:01:47 UTC 2022 - Axel Braun <axel.braun@gmx.de>
- missing dependency python3-Pillow added - version 4.0.0
* based on Tryton 6.0
------------------------------------------------------------------- * Improved ergonomics on the GTK client
Tue Nov 16 08:37:25 UTC 2021 - Axel Braun <axel.braun@gmx.de> * New HELP command that allows offline and contextualized documentation
* WebDAV and CalDAV packages are fully integrated in GH (no links)
- harden_gnuhealth.service.patch removed - we are not using the service from GH * Weblate now holds 34 language teams!
reporting.diff added to catch change from .odt to .fodt * Removed obsoleted binary ODT (except for some charts)
* Improved integration with OpenStreetMap (OSM)
------------------------------------------------------------------- * Improved surgery and patient evaluation flows
Mon Sep 20 14:02:25 UTC 2021 - Johannes Segitz <jsegitz@suse.com> * New health service Dx imaging package
* Update person gender list
- Added hardening to systemd service(s) (bsc#1181400). Added patch(es): * Add medical evaluations to health services
* harden_gnuhealth.service.patch * Include (optional) expiration date on the person ID
Modified: * Add context field for Dx Imaging and Lab tests
* gnuhealth-webdav@.service
* gnuhealth.service
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 16 17:16:20 UTC 2021 - Axel Braun <axel.braun@gmx.de> Fri Apr 16 17:16:20 UTC 2021 - Axel Braun <axel.braun@gmx.de>

View File

@ -15,10 +15,12 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%bcond_with tests 0
%define skip_python2 1
%define t_version %(rpm -q --qf '%%{VERSION}' trytond) %define t_version %(rpm -q --qf '%%{VERSION}' trytond)
%define majorver 3.8 %define majorver 4.0
Name: gnuhealth Name: gnuhealth
Version: %{majorver}.0 Version: %{majorver}.0
@ -29,7 +31,7 @@ License: GPL-3.0-or-later
Group: Productivity/Office/Management Group: Productivity/Office/Management
Source0: https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz Source0: https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
##%Source0: %{name}-%{version}.tar.gz ## Source0: %{name}-%{version}.tar.gz
Source1: GNUHealth.README.openSUSE Source1: GNUHealth.README.openSUSE
Source2: gnuhealth-control Source2: gnuhealth-control
Source3: gnuhealth.service Source3: gnuhealth.service
@ -40,15 +42,21 @@ Source7: gnuhealth-rpmlintrc
Source8: https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz.sig Source8: https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz.sig
Source9: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=health&download=1#/%{name}.keyring Source9: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=health&download=1#/%{name}.keyring
Patch0: shebang.diff Patch0: shebang.diff
Patch1: reporting.diff
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-generators BuildRequires: python-rpm-generators
BuildRequires: python3-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
# For the variables: BuildRequires: python3-pytest
# For the tests:
BuildRequires: trytond BuildRequires: trytond
BuildRequires: trytond_company
BuildRequires: trytond_currency
BuildRequires: trytond_party
BuildRequires: trytond_product
# new fonts for the forms:
Requires: gnu-free-fonts
Requires: bsdtar Requires: bsdtar
Requires: proteus Requires: proteus
Requires: python3-PyWebDAV3-GNUHealth Requires: python3-PyWebDAV3-GNUHealth
@ -111,23 +119,22 @@ This package provides the interface to Orthanc
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%autopatch -p1 ##%%patch0 -p1
cp %{S:1} . cp %{S:1} .
cp %{S:2} . cp %{S:2} .
%build %build
for i in h*; do for i in h*; do
cd $i pushd $i
%python3_build %python3_build
cd .. popd
done done
%install %install
for i in h*; do for i in h*; do
cd $i pushd $i
%python3_install --prefix=%_prefix --root=%buildroot %python3_install --prefix=%_prefix --root=%buildroot
cd .. popd
done done
mkdir -p -m 755 %{buildroot}%{_bindir} mkdir -p -m 755 %{buildroot}%{_bindir}
@ -155,6 +162,17 @@ rmdir backend
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with tests}
%check
cd %{buildroot}%{python3_sitelib}/trytond/modules
for i in h*; do
pushd $i
%pytest -rs tests
popd
done
%endif
%pre %pre
#Write environment changes to /etc/bash.bashrc.local #Write environment changes to /etc/bash.bashrc.local
cat > /etc/bash.bashrc.local << "EOF" cat > /etc/bash.bashrc.local << "EOF"

View File

@ -1,20 +0,0 @@
diff -U 3 -dHrN a/health_reporting/health_reporting_report.xml b/health_reporting/health_reporting_report.xml
--- a/health_reporting/health_reporting_report.xml 2021-01-29 00:16:22.747730075 +0100
+++ b/health_reporting/health_reporting_report.xml 2021-11-15 18:31:40.803718094 +0100
@@ -5,14 +5,14 @@
<record model="ir.action.report" id="report_summary_information">
<field name="name">Summary Report</field>
<field name="report_name">gnuhealth.summary.report</field>
- <field name="report">health_reporting/report/summary_report.odt</field>
+ <field name="report">health_reporting/report/summary_report.fodt</field>
<field name="extension">pdf</field>
</record>
<record model="ir.action.report" id="report_epidemics_information">
<field name="name">Epidemiological Surveillance</field>
<field name="report_name">gnuhealth.epidemics.report</field>
- <field name="report">health_reporting/report/epidemics_report.odt</field>
+ <field name="report">health_reporting/report/epidemics_report.fodt</field>
<field name="extension">pdf</field>
</record>