Compare commits

...

1 Commits

Author SHA256 Message Date
19d3ed534c Clean up the SPEC file. 2025-08-06 10:48:49 +02:00
2 changed files with 6 additions and 5 deletions

3
.gitignore vendored
View File

@@ -1 +1,4 @@
.osc
_buildconfig-*
_buildinfo-*.xml
lua51-bit32-*-build/

View File

@@ -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