From 261d8af66852dc7bd3db267e15dee552ecc683b1 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Tue, 7 Feb 2023 21:17:42 +0100 Subject: [PATCH 1/3] Add rm -f to ignore failures in rpm spec file --- buildres/linux/jabref.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildres/linux/jabref.spec b/buildres/linux/jabref.spec index c17cdaf63ee..90594b5afd9 100644 --- a/buildres/linux/jabref.spec +++ b/buildres/linux/jabref.spec @@ -71,8 +71,8 @@ for NATIVE_MESSAGING_JSON in "/usr/lib/mozilla/native-messaging-hosts/org.jabref fi done # Remove the auto-install triggers of the browser addon for chrom/chromium -rm /opt/google/chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json -rm /usr/share/google-chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json +rm -f /opt/google/chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json || true +rm -f /usr/share/google-chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json || true UTILITY_SCRIPTS DESKTOP_COMMANDS_UNINSTALL From 3bf3ad337ad0be8b8a7de62b0031253b6574486a Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 7 Feb 2023 22:29:20 +0100 Subject: [PATCH 2/3] Update jabref.spec Seems to be Desktop_SCRIPTS now instead of utility --- buildres/linux/jabref.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildres/linux/jabref.spec b/buildres/linux/jabref.spec index 90594b5afd9..9ff20288404 100644 --- a/buildres/linux/jabref.spec +++ b/buildres/linux/jabref.spec @@ -27,6 +27,8 @@ Requires: PACKAGE_DEFAULT_DEPENDENCIES PACKAGE_CUSTOM_DEPENDENCIES %description APPLICATION_DESCRIPTION +%global __os_install_post %{nil} + %prep %build @@ -73,7 +75,7 @@ done # Remove the auto-install triggers of the browser addon for chrom/chromium rm -f /opt/google/chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json || true rm -f /usr/share/google-chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json || true -UTILITY_SCRIPTS +DESKTOP_SCRIPTS DESKTOP_COMMANDS_UNINSTALL %clean From ac3cfd030bfd47de1b86dd157ae27abc27137ed2 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Wed, 8 Feb 2023 18:42:04 +0100 Subject: [PATCH 3/3] add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1b607a7dee..93c30f4df26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve - We fixed an issue where the browser import would add ' characters before the BibTeX entry on Linux [#9588](https://github.com/JabRef/jabref/issues/9588) - We fixed an issue where searching for a specific term with the DOAB fetcher lead to an exception [#9571](https://github.com/JabRef/jabref/issues/9571) - We fixed an issue where the "Import" -> "Library to import to" did not show the correct library name if two opened libraries had the same suffix [#9567](https://github.com/JabRef/jabref/issues/9567) +- We fixe an issue where the rpm-Version of JabRef could not be properly uninstalled and reinstalled [#9558](https://github.com/JabRef/jabref/issues/9558), [#9603](https://github.com/JabRef/jabref/issues/9603)