7
0

4 Commits

Author SHA256 Message Date
667ceff5a4 Accepting request 1243451 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1243451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aws-c-compression?expand=0&rev=4
2025-02-06 21:05:23 +00:00
8bd01b2a13 - Update to version 0.3.1
* chore: Modified bug issue template to add checkbox to
    report potential regression. by @ashishdhingra in (#69)
  * Switch CI to use roles by @DmitriyMusatkin in #71
  * A bunch of CMake fixes by @graebm in #72
- Drop acc_fix-cmake-modules-path.patch, fixed upstream

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-compression?expand=0&rev=11
2025-02-05 16:02:00 +00:00
517108e3a4 Accepting request 1218378 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1218378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aws-c-compression?expand=0&rev=3
2024-10-27 10:25:07 +00:00
6d4e21ccdf - Update to version 0.3.0
* Update CMake to 3.9 by @waahm7 in (#70)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-compression?expand=0&rev=9
2024-10-25 15:08:37 +00:00
5 changed files with 20 additions and 49 deletions

View File

@@ -1,44 +0,0 @@
diff -Nru aws-c-compression-0.2.14.orig/CMakeLists.txt aws-c-compression-0.2.14/CMakeLists.txt
--- aws-c-compression-0.2.14.orig/CMakeLists.txt 2021-07-19 16:32:41.000000000 +0000
+++ aws-c-compression-0.2.14/CMakeLists.txt 2021-10-11 10:20:05.895902762 +0000
@@ -13,17 +13,12 @@
file(TO_CMAKE_PATH "${CMAKE_INSTALL_PREFIX}" CMAKE_INSTALL_PREFIX)
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)
@@ -88,7 +83,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)
@@ -97,7 +92,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)
option(BUILD_HUFFMAN_GENERATOR "Whether or not to build the aws-c-common-huffman-generator tool" OFF)

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Jan 30 12:25:28 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.3.1
* chore: Modified bug issue template to add checkbox to
report potential regression. by @ashishdhingra in (#69)
* Switch CI to use roles by @DmitriyMusatkin in #71
* A bunch of CMake fixes by @graebm in #72
- Drop acc_fix-cmake-modules-path.patch, fixed upstream
-------------------------------------------------------------------
Thu Oct 24 12:15:37 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.3.0
* Update CMake to 3.9 by @waahm7 in (#70)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 19 15:49:52 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Mon Feb 19 15:49:52 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -19,14 +19,13 @@
%define library_version 1.0.0 %define library_version 1.0.0
%define library_soversion 1_0_0 %define library_soversion 1_0_0
Name: aws-c-compression Name: aws-c-compression
Version: 0.2.18 Version: 0.3.1
Release: 0 Release: 0
Summary: C99 implementation of Huffman encoding/decoding Summary: C99 implementation of Huffman encoding/decoding
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://github.com/awslabs/aws-c-compression URL: https://github.com/awslabs/aws-c-compression
Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz
Patch0: acc_fix-cmake-modules-path.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: cmake(aws-c-common) BuildRequires: cmake(aws-c-common)

View File

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

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

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