Hello community, here is the log from the commit of package libyui-bindings for openSUSE:Factory checked in at 2020-10-02 17:34:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui-bindings (Old) and /work/SRC/openSUSE:Factory/.libyui-bindings.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-bindings" Fri Oct 2 17:34:59 2020 rev:24 rq:838786 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libyui-bindings/libyui-bindings.changes 2020-05-28 09:16:11.056803032 +0200 +++ /work/SRC/openSUSE:Factory/.libyui-bindings.new.4249/libyui-bindings.changes 2020-10-02 17:35:06.066659825 +0200 @@ -1,0 +2,7 @@ +Wed Sep 30 13:08:15 UTC 2020 - Klaus Kämpf <kkae...@suse.com> + +- fix Factory build, add libyui-bindings-2.0.2.patch + +- move to python3-only build + +------------------------------------------------------------------- New: ---- libyui-bindings-2.0.2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-bindings.spec ++++++ --- /var/tmp/diff_new_pack.bZbTiS/_old 2020-10-02 17:35:08.602661337 +0200 +++ /var/tmp/diff_new_pack.bZbTiS/_new 2020-10-02 17:35:08.602661337 +0200 @@ -33,6 +33,8 @@ BuildRequires: ruby-devel BuildRequires: swig Source: %{name}-%{version}.tar.bz2 +# PATCH-FIX-OPENSUSE - adapt to newer CMake kkae...@suse.de +Patch1: libyui-bindings-2.0.2.patch Prefix: /usr %description @@ -48,6 +50,7 @@ %prep %setup -q +%patch1 -p1 %build mkdir build @@ -55,7 +58,7 @@ cmake -DYPREFIX=%{prefix} \ -DCMAKE_INSTALL_PREFIX=%{prefix} \ -DLIB=%{_lib} \ - -DPYTHON_SITEDIR=%{python_sitelib} \ + -DPYTHON_SITEDIR=%{python3_sitelib} \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \ @@ -130,8 +133,8 @@ %files -n python3-yui %defattr(-,root,root,-) %doc swig/python/examples/*.py -%{python_sitelib}/_yui.so -%{python_sitelib}/yui.py +%{python3_sitelib}/_yui.so +%{python3_sitelib}/yui.py %files -n perl-yui %defattr(-,root,root,-) ++++++ libyui-bindings-2.0.2.patch ++++++ diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-libyui-bindings-2.0.2/swig/ruby/CMakeLists.txt ./swig/ruby/CMakeLists.txt --- ../orig-libyui-bindings-2.0.2/swig/ruby/CMakeLists.txt 2020-05-27 09:55:17.000000000 +0200 +++ ./swig/ruby/CMakeLists.txt 2020-09-30 15:22:04.761793048 +0200 @@ -6,9 +6,12 @@ EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['vendorarchdir']" OUTPUT_VARIABLE RUBY_VENDOR_ARCH_DIR) STRING(REGEX REPLACE "^/usr/" "${CMAKE_INSTALL_PREFIX}/" RUBY_VENDOR_ARCH_DIR "${RUBY_VENDOR_ARCH_DIR}") +EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['vendorlibdir']" OUTPUT_VARIABLE RUBY_VENDORLIB_DIR) +STRING(REGEX REPLACE "^/usr/" "${CMAKE_INSTALL_PREFIX}/" RUBY_VENDORLIB_DIR "${RUBY_VENDORLIB_DIR}") MESSAGE(STATUS "Ruby executable: ${RUBY_EXECUTABLE}") MESSAGE(STATUS "Ruby vendor arch dir: ${RUBY_VENDOR_ARCH_DIR}") +MESSAGE(STATUS "Ruby vendorlib dir: ${RUBY_VENDORLIB_DIR}") MESSAGE(STATUS "Ruby include path: ${RUBY_INCLUDE_PATH}") SET( SWIG_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/yui_ruby.cxx" )