forked from pool/python-pypng
- Fix u-a scriptlets
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypng?expand=0&rev=17
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>
|
Sat Apr 17 21:48:57 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user