5
0

Accepting request 1244511 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1244511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liberasurecode?expand=0&rev=8
This commit is contained in:
2025-02-09 19:08:15 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 15 deletions

BIN
liberasurecode-1.6.3.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
liberasurecode-1.6.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Feb 8 15:47:16 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 1.6.5:
* Fix a segmentation fault when multiple liberasurecode_rs_vand
descriptors have been created then one of them is destroyed
* Fixed several compiler warnings regarding strict prototypes
- includes changes from 1.6.4:
* Fixed a bounds check in get_fragment_partition that could lead
to stray writes or segmentation faults
* Fixes for on non-Bash shells
-------------------------------------------------------------------
Thu May 5 06:33:30 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@@ -2,6 +2,7 @@
# spec file for package liberasurecode
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,11 +19,10 @@
%define libsoname liberasurecode1
Name: liberasurecode
Version: 1.6.3
Version: 1.6.5
Release: 0
Summary: Erasure Code API library with pluggable Erasure Code backends
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://github.com/openstack/liberasurecode
Source0: https://github.com/openstack/liberasurecode/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: automake
@@ -36,7 +36,6 @@ pluggable Erasure Code backends.
%package -n %{libsoname}
Summary: Erasure Code API library with pluggable Erasure Code backends
Group: System/Libraries
%description -n %{libsoname}
liberasurecode is an Erasure Code API library written in C with
@@ -44,28 +43,30 @@ pluggable Erasure Code backends.
%package devel
Summary: Development files for liberasurecode
Group: Development/Libraries/C and C++
Requires: %{libsoname} = %{version}
%description devel
Development files for the Unified Erasure Coding interface.
%prep
%setup -q
%autosetup -p1
%build
./autogen.sh
%configure --disable-static --disable-mmi
%configure \
--disable-static \
--disable-mmi \
%{nil}
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%check
%make_build test
%post -n %{libsoname} -p /sbin/ldconfig
%postun -n %{libsoname} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{libsoname}
%files -n %{libsoname}
%license COPYING
@@ -76,16 +77,13 @@ Development files for the Unified Erasure Coding interface.
%{_libdir}/liberasurecode_rs_vand.so.*
%files devel
%license COPYING
%{_includedir}/liberasurecode
%{_includedir}/config_liberasurecode.h
%{_includedir}/erasurecode*.h
%{_libdir}/libXorcode.la
%{_libdir}/libXorcode.so
%{_libdir}/liberasurecode.la
%{_libdir}/liberasurecode.so
%{_libdir}/libnullcode.la
%{_libdir}/libnullcode.so
%{_libdir}/liberasurecode_rs_vand.la
%{_libdir}/liberasurecode_rs_vand.so
%{_libdir}/pkgconfig/erasurecode-1.pc