Accepting request 931723 from Application:ERP:GNUHealth:Factory
fix for reporting error OBS-URL: https://build.opensuse.org/request/show/931723 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth?expand=0&rev=52
This commit is contained in:
commit
62bfcdd031
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 16 08:37:25 UTC 2021 - Axel Braun <axel.braun@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 <jsegitz@suse.com>
|
Mon Sep 20 14:02:25 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ 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: harden_gnuhealth.service.patch
|
Patch1: reporting.diff
|
||||||
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-generators
|
BuildRequires: python-rpm-generators
|
||||||
@ -110,10 +110,10 @@ This package provides the interface to Orthanc
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch0 -p1
|
%autopatch -p1
|
||||||
|
|
||||||
cp %{S:1} .
|
cp %{S:1} .
|
||||||
cp %{S:2} .
|
cp %{S:2} .
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for i in h*; do
|
for i in h*; do
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
Index: gnuhealth-3.8.0/scripts/startup/gnuhealth.service
|
|
||||||
===================================================================
|
|
||||||
--- gnuhealth-3.8.0.orig/scripts/startup/gnuhealth.service
|
|
||||||
+++ gnuhealth-3.8.0/scripts/startup/gnuhealth.service
|
|
||||||
@@ -3,6 +3,19 @@ Description=GNU Health Server
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
+# added automatically, for details please see
|
|
||||||
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
||||||
+ProtectSystem=full
|
|
||||||
+ProtectHome=true
|
|
||||||
+PrivateDevices=true
|
|
||||||
+ProtectHostname=true
|
|
||||||
+ProtectClock=true
|
|
||||||
+ProtectKernelTunables=true
|
|
||||||
+ProtectKernelModules=true
|
|
||||||
+ProtectKernelLogs=true
|
|
||||||
+ProtectControlGroups=true
|
|
||||||
+RestrictRealtime=true
|
|
||||||
+# end of automatic additions
|
|
||||||
Type=simple
|
|
||||||
User=gnuhealth
|
|
||||||
WorkingDirectory=/home/gnuhealth
|
|
20
reporting.diff
Normal file
20
reporting.diff
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user