From 960965243d5a28b238c3bd85c3bf29bc20f53cd7 Mon Sep 17 00:00:00 2001 From: liuheng Date: Fri, 22 Nov 2024 11:47:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=A8=E7=A6=81=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aws-sdk-cpp.spec | 41 +++++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/aws-sdk-cpp.spec b/aws-sdk-cpp.spec index 5177818..c28a71c 100644 --- a/aws-sdk-cpp.spec +++ b/aws-sdk-cpp.spec @@ -1,6 +1,6 @@ Name: aws-sdk-cpp Version: 1.11.327 -Release: 1 +Release: 2 Summary: The AWS SDK for C++ provides a modern C++ interface for AWS License: Apache-2.0 URL: https://github.com/aws/aws-sdk-cpp.git @@ -15,12 +15,14 @@ Requires: libcurl openssl zlib The AWS SDK for C++ provides a modern C++ (version C++ 11 or later) interface for Amazon Web Services (AWS). This package contains the S3 component. +%global debug_package %{nil} + %prep %autosetup -p1 %build -install -d %{_vpath_builddir} -cd %{_vpath_builddir} +mkdir -p tmp_build +pushd tmp_build %{cmake} .. \ -DBUILD_ONLY="s3" \ -DCMAKE_CXX_FLAGS="%{optflags} -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector-strong" \ @@ -30,22 +32,33 @@ cd %{_vpath_builddir} -DCMAKE_BUILD_TYPE=Release \ -DAUTORUN_UNIT_TESTS=OFF -cd .. -%make_build -s %{?_smp_mflags} -C %{_vpath_builddir} +%make_build -s %{?_smp_mflags} +popd %install -make install -s %{?_smp_mflags} -C %{_vpath_builddir} DESTDIR=%{buildroot} +pushd tmp_build +make install -s %{?_smp_mflags} DESTDIR=%{buildroot} +popd %files %doc -%defattr(644,root,root,-) -%{_prefix}/include/* +%defattr(-,root,root) +%{_prefix}/include/aws +%{_prefix}/include/s2n +%{_prefix}/include/s2n.h +%{_prefix}/include/smithy +%{_libdir}/aws* +%{_libdir}/cmake +%{_libdir}/libaws* +%{_libdir}/libs2n* +%{_libdir}/libtesting* +%{_libdir}/pkgconfig +%{_libdir}/s2n -%defattr(755,root,root,-) -%{_prefix}/lib64/* -%{_prefix}/lib/* -%{_prefix}/src/* %changelog -* Thu Nov 7 2024 liuheng - 1.11.327-9 -- Initial package \ No newline at end of file +* Fri Nov 22 2024 liuheng - 1.11.327-2 +- fix bug + +* Thu Nov 7 2024 liuheng - 1.11.327-1 +- Initial package -- Gitee