Hello community,

here is the log from the commit of package lua-luv for openSUSE:Factory checked 
in at 2019-08-05 10:42:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-luv (Old)
 and      /work/SRC/openSUSE:Factory/.lua-luv.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-luv"

Mon Aug  5 10:42:04 2019 rev:2 rq:720830 version:1.30.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-luv/lua-luv.changes  2019-07-29 
17:25:45.262316359 +0200
+++ /work/SRC/openSUSE:Factory/.lua-luv.new.4126/lua-luv.changes        
2019-08-05 10:42:21.575292086 +0200
@@ -1,0 +2,5 @@
+Sat Aug  3 18:08:08 BST 2019 - Matej Cepl <[email protected]>
+
+- Remove public shared library again.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ lua-luv.spec ++++++
--- /var/tmp/diff_new_pack.f6fG4T/_old  2019-08-05 10:42:22.159292018 +0200
+++ /var/tmp/diff_new_pack.f6fG4T/_new  2019-08-05 10:42:22.159292018 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package lua-penlight
+# spec file for package lua-luv
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Togan Muftuoglu [email protected]
 #
 # All modifications and additions to the file contributed by third parties
@@ -16,11 +16,13 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %define flavor @BUILD_FLAVOR@
 %define mod_name luv
 %define lua_value  %(echo "%{flavor}" |sed -e 's:lua::')
 %define upver 1.30.0-0
 %define libluv_sover 1
+%bcond_with public_lib
 
 Version:        1.30.0
 Release:        0
@@ -30,17 +32,17 @@
 URL:            https://github.com/luvit/luv
 Source:         
https://github.com/luvit/%{mod_name}/archive/%{upver}.tar.gz#/%{mod_name}-%{upver}.tar.gz
 BuildRequires:  cmake
-BuildRequires:  lua-macros
 BuildRequires:  libuv-devel
+BuildRequires:  lua-macros
 %if 0%{?suse_version}
+BuildRequires:  %{flavor}-compat-5.3
 BuildRequires:  %{flavor}-devel
 BuildRequires:  %{flavor}-luafilesystem
-BuildRequires:  %{flavor}-compat-5.3
 Requires:       %{flavor}
 %else
+BuildRequires:  lua-compat53
 BuildRequires:  lua-devel
 BuildRequires:  lua-filesystem
-BuildRequires:  lua-compat53
 %endif # suse_version
 %if "%{flavor}" == ""
 Name:           lua-%{mod_name}
@@ -72,6 +74,7 @@
 This subpackage contains header files for developing applications that
 want to make use of %{flavor}-%{mod_name}.
 
+%if %{with public_lib}
 %package -n %{flavor}-libluv%{libluv_sover}
 Summary:        Lua bindings for libluv as a library
 Group:          System/Libraries
@@ -83,7 +86,7 @@
 
 %post -n %{flavor}-libluv%{libluv_sover} -p /sbin/ldconfig
 %postun -n %{flavor}-libluv%{libluv_sover} -p /sbin/ldconfig
-
+%endif
 
 %prep
 %setup -q -n %{mod_name}-%{upver}
@@ -95,7 +98,8 @@
 rm -fv tests/test-dns.lua
 
 %build
-# Build luv.so module
+%if %{with public_lib}
+# Build libluv.so shared library
 cmake -H. -Bbuild -DCMAKE_C_FLAGS="$RPM_OPT_FLAGS" \
     -DCMAKE_BUILD_TYPE=RelWithDebInfo \
     -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=OFF \
@@ -104,8 +108,9 @@
     -DWITH_SHARED_LIBUV=ON -DWITH_LUA_ENGINE=Lua \
     -DLUA_BUILD_TYPE=System -DLUA_COMPAT53_DIR="%{lua_incdir}/"
 ( cd build ; make )
+%endif
 
-# # Build libluv.so shared library
+# Build luv.so module
 cmake -H. -Bbuild -DCMAKE_C_FLAGS="$RPM_OPT_FLAGS" \
     -DCMAKE_BUILD_TYPE=RelWithDebInfo \
     -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=OFF \
@@ -115,11 +120,13 @@
     -DLUA_BUILD_TYPE=System -DLUA_COMPAT53_DIR="%{lua_incdir}/"
 ( cd build ; make )
 
-ls -l build
+find build -name \*.so\*
 
 %install
 install -v -D -m 0755 -p -t %{buildroot}%{lua_archdir} build/luv.so
+%if %{with public_lib}
 install -v -m 0755 -p -t %{buildroot}%{lua_archdir} build/libluv*
+%endif
 install -v -D -m 0644 -p -t %{buildroot}%{lua_incdir}/%{mod_name} src/*.h
 
 # For %%doc
@@ -138,9 +145,11 @@
 %license LICENSE.txt
 %dir %{lua_incdir}/%{mod_name}
 %{lua_incdir}/%{mod_name}/*
+%if %{with public_lib}
 %{lua_archdir}/libluv.so
 
 %files -n %{flavor}-libluv%{libluv_sover}
 %{lua_archdir}/libluv.so.*
+%endif
 
 %changelog


Reply via email to