14
0
forked from pool/python-pypng
2022-10-07 12:16:12 +00:00
committed by Git OBS Bridge
parent deeb8184c0
commit d31cd08c91
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 7 12:15:18 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Fix u-a scriptlets
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 17 21:48:57 UTC 2021 - Ben Greiner <code@bnavigator.de> Sat Apr 17 21:48:57 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pypng # 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 # 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
@@ -67,12 +67,12 @@ done
%post %post
%{lua: for b in rpm.expand("%{binaries}"):gmatch("%S+") do %{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} end}
%postun %postun
%{lua: for b in rpm.expand("%{binaries}"):gmatch("%S+") do %{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} end}
%files %{python_files} %files %{python_files}
@@ -81,7 +81,7 @@ end}
%{python_sitelib}/pypng-%{version}*-info %{python_sitelib}/pypng-%{version}*-info
%pycache_only %{python_sitelib}/__pycache__/png.*.pyc %pycache_only %{python_sitelib}/__pycache__/png.*.pyc
%{lua: for b in rpm.expand("%{binaries}"):gmatch("%S+") do %{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} end}
%changelog %changelog