Hello community, here is the log from the commit of package libcorrect for openSUSE:Leap:15.2 checked in at 2020-02-19 18:44:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/libcorrect (Old) and /work/SRC/openSUSE:Leap:15.2/.libcorrect.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcorrect" Wed Feb 19 18:44:34 2020 rev:1 rq:775407 version:0.0.0+git.20180109 Changes: -------- New Changes file: --- /dev/null 2019-12-19 10:12:34.003146842 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.libcorrect.new.26092/libcorrect.changes 2020-02-19 18:44:35.278581756 +0100 @@ -0,0 +1,20 @@ +------------------------------------------------------------------- +Fri Mar 15 00:40:31 UTC 2019 - Jan Engelhardt <[email protected]> + +- Use same write style throughout the description. + +------------------------------------------------------------------- +Sat Mar 9 18:07:41 UTC 2019 - Martin Hauke <[email protected]> + +- Add patch: + * libcorrect-cmake-set-soversion.diff + +------------------------------------------------------------------- +Sun Jan 28 10:22:30 UTC 2018 - [email protected] + +- Update to upstream snapshot 0.0.0+git.20180109 + +------------------------------------------------------------------- +Mon Jun 5 14:03:45 UTC 2017 - [email protected] + +- Initial package, version 0.0.0+git.20170430 New: ---- _service _servicedata libcorrect-0.0.0+git.20180109.tar.xz libcorrect-cmake-libsuffix.diff libcorrect-cmake-set-soversion.diff libcorrect.changes libcorrect.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcorrect.spec ++++++ # # spec file for package libcorrect # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define sover 0_0_0 Name: libcorrect Version: 0.0.0+git.20180109 Release: 0 Summary: C library for Convolutional codes and Reed-Solomon License: BSD-3-Clause Group: System/Libraries URL: https://github.com/quiet/libcorrect Source: %{name}-%{version}.tar.xz Patch0: libcorrect-cmake-libsuffix.diff Patch1: libcorrect-cmake-set-soversion.diff BuildRequires: cmake BuildRequires: gcc-c++ %description libcorrect is a library for Forward Error Correction. By using libcorrect, extra redundancy can be encoded into a packet of data and then be sent across a lossy channel. When the packet is received, it can be decoded to recover the original, pre-encoded data. %package -n libcorrect%{sover} Summary: C library for Convolutional codes and Reed-Solomon Group: System/Libraries %description -n libcorrect%{sover} libcorrect is a library for Forward Error Correction. By using libcorrect, extra redundancy can be encoded into a packet of data and then be sent across a lossy channel. When the packet is received, it can be decoded to recover the original, pre-encoded data. libcorrect accomplishes this task with two algorithms, Convolutional codes and Reed-Solomon. Convolutional codes are robust to a constant background noise, while Reed-Solomon error correction is effective at dealing with noise that occurs in bursts. These algorithms have played an important role in telecommunications. libcorrect uses a Viterbi algorithm decoder to decode convolutional codes. %package devel Summary: Development files for libcorrect Group: Development/Libraries/C and C++ Requires: libcorrect%{sover} = %{version} %description devel libcorrect is a library for Forward Error Correction. By using libcorrect, extra redundancy can be encoded into a packet of data and then be sent across a lossy channel. When the packet is received, it can be decoded to recover the original, pre-encoded data. This subpackage contains libraries and header files for developing applications that want to make use of libcorrect. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %cmake %make_jobs %install %cmake_install %post -n libcorrect%{sover} -p /sbin/ldconfig %postun -n libcorrect%{sover} -p /sbin/ldconfig %files -n libcorrect%{sover} %license LICENSE %doc README.md %{_libdir}/libcorrect.so.0* %files devel %{_includedir}/correct*.h %{_libdir}/libcorrect.so %changelog ++++++ _service ++++++ <services> <service mode="disabled" name="tar_scm"> <param name="url">https://github.com/quiet/libcorrect</param> <param name="package-meta">yes</param> <param name="revision">master</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> <param name="filename">libcorrect</param> <param name="versionformat">0.0.0+git.%cd</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service mode="disabled" name="set_version"/> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/quiet/libcorrect</param> <param name="changesrevision">85c026df9aebeb61af448d2ffc151fe3e0c8f084</param></service></servicedata>++++++ libcorrect-cmake-libsuffix.diff ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index 8de9197..e73e2a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,7 @@ add_subdirectory(tools) # add_subdirectory(benchmarks) install(TARGETS correct correct_static - DESTINATION lib) + DESTINATION lib${LIB_SUFFIX}) install(FILES ${INSTALL_HEADERS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include") add_library(fec_shim_static EXCLUDE_FROM_ALL src/fec_shim.c ${correct_obj_files}) @@ -73,6 +73,6 @@ add_custom_target(fec-shim-h COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR add_custom_target(shim DEPENDS fec_shim_static fec_shim_shared fec-shim-h) install(TARGETS fec_shim_static fec_shim_shared - DESTINATION lib + DESTINATION lib${LIB_SUFFIX} OPTIONAL) install(FILES ${CMAKE_BINARY_DIR}/include/fec.h DESTINATION "${CMAKE_INSTALL_PREFIX}/include" OPTIONAL) ++++++ libcorrect-cmake-set-soversion.diff ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index fe8bbb7..9cc390d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,6 +59,7 @@ else() set(correct_obj_files $<TARGET_OBJECTS:correct-reed-solomon> $<TARGET_OBJECTS:correct-convolutional>) endif() add_library(correct SHARED ${correct_obj_files}) +set_property(TARGET correct PROPERTY SOVERSION 0.0.0) add_library(correct_static ${correct_obj_files}) set_target_properties(correct_static PROPERTIES OUTPUT_NAME "correct")
