From 70f39aafb53bf92cbc1dc40b3789ac80ef80334dcf0c79e6fbc1ea39b8fb347b Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Thu, 28 Sep 2023 09:05:34 +0000 Subject: [PATCH] Accepting request 1114041 from home:DocB:branches:Application:ERP:GNUHealth:Factory - Version 2.0.0 * complete rewrite based on Kivy (instead Kirigami) * For Details see CHANGELOG * doc_path.diff removed - License string corrected - version 1.0.5 * switched source download to gnu.org, added signature * added documentation in DE, ES, FR * Minor adjustmends - version 1.0.4 * fixes plotting issues when matplotlib uses unsorted records or dup batch inputs. - version 1.0.3 * update of Uniprot-database * some minor changes / updates in the documentation and credits - Version 1.0.2 * MyGNUHealth does not display global menu on MATE * Update link from GNU Savannah - Version 1.0.1 * Fix the download path within GNU.org. Now it points to https://ftp.gnu.org/gnu/health/mygnuhealth/ * Include Changelog file * Include local / offline documentation (resides on /usr/share/doc/packages/mygnuhealth) * doc_path.diff added * Clean up __pycache__ from tarball - Version 1.0.0 - Version 0.7a6 initial OBS build OBS-URL: https://build.opensuse.org/request/show/1114041 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/mygnuhealth?expand=0&rev=30 --- doc_path.diff | 14 -------------- mygnuhealth.changes | 3 ++- mygnuhealth.spec | 8 ++++++-- 3 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 doc_path.diff diff --git a/doc_path.diff b/doc_path.diff deleted file mode 100644 index 25be7e5..0000000 --- a/doc_path.diff +++ /dev/null @@ -1,14 +0,0 @@ -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']), diff --git a/mygnuhealth.changes b/mygnuhealth.changes index dd83002..268e39e 100644 --- a/mygnuhealth.changes +++ b/mygnuhealth.changes @@ -4,7 +4,8 @@ Wed Sep 27 15:26:22 UTC 2023 - Axel Braun - Version 2.0.0 * complete rewrite based on Kivy (instead Kirigami) * For Details see CHANGELOG - + * doc_path.diff removed + ------------------------------------------------------------------- Fri Mar 11 11:44:11 UTC 2022 - Axel Braun diff --git a/mygnuhealth.spec b/mygnuhealth.spec index e08ada9..6d77572 100644 --- a/mygnuhealth.spec +++ b/mygnuhealth.spec @@ -84,6 +84,12 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications org.gnuhealth.my #documentation in the MyGNUHealth-doc package is sufficient rm -rf %{buildroot}%{_docdir}/* +# Leap need special treatment +%if 0%{?suse_version} < 1600 +mkdir %{buildroot}%{_bindir} +cp bin/%{name} %{buildroot}%{_bindir}/. +%endif + %python_expand %fdupes %{buildroot}%{python3_sitelib} %post @@ -97,8 +103,6 @@ rm -rf /home/*/.cache/mygnuhealth %files %attr(755,root,root) %{_bindir}/%{name} %{_datadir}/applications/org.gnuhealth.mygnuhealth.desktop -## %{_datadir}/icons/* -## %{_datadir}/metainfo/* %license COPYRIGHT LICENSE %{python3_sitelib}/*