Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnuhealth for openSUSE:Factory checked in at 2022-03-07 17:48:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old) and /work/SRC/openSUSE:Factory/.gnuhealth.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnuhealth" Mon Mar 7 17:48:08 2022 rev:54 rq:959985 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes 2022-02-17 00:32:37.205411690 +0100 +++ /work/SRC/openSUSE:Factory/.gnuhealth.new.1958/gnuhealth.changes 2022-03-07 17:48:58.239084677 +0100 @@ -2 +2 @@ -Wed Feb 16 18:26:26 UTC 2022 - Axel Braun <axel.br...@gmx.de> +Sun Mar 6 10:01:47 UTC 2022 - Axel Braun <axel.br...@gmx.de> @@ -4,16 +4,14 @@ -- missing dependency python3-Pillow added - -------------------------------------------------------------------- -Tue Nov 16 08:37:25 UTC 2021 - Axel Braun <axel.br...@gmx.de> - -- harden_gnuhealth.service.patch removed - we are not using the service from GH - reporting.diff added to catch change from .odt to .fodt - -------------------------------------------------------------------- -Mon Sep 20 14:02:25 UTC 2021 - Johannes Segitz <jseg...@suse.com> - -- Added hardening to systemd service(s) (bsc#1181400). Added patch(es): - * harden_gnuhealth.service.patch - Modified: - * gnuhealth-webdav@.service - * gnuhealth.service +- version 4.0.0 + * based on Tryton 6.0 + * Improved ergonomics on the GTK client + * New HELP command that allows offline and contextualized documentation + * WebDAV and CalDAV packages are fully integrated in GH (no links) + * Weblate now holds 34 language teams! + * Removed obsoleted binary ODT (except for some charts) + * Improved integration with OpenStreetMap (OSM) + * Improved surgery and patient evaluation flows + * New health service Dx imaging package + * Update person gender list + * Add medical evaluations to health services + * Include (optional) expiration date on the person ID + * Add context field for Dx Imaging and Lab tests Old: ---- gnuhealth-3.8.0.tar.gz gnuhealth-3.8.0.tar.gz.sig reporting.diff New: ---- gnuhealth-4.0.0.tar.gz gnuhealth-4.0.0.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnuhealth.spec ++++++ --- /var/tmp/diff_new_pack.Fi3v3Q/_old 2022-03-07 17:48:59.867084207 +0100 +++ /var/tmp/diff_new_pack.Fi3v3Q/_new 2022-03-07 17:48:59.875084204 +0100 @@ -15,10 +15,12 @@ # 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 majorver 3.8 +%define majorver 4.0 + Name: gnuhealth Version: %{majorver}.0 @@ -29,7 +31,7 @@ Group: Productivity/Office/Management 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 Source2: gnuhealth-control Source3: gnuhealth.service @@ -40,15 +42,21 @@ 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 Patch0: shebang.diff -Patch1: reporting.diff BuildRequires: fdupes BuildRequires: python-rpm-generators -BuildRequires: python3-rpm-macros +BuildRequires: python-rpm-macros BuildRequires: python3-setuptools -# For the variables: +BuildRequires: python3-pytest +# For the tests: 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: proteus Requires: python3-PyWebDAV3-GNUHealth @@ -111,23 +119,22 @@ %prep %setup -q -n %{name}-%{version} -%autopatch -p1 - +##%%patch0 -p1 cp %{S:1} . cp %{S:2} . %build for i in h*; do - cd $i + pushd $i %python3_build - cd .. + popd done %install for i in h*; do - cd $i + pushd $i %python3_install --prefix=%_prefix --root=%buildroot - cd .. + popd done mkdir -p -m 755 %{buildroot}%{_bindir} @@ -155,6 +162,17 @@ %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 #Write environment changes to /etc/bash.bashrc.local cat > /etc/bash.bashrc.local << "EOF" ++++++ GNUHealth.README.openSUSE ++++++ --- /var/tmp/diff_new_pack.Fi3v3Q/_old 2022-03-07 17:48:59.931084188 +0100 +++ /var/tmp/diff_new_pack.Fi3v3Q/_new 2022-03-07 17:48:59.935084187 +0100 @@ -1,6 +1,12 @@ 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) ======================================================== @@ -32,6 +38,10 @@ to 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 3) Create a role for 'tryton' in the database (still as user postgres) @@ -203,5 +213,5 @@ [4] https://github.com/mbehrle/tryton/blob/wiki/InstallationonopenSUSE.md - -- Axel Braun <axel.br...@gmx.de> Wed Oct 30 11:11:20 UTC 2019 + -- Axel Braun <d...@opensuse.org> Sun Mar 06 10:12:31 UTC 2022 ++++++ gnuhealth-3.8.0.tar.gz -> gnuhealth-4.0.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.8.0.tar.gz /work/SRC/openSUSE:Factory/.gnuhealth.new.1958/gnuhealth-4.0.0.tar.gz differ: char 1, line 1