Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rapidyaml for openSUSE:Factory checked in at 2022-05-28 22:16:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rapidyaml (Old) and /work/SRC/openSUSE:Factory/.rapidyaml.new.2254 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rapidyaml" Sat May 28 22:16:29 2022 rev:2 rq:979542 version:0.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rapidyaml/rapidyaml.changes 2022-05-15 19:00:22.862407260 +0200 +++ /work/SRC/openSUSE:Factory/.rapidyaml.new.2254/rapidyaml.changes 2022-05-28 22:16:43.580992917 +0200 @@ -1,0 +2,5 @@ +Fri May 20 15:37:54 UTC 2022 - Yunhe Guo <[email protected]> + +- Add cmake.patch to fix lib path on 64bit system + +------------------------------------------------------------------- New: ---- cmake.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rapidyaml.spec ++++++ --- /var/tmp/diff_new_pack.H6HoXc/_old 2022-05-28 22:16:44.156993630 +0200 +++ /var/tmp/diff_new_pack.H6HoXc/_new 2022-05-28 22:16:44.160993635 +0200 @@ -24,6 +24,7 @@ Group: Development/Libraries/C and C++ URL: https://github.com/biojppm/%{name} Source0: https://github.com/biojppm/%{name}/releases/download/v%{version}/%{name}-%{version}-src.tgz +Patch0: cmake.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: git @@ -61,7 +62,7 @@ This package contains development headers and examples. %prep -%autosetup -n %{name}-%{version}-src +%autosetup -n %{name}-%{version}-src -p1 %build %cmake @@ -70,11 +71,6 @@ %install %cmake_install -if [ "%{_libdir}" != "/usr/lib" ]; then - mkdir -p %{buildroot}%{_libdir} - mv %{buildroot}/usr/lib/* %{buildroot}%{_libdir}/ -fi - %post -n libc4core0_1_8 -p /sbin/ldconfig %postun -n libc4core0_1_8 -p /sbin/ldconfig %post -n libryml0_4_1 -p /sbin/ldconfig ++++++ cmake.patch ++++++ --- rapidyaml-0.4.1-src/ext/c4core/cmake/c4Project.cmake 2022-03-09 21:06:57.866051200 +0800 +++ rapidyaml-0.4.1-src-patched/ext/c4core/cmake/c4Project.cmake 2022-05-20 23:32:14.482375438 +0800 @@ -2649,8 +2649,8 @@ macro(_c4_setup_install_vars) set(_RUNTIME_INSTALL_DIR bin/) - set(_ARCHIVE_INSTALL_DIR lib/) - set(_LIBRARY_INSTALL_DIR lib/) # TODO on Windows, ARCHIVE and LIBRARY dirs must be different to prevent name clashes + set(_ARCHIVE_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/") + set(_LIBRARY_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/") set(_INCLUDE_INSTALL_DIR include/) set(_OBJECTS_INSTALL_DIR obj/) set(_SYSCONFIG_INSTALL_DIR etc/${_c4_lcprefix}/)
