Accepting request 1243443 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1243443 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aws-c-s3?expand=0&rev=16
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
diff -Nru aws-c-s3-0.1.29.orig/CMakeLists.txt aws-c-s3-0.1.29/CMakeLists.txt
|
||||
--- aws-c-s3-0.1.29.orig/CMakeLists.txt 2021-12-02 23:07:39.000000000 +0000
|
||||
+++ aws-c-s3-0.1.29/CMakeLists.txt 2021-12-09 13:34:21.908897209 +0000
|
||||
@@ -20,17 +20,12 @@
|
||||
endif()
|
||||
|
||||
|
||||
-if (UNIX AND NOT APPLE)
|
||||
- include(GNUInstallDirs)
|
||||
-elseif(NOT DEFINED CMAKE_INSTALL_LIBDIR)
|
||||
- set(CMAKE_INSTALL_LIBDIR "lib")
|
||||
-endif()
|
||||
+find_package(aws-c-common REQUIRED)
|
||||
+find_package(aws-checksums REQUIRED)
|
||||
+set(CMAKE_MODULE_PATH ${aws-c-common_DIR})
|
||||
|
||||
-# This is required in order to append /lib/cmake to each element in CMAKE_PREFIX_PATH
|
||||
-set(AWS_MODULE_DIR "/${CMAKE_INSTALL_LIBDIR}/cmake")
|
||||
-string(REPLACE ";" "${AWS_MODULE_DIR};" AWS_MODULE_PATH "${CMAKE_PREFIX_PATH}${AWS_MODULE_DIR}")
|
||||
-# Append that generated list to the module search path
|
||||
-list(APPEND CMAKE_MODULE_PATH ${AWS_MODULE_PATH})
|
||||
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/modules")
|
||||
+include(GNUInstallDirs)
|
||||
|
||||
include(AwsCFlags)
|
||||
include(AwsCheckHeaders)
|
||||
@@ -109,7 +104,7 @@
|
||||
endif()
|
||||
|
||||
install(EXPORT "${PROJECT_NAME}-targets"
|
||||
- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/${TARGET_DIR}/"
|
||||
+ DESTINATION "${LIB_INSTALL_DIR}/cmake/${CMAKE_PROJECT_NAME}/${TARGET_DIR}/"
|
||||
NAMESPACE AWS::
|
||||
COMPONENT Development)
|
||||
|
||||
@@ -118,7 +113,7 @@
|
||||
@ONLY)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake"
|
||||
- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/"
|
||||
+ DESTINATION "${LIB_INSTALL_DIR}/cmake/${CMAKE_PROJECT_NAME}"
|
||||
COMPONENT Development)
|
||||
|
||||
include(CTest)
|
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 11:41:34 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 0.7.11
|
||||
* A bunch of CMake fixes by @graebm in (#480)
|
||||
- from version 0.7.10
|
||||
* Auto - Update S3 Ruleset & Partition by @waahm7 in (#491)
|
||||
* S3Express CreateSession Allowlist Headers by @waahm7 in (#492)
|
||||
- Drop acs_fix-cmake-modules-path.patch, fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 13:47:00 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@@ -19,14 +19,13 @@
|
||||
%define library_version 1.0.0
|
||||
%define library_soversion 0unstable
|
||||
Name: aws-c-s3
|
||||
Version: 0.7.9
|
||||
Version: 0.7.11
|
||||
Release: 0
|
||||
Summary: AWS Cross-Platform, C99 wrapper for cryptography primitives
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/awslabs/aws-c-s3
|
||||
Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz
|
||||
Patch0: acs_fix-cmake-modules-path.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: ninja
|
||||
|
3
v0.7.11.tar.gz
Normal file
3
v0.7.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6602c92c8b4602dee50636f4128a7842f7359314d030db35368120491b3582bc
|
||||
size 356743
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1942161f9b9d656604a0efeb1387ad99d67d1f2d09154e0395c8bf5da2a39b7a
|
||||
size 355007
|
Reference in New Issue
Block a user