commit d507ef571179e08f33b81768c3c42015462e0da029ce8b5e62da98908b9ff775 Author: Marcus Meissner Date: Fri Jan 10 13:29:35 2025 +0000 - Update to version 0.2.2 * Switch CI to use Roles by @DmitriyMusatkin in (#49) * Update Config File Parsing Logic to Parse Services Section by @waahm7 in (#51) OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-sdkutils?expand=0&rev=27 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/acs_fix-cmake-modules-path.patch b/acs_fix-cmake-modules-path.patch new file mode 100644 index 0000000..5780321 --- /dev/null +++ b/acs_fix-cmake-modules-path.patch @@ -0,0 +1,41 @@ +diff -Nru aws-c-sdkutils-0.1.2.orig/CMakeLists.txt aws-c-sdkutils-0.1.2/CMakeLists.txt +--- aws-c-sdkutils-0.1.2.orig/CMakeLists.txt 2022-02-07 21:12:21.000000000 +0000 ++++ aws-c-sdkutils-0.1.2/CMakeLists.txt 2022-04-28 13:37:14.026977223 +0000 +@@ -16,18 +16,11 @@ + 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() +- +-# 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}) ++find_package(aws-c-common REQUIRED) ++set(CMAKE_MODULE_PATH ${aws-c-common_DIR}) ++ + list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/modules") ++include(GNUInstallDirs) + + include(AwsCFlags) + include(AwsCheckHeaders) +@@ -94,12 +87,12 @@ + 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) + + 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) + + install(FILES ${EXPORT_MODULES} diff --git a/aws-c-sdkutils.changes b/aws-c-sdkutils.changes new file mode 100644 index 0000000..a60e2bf --- /dev/null +++ b/aws-c-sdkutils.changes @@ -0,0 +1,148 @@ +------------------------------------------------------------------- +Thu Jan 9 10:39:28 UTC 2025 - John Paul Adrian Glaubitz + +- Update to version 0.2.2 + * Switch CI to use Roles by @DmitriyMusatkin in (#49) + * Update Config File Parsing Logic to Parse Services + Section by @waahm7 in (#51) + +------------------------------------------------------------------- +Tue Nov 12 12:50:34 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.2.1 + * chore: Modified bug issue template to add checkbox to + report potential regression. by @ashishdhingra in (#45) + * Add cxx support by @subdiox in (#48) + +------------------------------------------------------------------- +Thu Oct 24 12:39:30 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.2.0 + * Update CMake to 3.9 by @waahm7 in (#47) + +------------------------------------------------------------------- +Wed Aug 7 13:37:56 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.1.19 + * Lets make string array const input by @DmitriyMusatkin in (#44) +- from version 0.1.18 + * Switch to more efficient functions for json parsing + by @DmitriyMusatkin in (#43) +- from version 0.1.17 + * clang-format 18 by @graebm in (#40) + * Update MacOS to arm64 by @waahm7 in (#41) + * Add support for string array request parameter to + endpoint resolution by @DmitriyMusatkin in (#42) + +------------------------------------------------------------------- +Tue Jun 4 13:17:05 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.1.16 + * Remove is IPv4/IPv6 functions utils from sdkutils to c-common + by @waahm7 in (#39) + +------------------------------------------------------------------- +Sun Mar 17 19:17:53 UTC 2024 - Dirk Müller + +- update to 0.1.15: + * Fix a bunch of places we forget to aws_raise_error() + +------------------------------------------------------------------- +Tue Feb 20 11:15:49 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + +------------------------------------------------------------------- +Sat Jan 27 16:41:37 UTC 2024 - Dirk Müller + +- fix naming to match shlib policy + +------------------------------------------------------------------- +Fri Jan 26 12:12:32 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 0.1.14 + * Add minimal regex matcher by @DmitriyMusatkin in (#37) + +------------------------------------------------------------------- +Wed Dec 13 09:02:27 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.1.13 + * Minor CMakelists.txt cleanup by @graebm in (#34) + * Added workflow for handling answerable + discussions by @yasminetalby in (#35) + * Add partition mapping for iso-e and + iso-f by @DmitriyMusatkin in (#36) + +------------------------------------------------------------------- +Tue Jul 25 08:53:12 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.1.12 + * aws_profile: Reduce logging verbosity of the + ~/.aws/profile parser by @grrtrr in (#31) + +------------------------------------------------------------------- +Wed May 31 14:25:11 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.1.11 + * Update time to ancient by @jmklix in (#29) + * Update the behavior for profile override by @TingDaoK in (#30) + +------------------------------------------------------------------- +Tue May 16 09:44:19 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.1.10 + * Fix warnings in public headers by @waahm7 in (#28) + +------------------------------------------------------------------- +Thu May 4 12:59:06 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.1.9 + * Add github templates and bots by @jmklix in (#27) + * Explicit void parameter for aws_endpoints_rule_engine_init + by @sdavtaker in (#25) + +------------------------------------------------------------------- +Wed Mar 15 10:55:42 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 0.1.8 + * Fix comment to correct type by @waahm7 in (#21) + * Add codecov action by @TingDaoK in (#22) + * Add Reference Count to Profile Collection by @waahm7 in (#23) + * Update parsing logic to include sso-session by @waahm7 in (#24) + +------------------------------------------------------------------- +Tue Nov 22 11:52:27 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.1.7 + * Update CI to fix downstream build by @waahm7 in (#18) + * Fix handling of description in partitions file by @DmitriyMusatkin in (#20) + +------------------------------------------------------------------- +Fri Nov 11 12:57:59 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.1.6 + * Ep2 mem leak by @DmitriyMusatkin in (#19) +- from version 0.1.5 + * Fix build warning in ruleset parser by @DmitriyMusatkin in (#17) +- from version 0.1.4 + * Endpoints20 parsing by @DmitriyMusatkin in (#13) + * Add AppVerifier to CI by @TwistedTwigleg in (#14) + * Endpoint Resolution Rule Engine by @DmitriyMusatkin in (#15) + * Fix bug in resolving templates if strings contain escaped quotes + by @DmitriyMusatkin in (#16) + +------------------------------------------------------------------- +Fri Sep 2 09:53:49 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 0.1.3 + * Load cmake target fallback by @TingDaoK in (#11) + * Add readme by @DmitriyMusatkin in (#12) +- Add rpmlint override for bogus shlib-policy-name-error + * aws-c-sdkutils-rpmlintrc + +------------------------------------------------------------------- +Thu Apr 28 13:46:17 UTC 2022 - John Paul Adrian Glaubitz + +- Initial build + + Version 0.1.2 diff --git a/aws-c-sdkutils.spec b/aws-c-sdkutils.spec new file mode 100644 index 0000000..a8c203d --- /dev/null +++ b/aws-c-sdkutils.spec @@ -0,0 +1,89 @@ +# +# spec file for package aws-c-sdkutils +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define library_version 1.0.0 +%define library_pkg 1_0_0 +%define library_soversion 1 +Name: aws-c-sdkutils +Version: 0.2.2 +Release: 0 +Summary: AWS C SDK Utils +License: Apache-2.0 +Group: Development/Libraries/C and C++ +URL: https://github.com/awslabs/aws-c-sdkutils +Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz +Patch0: acs_fix-cmake-modules-path.patch +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: ninja +BuildRequires: cmake(aws-c-common) + +%description +AWS C SDK Utils + +%package -n lib%{name}%{library_pkg} +Summary: AWS C SDK Utils +Group: System/Libraries + +%description -n lib%{name}%{library_pkg} +AWS C SDK Utils + +This package contains the dynamically linked library. + +%package devel +Summary: Development files for aws-c-sdkutils library +Group: Development/Libraries/C and C++ +Requires: lib%{name}%{library_pkg} = %{version} + +%description devel +AWS C SDK Utils + +This package contains the development files. + +%prep +%autosetup -p1 + +%build +%define __builder ninja +%cmake \ + -DCMAKE_BUILD_TYPE=Release +%make_jobs + +%check +export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build +%ctest + +%install +%cmake_install +ln -s lib%{name}.so.%{library_version} %{buildroot}%{_libdir}/lib%{name}.so.%{library_soversion} + +%post -n lib%{name}%{library_pkg} -p /sbin/ldconfig +%postun -n lib%{name}%{library_pkg} -p /sbin/ldconfig + +%files -n lib%{name}%{library_pkg} +%doc NOTICE README.md +%license LICENSE +%{_libdir}/*.so.%{library_soversion} +%{_libdir}/*.so.%{library_version} + +%files devel +%{_libdir}/cmake/ +%{_libdir}/*.so +%{_includedir}/* + +%changelog diff --git a/v0.1.16.tar.gz b/v0.1.16.tar.gz new file mode 100644 index 0000000..a664f00 --- /dev/null +++ b/v0.1.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a818563d7c6636b5b245f5d22d4d7c804fa33fc4ea6976e9c296d272f4966d3 +size 77597 diff --git a/v0.1.19.tar.gz b/v0.1.19.tar.gz new file mode 100644 index 0000000..de74d9c --- /dev/null +++ b/v0.1.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66bd7a8679703386aec1539407aaed0942a78032fe340ab44e810a3cf6d7e505 +size 79159 diff --git a/v0.2.0.tar.gz b/v0.2.0.tar.gz new file mode 100644 index 0000000..fc328e0 --- /dev/null +++ b/v0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c73caa1c0ebde71b357d05a8f0ff6c1be09b32e0935b16d7385c9342f3e59c2 +size 79105 diff --git a/v0.2.1.tar.gz b/v0.2.1.tar.gz new file mode 100644 index 0000000..e4fe721 --- /dev/null +++ b/v0.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17bdec593f3ae8a837622ef81055db81cc2dd14b86d33b21df878a7ab918d0e4 +size 79610 diff --git a/v0.2.2.tar.gz b/v0.2.2.tar.gz new file mode 100644 index 0000000..cada4d5 --- /dev/null +++ b/v0.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75defbfd4d896b8bdc0790bd25d854218acae61b9409d1956d33832924b82045 +size 79984