SHA256
1
0
forked from pool/mygnuhealth

/usr/share/doc/packages/mygnuhealth)

* doc_path.diff added

OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/mygnuhealth?expand=0&rev=16
This commit is contained in:
Axel Braun 2021-07-08 07:46:36 +00:00 committed by Git OBS Bridge
parent e270b71237
commit 8ad6c5368a
3 changed files with 18 additions and 2 deletions

14
doc_path.diff Normal file
View File

@ -0,0 +1,14 @@
diff -U 3 -dHrN -- a/setup.py b/setup.py
--- a/setup.py 2021-07-08 00:55:24.000000000 +0200
+++ b/setup.py 2021-07-08 09:44:15.828710409 +0200
@@ -53,8 +53,8 @@
zip_safe=False,
data_files=[
('share/applications', ['org.kde.mygnuhealth.desktop']),
- ('share/doc/mygnuhealth', ['doc/mygnuhealth.rst']),
- ('share/doc/mygnuhealth/images', glob('doc/images/*', recursive=True)),
+ ('share/doc/packages/mygnuhealth', ['doc/mygnuhealth.rst']),
+ ('share/doc/packages/mygnuhealth/images', glob('doc/images/*', recursive=True)),
('share/metainfo', ['org.kde.mygnuhealth.metainfo.xml']),
('share/icons/hicolor/scalable/apps/',
['mygnuhealth/images/mygnuhealth.svg']),

View File

@ -6,7 +6,8 @@ Thu Jul 8 06:40:10 UTC 2021 - Axel Braun <axel.braun@gmx.de>
https://ftp.gnu.org/gnu/health/mygnuhealth/
* Include Changelog file
* Include local / offline documentation (resides on
/usr/share/doc/packages/mygnuhealth)
/usr/share/doc/packages/mygnuhealth)
* doc_path.diff added
* Clean up __pycache__ from tarball
-------------------------------------------------------------------

View File

@ -32,6 +32,7 @@ Group: Productivity/Office/Management
URL: http://health.gnu.org/
Source: https://files.pythonhosted.org/packages/source/M/%{modname}/%{modname}-%{version}.tar.gz
Patch0: shebang.diff
Patch1: doc_path.diff
BuildRequires: fdupes
BuildRequires: python3-bcrypt
BuildRequires: python3-matplotlib
@ -61,7 +62,7 @@ Information Management System for Desktop and Mobile Devices
%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1
%autopatch -p1
%build
%python3_build