From d31cd08c91bc5df22b8284a26195f445d675b64f284417677b3723f2616fdff8 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 7 Oct 2022 12:16:12 +0000 Subject: [PATCH] - Fix u-a scriptlets OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypng?expand=0&rev=17 --- python-pypng.changes | 5 +++++ python-pypng.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-pypng.changes b/python-pypng.changes index 39ab57e..23159b9 100644 --- a/python-pypng.changes +++ b/python-pypng.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 7 12:15:18 UTC 2022 - Daniel Garcia + +- Fix u-a scriptlets + ------------------------------------------------------------------- Sat Apr 17 21:48:57 UTC 2021 - Ben Greiner diff --git a/python-pypng.spec b/python-pypng.spec index 4ad8849..372dbfe 100644 --- a/python-pypng.spec +++ b/python-pypng.spec @@ -1,7 +1,7 @@ # # spec file for package python-pypng # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -67,12 +67,12 @@ done %post %{lua: for b in rpm.expand("%{binaries}"):gmatch("%S+") do - print(rpm.expand("%python_install_alternative " .. b)) + print(rpm.expand("%python_install_alternative " .. b .. "\n")) end} %postun %{lua: for b in rpm.expand("%{binaries}"):gmatch("%S+") do - print(rpm.expand("%python_uninstall_alternative " .. b)) + print(rpm.expand("%python_uninstall_alternative " .. b .. "\n")) end} %files %{python_files} @@ -81,7 +81,7 @@ end} %{python_sitelib}/pypng-%{version}*-info %pycache_only %{python_sitelib}/__pycache__/png.*.pyc %{lua: for b in rpm.expand("%{binaries}"):gmatch("%S+") do - print(rpm.expand("%python_alternative %{_bindir}/" .. b)) + print(rpm.expand("%python_alternative %{_bindir}/" .. b .. "\n")) end} %changelog