Hello community, here is the log from the commit of package bctoolbox for openSUSE:Factory checked in at 2017-08-29 11:38:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bctoolbox (Old) and /work/SRC/openSUSE:Factory/.bctoolbox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "bctoolbox" Tue Aug 29 11:38:23 2017 rev:4 rq:511946 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bctoolbox/bctoolbox.changes 2017-06-28 10:35:24.986761579 +0200 +++ /work/SRC/openSUSE:Factory/.bctoolbox.new/bctoolbox.changes 2017-08-29 11:38:24.468259817 +0200 @@ -1,0 +2,11 @@ +Thu Jul 20 11:20:31 UTC 2017 - sor.alexei@meowr.ru + +- Update to version 0.6.0: + * Add API to escape/unescape strings (SIP, VCARD). + * Bug fixes. +- Add bctoolbox-fix-pkgconfig.patch instead of requiring + pkgconfig(bcunit) and pkgconfig(zlib). +- Add bctoolbox-fix-no-git.patch sor.alexei@meowr.ru: Fix building + of dependent applications out-of-git. + +------------------------------------------------------------------- Old: ---- bctoolbox-0.5.1.tar.gz New: ---- bctoolbox-0.6.0.tar.gz bctoolbox-fix-no-git.patch bctoolbox-fix-pkgconfig.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bctoolbox.spec ++++++ --- /var/tmp/diff_new_pack.hrtxRT/_old 2017-08-29 11:38:25.384131137 +0200 +++ /var/tmp/diff_new_pack.hrtxRT/_new 2017-08-29 11:38:25.384131137 +0200 @@ -18,14 +18,18 @@ %define sover 1 Name: bctoolbox -Version: 0.5.1 +Version: 0.6.0 Release: 0 Summary: Utility library for software from Belledonne Communications License: GPL-2.0+ Group: Development/Libraries/C and C++ Url: https://linphone.org/ -Source0: https://linphone.org/releases/sources/bctoolbox/%{name}-%{version}.tar.gz +Source: https://linphone.org/releases/sources/%{name}/%{name}-%{version}.tar.gz Source1: baselibs.conf +# PATCH-FIX-OPENSUSE bctoolbox-fix-pkgconfig.patch +Patch0: bctoolbox-fix-pkgconfig.patch +# PATCH-FIX-OPENSUSE bctoolbox-fix-no-git.patch sor.alexei@meowr.ru -- Fix building of dependent applications out-of-git. +Patch1: bctoolbox-fix-no-git.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: mbedtls-devel @@ -44,8 +48,6 @@ Requires: lib%{name}%{sover} = %{version} Requires: lib%{name}-tester%{sover} = %{version} Requires: mbedtls-devel -Requires: pkgconfig(bcunit) -Requires: pkgconfig(zlib) %description devel Utilities library used by Belledonne Communications softwares like @@ -75,35 +77,37 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build %cmake \ - -DMBEDTLS_V2=yes \ - -DENABLE_TESTS_COMPONENT=yes \ - -DENABLE_TESTS=yes \ - -DENABLE_STATIC=no + -DMBEDTLS_V2=YES \ + -DENABLE_TESTS_COMPONENT=YES \ + -DENABLE_TESTS=YES \ + -DENABLE_STATIC=NO %make_jobs %install %cmake_install %post -n lib%{name}%{sover} -p /sbin/ldconfig + %postun -n lib%{name}%{sover} -p /sbin/ldconfig + %post -n lib%{name}-tester%{sover} -p /sbin/ldconfig + %postun -n lib%{name}-tester%{sover} -p /sbin/ldconfig %files -n lib%{name}%{sover} -%defattr(-,root,root) %doc COPYING %{_libdir}/lib%{name}.so.%{sover}* %files -n lib%{name}-tester%{sover} -%defattr(-,root,root) %doc COPYING %{_libdir}/lib%{name}-tester.so.%{sover}* %files devel -%defattr(-,root,root) %doc AUTHORS COPYING README.md %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/lib%{name}.so ++++++ bctoolbox-0.5.1.tar.gz -> bctoolbox-0.6.0.tar.gz ++++++ ++++ 3260 lines of diff (skipped) ++++++ bctoolbox-fix-no-git.patch ++++++ --- a/cmake/BcGitVersion.cmake +++ b/cmake/BcGitVersion.cmake @@ -49,6 +49,7 @@ elseif(GIT_REVISION) configure_file("${TEMPLATE_DIR}/gitversion.h.in" "${OUTPUT_DIR}/gitversion.h" @ONLY) else() if(NOT EXISTS "${OUTPUT_DIR}/gitversion.h") - execute_process(COMMAND ${CMAKE_COMMAND} -E touch "${OUTPUT_DIR}/gitversion.h") + set(PROJECT_GIT_VERSION "unknown") + configure_file("${TEMPLATE_DIR}/gitversion.h.in" "${OUTPUT_DIR}/gitversion.h" @ONLY) endif() endif() ++++++ bctoolbox-fix-pkgconfig.patch ++++++ --- a/bctoolbox.pc.in +++ b/bctoolbox.pc.in @@ -8,3 +8,4 @@ Version: @PROJECT_VERSION@ Libs: -L@CMAKE_INSTALL_FULL_LIBDIR@ -lbctoolbox Libs.private: @LIBS_PRIVATE@ Cflags: -I@CMAKE_INSTALL_FULL_INCLUDEDIR@ +Requires.private: bcunit zlib