forked from pool/lua54
Accepting request 1060891 from devel:languages:lua
- Do not use complex dependencies on SLE12 OBS-URL: https://build.opensuse.org/request/show/1060891 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua54?expand=0&rev=22
This commit is contained in:
commit
017b069250
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 24 10:53:04 UTC 2023 - Michal Suchanek <msuchanek@suse.com>
|
||||||
|
|
||||||
|
- Do not use complex dependencies on SLE12
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 18 17:55:21 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
|
Sun Dec 18 17:55:21 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
16
lua54.spec
16
lua54.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lua54
|
# spec file for package lua54
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2023 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
|
||||||
@ -31,7 +31,7 @@ Release: 0
|
|||||||
Summary: Small Embeddable Language with Procedural Syntax
|
Summary: Small Embeddable Language with Procedural Syntax
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
URL: http://www.lua.org
|
URL: https://www.lua.org
|
||||||
Source: http://www.lua.org/ftp/lua-%{version}.tar.gz
|
Source: http://www.lua.org/ftp/lua-%{version}.tar.gz
|
||||||
Source1: http://www.lua.org/tests/lua-%{version}-tests.tar.gz
|
Source1: http://www.lua.org/tests/lua-%{version}-tests.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
@ -133,7 +133,9 @@ Summary: Documentation for Lua, a small embeddable language
|
|||||||
License: MIT
|
License: MIT
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if 0%{?suse_version} > 1315
|
||||||
Supplements: (lua54 and patterns-base-documentation)
|
Supplements: (lua54 and patterns-base-documentation)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Lua is a programming language originally designed for extending
|
Lua is a programming language originally designed for extending
|
||||||
@ -178,7 +180,7 @@ cat > lua%{major_version}.pc <<-EOF
|
|||||||
prefix=%{_prefix}
|
prefix=%{_prefix}
|
||||||
exec_prefix=%{_prefix}
|
exec_prefix=%{_prefix}
|
||||||
libdir=%{_libdir}
|
libdir=%{_libdir}
|
||||||
includedir=%{_prefix}/include/lua%{major_version}
|
includedir=%{_includedir}/lua%{major_version}
|
||||||
INSTALL_LMOD=%{_datadir}/lua/%{major_version}
|
INSTALL_LMOD=%{_datadir}/lua/%{major_version}
|
||||||
INSTALL_CMOD=%{_libdir}/lua/%{major_version}
|
INSTALL_CMOD=%{_libdir}/lua/%{major_version}
|
||||||
|
|
||||||
@ -247,13 +249,13 @@ fi
|
|||||||
%dir %{_datadir}/lua/%{major_version}
|
%dir %{_datadir}/lua/%{major_version}
|
||||||
%{_bindir}/lua%{major_version}
|
%{_bindir}/lua%{major_version}
|
||||||
%{_bindir}/luac%{major_version}
|
%{_bindir}/luac%{major_version}
|
||||||
%{_mandir}/man1/lua%{major_version}.1%{ext_man}
|
%{_mandir}/man1/lua%{major_version}.1%{?ext_man}
|
||||||
%{_mandir}/man1/luac%{major_version}.1%{ext_man}
|
%{_mandir}/man1/luac%{major_version}.1%{?ext_man}
|
||||||
# alternatives
|
# alternatives
|
||||||
%{_bindir}/lua
|
%{_bindir}/lua
|
||||||
%{_bindir}/luac
|
%{_bindir}/luac
|
||||||
%{_mandir}/man1/lua.1%{ext_man}
|
%{_mandir}/man1/lua.1%{?ext_man}
|
||||||
%{_mandir}/man1/luac.1%{ext_man}
|
%{_mandir}/man1/luac.1%{?ext_man}
|
||||||
%ghost %{_sysconfdir}/alternatives/lua
|
%ghost %{_sysconfdir}/alternatives/lua
|
||||||
%ghost %{_sysconfdir}/alternatives/luac
|
%ghost %{_sysconfdir}/alternatives/luac
|
||||||
%ghost %{_sysconfdir}/alternatives/lua.1%{ext_man}
|
%ghost %{_sysconfdir}/alternatives/lua.1%{ext_man}
|
||||||
|
Loading…
Reference in New Issue
Block a user