Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lua-cyrussasl for openSUSE:Factory 
checked in at 2022-06-21 16:32:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-cyrussasl (Old)
 and      /work/SRC/openSUSE:Factory/.lua-cyrussasl.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-cyrussasl"

Tue Jun 21 16:32:53 2022 rev:2 rq:984135 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-cyrussasl/lua-cyrussasl.changes      
2021-06-11 00:19:35.709412976 +0200
+++ /work/SRC/openSUSE:Factory/.lua-cyrussasl.new.1548/lua-cyrussasl.changes    
2022-06-21 16:33:04.287869199 +0200
@@ -1,0 +2,6 @@
+Tue Jun 21 10:04:57 UTC 2022 - Callum Farmer <[email protected]>
+
+- Use no-as-needed (bsc#1181027)
+- Use own build system to prevent build cmds in %install
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lua-cyrussasl.spec ++++++
--- /var/tmp/diff_new_pack.jrrOiI/_old  2022-06-21 16:33:04.943870162 +0200
+++ /var/tmp/diff_new_pack.jrrOiI/_new  2022-06-21 16:33:04.951870173 +0200
@@ -40,26 +40,22 @@
 Provides Lua bindings for Cyrus SASL authentication library.
 
 %prep
-%autosetup -p1 -n lua-%{mod_name}-%{version}
+%autosetup -n lua-%{mod_name}-%{version}
 
 %build
-make \
-    CFLAGS="%{optflags} -fPIC -I%{lua_incdir}" \
-    LDFLAGS="-shared -fpic -lsasl2" \
-       LUAPATH=%{lua_noarchdir}/ \
-       CPATH=%{lua_archdir}/
+export cmd='cc %{optflags} -fpic -I%{lua_incdir} -fno-common'
+$cmd -DVERSION="\"1.1\"" -c cyrussasl.c -o cyrussasl.o
+$cmd -DVERSION="\"1.1\"" -c luaabstract.c -o luaabstract.o
+$cmd -DVERSION="\"1.1\"" -c context.c -o context.o
+cc -Wl,--no-as-needed -shared -fpic -lsasl2 -o cyrussasl.so cyrussasl.o 
luaabstract.o context.o
 
 %install
 mkdir -p %{buildroot}%{lua_archdir}
-make install \
-    CFLAGS="%{optflags}" \
-    LDFLAGS="-O -shared -fpic -lsasl2" \
-    LUAPATH=%{buildroot}%{lua_noarchdir}/ \
-    CPATH=%{buildroot}%{lua_archdir}/
+cp cyrussasl.so %{buildroot}%{lua_archdir}
 
 %files
 %license LICENSE
 %doc README
-%{lua_archdir}/%{mod_name}.so*
+%{lua_archdir}/%{mod_name}.so
 
 %changelog

Reply via email to