Compare commits
1 Commits
398daab851
...
19d3ed534c
Author | SHA256 | Date | |
---|---|---|---|
19d3ed534c
|
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,4 @@
|
||||
.osc
|
||||
_buildconfig-*
|
||||
_buildinfo-*.xml
|
||||
lua51-bit32-*-build/
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua51-bit32
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -39,16 +39,14 @@ from Lua 5.3; it is compatible with Lua 5.1, 5.2 and 5.3.
|
||||
%setup -q -n lua-compat-5.2-bitlib-%{version}
|
||||
|
||||
%build
|
||||
gcc %{optflags} -I/usr/include -I./c-api \
|
||||
gcc %{optflags} -I%{_includedir} -I./c-api \
|
||||
$(pkg-config --cflags --libs %{flavor_dec}) \
|
||||
lbitlib.c -shared -fPIC -o bit32.so
|
||||
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{lua_archdir}
|
||||
install -p bit32.so %{buildroot}%{lua_archdir}/
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
|
Reference in New Issue
Block a user