Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lua-compat-5.3 for openSUSE:Factory checked in at 2021-06-09 21:52:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua-compat-5.3 (Old) and /work/SRC/openSUSE:Factory/.lua-compat-5.3.new.32437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lua-compat-5.3" Wed Jun 9 21:52:46 2021 rev:8 rq:898547 version:0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/lua-compat-5.3/lua-compat-5.3.changes 2021-03-11 20:12:17.940664261 +0100 +++ /work/SRC/openSUSE:Factory/.lua-compat-5.3.new.32437/lua-compat-5.3.changes 2021-06-09 21:53:12.814572220 +0200 @@ -1,0 +2,6 @@ +Tue Jun 8 20:35:28 UTC 2021 - Callum Farmer <[email protected]> + +- Split bit32 into separate package +- Install correct files + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua-compat-5.3.spec ++++++ --- /var/tmp/diff_new_pack.Ix4FsN/_old 2021-06-09 21:53:13.882574124 +0200 +++ /var/tmp/diff_new_pack.Ix4FsN/_new 2021-06-09 21:53:13.886574131 +0200 @@ -16,15 +16,15 @@ # -%define flavor @BUILD_FLAVOR@ +%define flavor @BUILD_FLAVOR@%{nil} %define mod_name lua-compat-5.3 # bit32 (dropped in 5.4) is the native Lua 5.2 bit manipulation library, in the version # from Lua 5.3; it is compatible with Lua 5.1, 5.2 and 5.3. -%if "%{flavor}" == "lua54" -%bcond_without bit32 -%else +%if "%{lua_version}" >= "5.4" %bcond_with bit32 +%else +%bcond_without bit32 %endif Version: 0.9 @@ -38,20 +38,30 @@ BuildRequires: lua-macros BuildRequires: pkgconfig Requires: %{flavor} +%if %{without bit32} +Requires: %{flavor}-bit32 +%endif %lua_provides -e %if "%{flavor}" == "" Name: lua-compat-5.3 ExclusiveArch: do_not_build %else Name: %{flavor}-compat-5.3 -%if %{with bit32} -Provides: %{flavor}-bit32 -%endif %endif %description This package provides terminal operations for Lua +%if %{without bit32} +%package -n %{flavor}-bit32 +Summary: Lua bit manipulation library +Group: Development/Libraries/Other + +%description -n %{flavor}-bit32 +bit32 is the native Lua 5.2 bit manipulation library, in the version +from Lua 5.3; it is compatible with Lua 5.1, 5.2 and 5.3. +%endif + %prep %autosetup -n %{mod_name}-%{version} @@ -60,28 +70,39 @@ if [ "x${EXTERNAL:-}" = xtrue ]; then export DEF="-DCOMPAT53_PREFIX=compat53" SRC="c-api/compat-5.3.c" fi -${CC} ${CFLAGS} -Iinclude ${DEF} -shared -o testmod.so tests/testmod.c ${SRC} -gcc ${CFLAGS} -Iinclude ${DEF} -shared -o compat53.so ltablib.c lutf8lib.c lstrlib.c ${SRC} +gcc ${CFLAGS} -Iinclude ${DEF} -shared -o utf8.so lutf8lib.c +gcc ${CFLAGS} -Iinclude ${DEF} -shared -o table.so ltablib.c +gcc ${CFLAGS} -Iinclude ${DEF} -shared -o string.so lstrlib.c -%if %{with bit32} +%if %{without bit32} ${CC} ${CFLAGS} -Iinclude -DLUA_COMPAT_BITLIB -shared -o bit32.so lbitlib.c %endif %install -install -v -m 0644 -D -p -t %{buildroot}%{lua_incdir}/c-api/ c-api/* -install -v -m 0644 -p -t %{buildroot}%{lua_incdir} lprefix.h +mkdir -p %{buildroot}%{lua_archdir}/compat53 +install -Dm0644 utf8.so %{buildroot}%{lua_archdir}/compat53 +install -Dm0644 table.so %{buildroot}%{lua_archdir}/compat53 +install -Dm0644 string.so %{buildroot}%{lua_archdir}/compat53 +mkdir -p %{buildroot}%{lua_noarchdir}/compat53 +install -Dm0644 compat53/* %{buildroot}%{lua_noarchdir}/compat53 +mkdir -p %{buildroot}%{lua_incdir}/c-api +install -Dm0644 c-api/* %{buildroot}%{lua_incdir}/c-api +install -Dm0644 lprefix.h %{buildroot}%{lua_incdir} -install -v -D -m 0644 -p -t %{buildroot}%{lua_archdir} testmod.so -cp -v -r -p compat53.so %{buildroot}%{lua_archdir} - -%if %{with bit32} +%if %{without bit32} install -v -m 0644 -D -p -t %{buildroot}%{lua_archdir} bit32.so %endif %files %license LICENSE %doc README.md -%{lua_archdir}/*.so +%{lua_archdir}/compat53 +%{lua_noarchdir}/compat53 %{lua_incdir}/* +%if %{without bit32} +%files -n %{flavor}-bit32 +%{lua_archdir}/bit32.so +%endif + %changelog
