Hello community, here is the log from the commit of package libtins for openSUSE:Factory checked in at 2020-09-17 14:58:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libtins (Old) and /work/SRC/openSUSE:Factory/.libtins.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtins" Thu Sep 17 14:58:44 2020 rev:4 rq:835006 version:4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libtins/libtins.changes 2017-06-12 15:33:52.444155207 +0200 +++ /work/SRC/openSUSE:Factory/.libtins.new.4249/libtins.changes 2020-09-17 15:08:04.220893997 +0200 @@ -1,0 +2,9 @@ +Tue Jul 7 19:33:54 UTC 2020 - Ludger Dreier <[email protected]> + +- Update to version 4.2 +- build-patch adapted + * add libtins-4.2_build.patch: for new version + * remove libtins-3.5_build.patch: now outdated +- use source download service + +------------------------------------------------------------------- Old: ---- libtins-3.5.tar.gz libtins-3.5_build.patch New: ---- _service libtins-4.2_build.patch v4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libtins.spec ++++++ --- /var/tmp/diff_new_pack.y9gT1i/_old 2020-09-17 15:08:05.940895631 +0200 +++ /var/tmp/diff_new_pack.y9gT1i/_new 2020-09-17 15:08:05.944895634 +0200 @@ -1,7 +1,7 @@ # # spec file for package libtins # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,21 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define soname 3 +%define libname libtins4_2 Name: libtins -Version: 3.5 +Version: 4.2 Release: 0 Summary: C++ library for manipulating raw network packets License: BSD-2-Clause Group: Productivity/Networking/Other -Url: http://libtins.github.io/ -Source0: https://github.com/mfontanini/libtins/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM build.patch [email protected] Place the package file in LIB_INSTALL_DIR/cmake -Patch0: libtins-3.5_build.patch +URL: http://libtins.github.io/ +Source0: https://github.com/mfontanini/%{name}/archive/v%{version}.tar.gz +Patch0: libtins-4.2_build.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libpcap-devel @@ -39,18 +38,18 @@ The library provides a C++ interface for creating tools which need to send, receive and manipulate specially crafted packets. -%package -n %{name}%{soname} +%package -n %{libname} Summary: C++ library for manipulating raw network packets Group: System/Libraries -%description -n %{name}%{soname} +%description -n %{libname} The library provides a C++ interface for creating tools which need to send, receive and manipulate specially crafted packets. %package devel Summary: Development files for tins Group: Development/Libraries/C and C++ -Requires: %{name}%{soname} = %{version} +Requires: %{libname} = %{version} Requires: libpcap-devel %description devel @@ -67,13 +66,14 @@ %install %make_install -C build -%post -n %{name}%{soname} -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig -%postun -n %{name}%{soname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%files -n %{name}%{soname} +%files -n %{libname} %defattr(-,root,root) -%doc CHANGES.md LICENSE README.md THANKS +%doc CHANGES.md README.md THANKS +%license LICENSE %{_libdir}/%{name}.so.* %files devel @@ -81,6 +81,6 @@ %{_includedir}/tins %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/%{name}.so -%{_libdir}/cmake/tins +%{_libdir}/cmake/libtins %changelog ++++++ _service ++++++ <services> <service name="download_url" mode="localonly"> <param name="protocol">https</param> <param name="host">github.com</param> <param name="path">/mfontanini/libtins/archive/v4.2.tar.gz</param> </service> <service name="verify_file" mode="localonly"> <param name="file">v4.2.tar.gz</param> <param name="verifier">sha256</param> <param name="checksum">a9fed73e13f06b06a4857d342bb30815fa8c359d00bd69547e567eecbbb4c3a1</param> </service> </services> ++++++ libtins-3.5_build.patch -> libtins-4.2_build.patch ++++++ --- /work/SRC/openSUSE:Factory/libtins/libtins-3.5_build.patch 2017-05-31 12:19:27.178850000 +0200 +++ /work/SRC/openSUSE:Factory/.libtins.new.4249/libtins-4.2_build.patch 2020-09-17 15:08:03.872893667 +0200 @@ -1,50 +1,21 @@ -Index: libtins-3.5/CMakeLists.txt -=================================================================== ---- libtins-3.5.orig/CMakeLists.txt -+++ libtins-3.5/CMakeLists.txt -@@ -232,7 +232,7 @@ CONFIGURE_FILE( +diff -u libtins-4.2.orig/CMakeLists.txt libtins-4.2/CMakeLists.txt +--- libtins-4.2.orig/CMakeLists.txt 2019-03-08 05:16:02.000000000 +0100 ++++ libtins-4.2/CMakeLists.txt 2020-06-30 20:46:47.526556187 +0200 +@@ -232,7 +232,7 @@ ) - # Support for pkg-config --SET(CMAKE_INSTALL_LIBDIR lib) -+SET(CMAKE_INSTALL_LIBDIR lib${LIB_SUFFIX}) - SET(pkgconfig_prefix ${CMAKE_INSTALL_PREFIX}) - SET(pkgconfig_exec_prefix ${CMAKE_INSTALL_PREFIX}) - SET(pkgconfig_libdir ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}) -@@ -324,13 +324,13 @@ INSTALL( - FILES - "${PROJECT_BINARY_DIR}/libtinsConfig.cmake" - "${PROJECT_BINARY_DIR}/libtinsConfigVersion.cmake" -- DESTINATION CMake -+ DESTINATION lib${LIB_SUFFIX}/cmake/tins - COMPONENT dev - ) - - # Install the export set for use with the install-tree - INSTALL( - EXPORT libtinsTargets -- DESTINATION CMake -+ DESTINATION lib${LIB_SUFFIX}/cmake/tins - COMPONENT dev - ) -Index: libtins-3.5/src/CMakeLists.txt -=================================================================== ---- libtins-3.5.orig/src/CMakeLists.txt -+++ libtins-3.5/src/CMakeLists.txt -@@ -92,13 +92,13 @@ ADD_LIBRARY( - TARGET_LINK_LIBRARIES(tins ${PCAP_LIBRARY} ${OPENSSL_LIBRARIES} ${LIBTINS_OS_LIBS}) + IF (NOT CMAKE_INSTALL_LIBDIR) +- SET(CMAKE_INSTALL_LIBDIR lib) ++ SET(CMAKE_INSTALL_LIBDIR lib${LIB_SUFFIX}) + ENDIF() + IF (NOT CMAKE_INSTALL_BINDIR) + SET(CMAKE_INSTALL_BINDIR bin) +@@ -312,7 +312,7 @@ + # ********************************** - SET_TARGET_PROPERTIES(tins PROPERTIES OUTPUT_NAME tins) --SET_TARGET_PROPERTIES(tins PROPERTIES VERSION ${LIBTINS_VERSION} SOVERSION ${LIBTINS_VERSION} ) -+SET_TARGET_PROPERTIES(tins PROPERTIES VERSION ${LIBTINS_VERSION} SOVERSION ${LIBTINS_VERSION_MAJOR} ) - - # Install instructions for this target - INSTALL( - TARGETS tins - EXPORT libtinsTargets -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib -+ LIBRARY DESTINATION lib${LIB_SUFFIX} -+ ARCHIVE DESTINATION lib${LIB_SUFFIX} - COMPONENT dev - ) + if(UNIX) +- set(CONF_CMAKE_INSTALL_DIR lib/cmake/libtins) ++ set(CONF_CMAKE_INSTALL_DIR lib${LIB_SUFFIX}/cmake/libtins) + else() + set(CONF_CMAKE_INSTALL_DIR CMake) + endif()
