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}/*