Don’t set locate permanently in %lua_requires
Resolves: #2263837 Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
9517333a2b
commit
8ba1010b91
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
Name: lua-rpm-macros
|
Name: lua-rpm-macros
|
||||||
Version: 1
|
Version: 1
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: The common Lua RPM macros
|
Summary: The common Lua RPM macros
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -94,6 +94,9 @@ install -Dpm 0644 lua.attr %{buildroot}/%{_fileattrsdir}/lua.attr
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 12 2024 Nils Philippsen <nils@redhat.com> - 1-12
|
||||||
|
- Don’t set locale permanently in %%lua_requires (#2263837)
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1-11
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1-11
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
Requires: lua(abi) = %{lua_version} \
|
Requires: lua(abi) = %{lua_version} \
|
||||||
%else \
|
%else \
|
||||||
Requires: lua >= %{lua_version} \
|
Requires: lua >= %{lua_version} \
|
||||||
Requires: lua < %{lua: os.setlocale('C'); print(string.sub(_VERSION, 5) + 0.1)} \
|
Requires: lua < %{lua: locale=os.setlocale(nil); os.setlocale('C.utf8'); print(string.sub(_VERSION, 5) + 0.1; os.setlocale(locale))} \
|
||||||
%endif \
|
%endif \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
Loading…
Reference in New Issue
Block a user