forked from pool/python-pypng
Accepting request 1008769 from devel:languages:python
- Fix u-a scriptlets OBS-URL: https://build.opensuse.org/request/show/1008769 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pypng?expand=0&rev=9
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user