Sync from SUSE:SLFO:Main presage revision 8f33349bf7782db6d0cf9fdd4725ede3

This commit is contained in:
Adrian Schröter 2024-10-03 17:49:51 +02:00
parent 91e34bede2
commit e642d8d11d
2 changed files with 17 additions and 13 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Mar 13 09:37:25 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang macro, [bsc#1212476]
-------------------------------------------------------------------
Thu Feb 29 14:49:50 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 15 13:57:20 UTC 2023 - Frederic Crozat <fcrozat@suse.com> Mon May 15 13:57:20 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file for package presage
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -216,18 +216,9 @@ This package contains the libpresage API Documentation in HTML format.
%endif %endif
%prep %prep
%setup -q -n %{sname}-%{version} %autosetup -p1 -n %{sname}-%{version}
find . -type f -exec sed -i 's/\r//g' "{}" \; find . -type f -exec sed -i 's/\r//g' "{}" \;
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
echo "[D-BUS Service]" > apps/dbus/org.gnome.presage.service.in echo "[D-BUS Service]" > apps/dbus/org.gnome.presage.service.in
echo "Name=org.gnome.presage.beta" >> apps/dbus/org.gnome.presage.service.in echo "Name=org.gnome.presage.beta" >> apps/dbus/org.gnome.presage.service.in
echo "Exec={bindir}/presage_dbus_service --start" >> apps/dbus/org.gnome.presage.service.in echo "Exec={bindir}/presage_dbus_service --start" >> apps/dbus/org.gnome.presage.service.in
@ -274,6 +265,7 @@ sed -i -e '1 s#/usr/bin/env.*python#/usr/bin/python3#' %{buildroot}%{_bindir}/pr
%suse_update_desktop_file pyprompter Utility DesktopUtility %suse_update_desktop_file pyprompter Utility DesktopUtility
%fdupes %{buildroot}/%{_prefix} %fdupes %{buildroot}/%{_prefix}
%python3_fix_shebang
%else %else