Accepting request 1250050 from devel:libraries:c_c++

- Update to version 0.31.0
  * Update submodules by @sfod in (#711)
- from version 0.30.2
  * Support IPv6 endpoint by @sbera87 in (#707)
- Add patch to add missing SOVERSION to CMakeFiles.txt
  * acc_add-so-version.patch
- Add %{_libdir}/*.so.%{library_soversion} to %files section
- Add %{_libdir}/*.so.%{library_version} to %files section
- Run %ldconfig_scriptlets in %install section

OBS-URL: https://build.opensuse.org/request/show/1250050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aws-crt-cpp?expand=0&rev=25
This commit is contained in:
Ana Guerrero 2025-03-04 17:33:30 +00:00 committed by Git OBS Bridge
commit fc917e4cde
5 changed files with 37 additions and 6 deletions

13
acc_add-so-version.patch Normal file
View File

@ -0,0 +1,13 @@
diff -Nru aws-crt-cpp-0.31.0.orig/CMakeLists.txt aws-crt-cpp-0.31.0/CMakeLists.txt
--- aws-crt-cpp-0.31.0.orig/CMakeLists.txt 2025-02-25 21:44:05.000000000 +0000
+++ aws-crt-cpp-0.31.0/CMakeLists.txt 2025-02-27 12:14:32.348326331 +0000
@@ -311,6 +311,9 @@
endif()
endif()
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION 1.0.0)
+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION 1)
+
target_include_directories(${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${GENERATED_INCLUDE_DIR}>

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Feb 27 12:24:54 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.31.0
* Update submodules by @sfod in (#711)
- from version 0.30.2
* Support IPv6 endpoint by @sbera87 in (#707)
- Add patch to add missing SOVERSION to CMakeFiles.txt
* acc_add-so-version.patch
- Add %{_libdir}/*.so.%{library_soversion} to %files section
- Add %{_libdir}/*.so.%{library_version} to %files section
- Run %ldconfig_scriptlets in %install section
-------------------------------------------------------------------
Thu Feb 6 09:12:43 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package aws-crt-cpp
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,13 +20,14 @@
%define library_soversion 1
Name: aws-crt-cpp
Version: 0.30.1
Version: 0.31.0
Release: 0
Summary: AWS C++ wrapper for AWS SDK C libraries
License: Apache-2.0
Group: Development/Languages/Other
URL: https://aws.amazon.com/sdk-for-cpp/
Source0: https://github.com/awslabs/aws-crt-cpp/archive/v%{version}.tar.gz
Patch0: acc_add-so-version.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc
@ -128,15 +129,19 @@ This package contains development files.
#%%check
#%%ctest
%ldconfig_scriptlets -n lib%{name}%{library_soversion}
%files bin
%{_bindir}/*
%files -n lib%{name}%{library_soversion}
%doc README.md
%{_libdir}/libaws*so
%{_libdir}/*.so.%{library_soversion}
%{_libdir}/*.so.%{library_version}
%files devel
%{_includedir}/aws
%{_libdir}/*.so
%{_libdir}/cmake
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c83f9915333b6052f5a5ad1920405a5922a3fbf4732021f98dabc240cc1037d0
size 367122

3
v0.31.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e920a5da67f77a4e2cbceb0f8d3a279f57888cde0abeae19b58bc8374d1cb3d
size 367314