forked from pool/aws-c-event-stream
Accepting request 856429 from home:glaubitz:branches:devel:libraries:c_c++
- Update to 0.2.6
+ Fix possible deadlock from on_closed callback
* Release lock before invoking callbacks (#55)
- Add libaws-c-cal-devel to BuildRequires
- Add libopenssl-devel to BuildRequires
- Add patch to re-add SOVERSION to library
+ aces_re-add-so-version.patch
- Bump library_soversion to 1
- Disable testsuite as it requires an internet connection now
OBS-URL: https://build.opensuse.org/request/show/856429
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-event-stream?expand=0&rev=11
This commit is contained in:
11
aces_re-add-so-version.patch
Normal file
11
aces_re-add-so-version.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
diff -Nru aws-c-event-stream-0.2.5.orig/CMakeLists.txt aws-c-event-stream-0.2.5/CMakeLists.txt
|
||||||
|
--- aws-c-event-stream-0.2.5.orig/CMakeLists.txt 2020-11-13 21:29:52.000000000 +0100
|
||||||
|
+++ aws-c-event-stream-0.2.5/CMakeLists.txt 2020-11-26 17:32:23.861160125 +0100
|
||||||
|
@@ -71,6 +71,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION 1.0.0)
|
||||||
|
+set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES SOVERSION 1)
|
||||||
|
|
||||||
|
aws_use_package(aws-c-io)
|
||||||
|
aws_use_package(aws-c-common)
|
||||||
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 16 11:51:20 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.2.6
|
||||||
|
+ Fix possible deadlock from on_closed callback
|
||||||
|
* Release lock before invoking callbacks (#55)
|
||||||
|
- Add libaws-c-cal-devel to BuildRequires
|
||||||
|
- Add libopenssl-devel to BuildRequires
|
||||||
|
- Add patch to re-add SOVERSION to library
|
||||||
|
+ aces_re-add-so-version.patch
|
||||||
|
- Bump library_soversion to 1
|
||||||
|
- Disable testsuite as it requires an internet connection now
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 26 16:12:56 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Thu Nov 26 16:12:56 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -15,11 +15,12 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%bcond_with test
|
||||||
|
|
||||||
%define library_version 1.0.0
|
%define library_version 1.0.0
|
||||||
%define library_soversion 0unstable
|
%define library_soversion 1
|
||||||
Name: aws-c-event-stream
|
Name: aws-c-event-stream
|
||||||
Version: 0.2.5
|
Version: 0.2.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C99 implementation of the vnd.amazon.eventstream content-type
|
Summary: C99 implementation of the vnd.amazon.eventstream content-type
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -27,11 +28,14 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://github.com/awslabs/aws-c-event-stream
|
URL: https://github.com/awslabs/aws-c-event-stream
|
||||||
Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz
|
Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz
|
||||||
Patch0: aces_fix-cmake-modules-path.patch
|
Patch0: aces_fix-cmake-modules-path.patch
|
||||||
|
Patch1: aces_re-add-so-version.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: libaws-c-cal-devel
|
||||||
BuildRequires: libaws-c-common-devel
|
BuildRequires: libaws-c-common-devel
|
||||||
BuildRequires: libaws-c-io-devel
|
BuildRequires: libaws-c-io-devel
|
||||||
BuildRequires: libaws-checksums-devel
|
BuildRequires: libaws-checksums-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libs2n-devel
|
BuildRequires: libs2n-devel
|
||||||
BuildRequires: ninja
|
BuildRequires: ninja
|
||||||
|
|
||||||
@@ -60,6 +64,7 @@ This package contains the development files.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define __builder ninja
|
%define __builder ninja
|
||||||
@@ -67,9 +72,12 @@ This package contains the development files.
|
|||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
|
# Testsuite requires internet connection, so it won't work
|
||||||
%check
|
%check
|
||||||
export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build/lib
|
%if %{with test}
|
||||||
|
export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build
|
||||||
%ctest
|
%ctest
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:051eac92b8d5955e2c83dcd42de94faa47854f8590ee884027ac0c9ba4c1bcbc
|
|
||||||
size 61949
|
|
||||||
3
v0.2.6.tar.gz
Normal file
3
v0.2.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bae0c762b6a4b779a0db0f4730512da6cb500e76681ffdcb9f7286d8e26e547a
|
||||||
|
size 63052
|
||||||
Reference in New Issue
Block a user