修改门禁失败

This commit is contained in:
liuheng 2024-11-22 11:47:21 +08:00
parent bce3f0b357
commit 960965243d

View File

@ -1,6 +1,6 @@
Name: aws-sdk-cpp Name: aws-sdk-cpp
Version: 1.11.327 Version: 1.11.327
Release: 1 Release: 2
Summary: The AWS SDK for C++ provides a modern C++ interface for AWS Summary: The AWS SDK for C++ provides a modern C++ interface for AWS
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/aws/aws-sdk-cpp.git 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 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. for Amazon Web Services (AWS). This package contains the S3 component.
%global debug_package %{nil}
%prep %prep
%autosetup -p1 %autosetup -p1
%build %build
install -d %{_vpath_builddir} mkdir -p tmp_build
cd %{_vpath_builddir} pushd tmp_build
%{cmake} .. \ %{cmake} .. \
-DBUILD_ONLY="s3" \ -DBUILD_ONLY="s3" \
-DCMAKE_CXX_FLAGS="%{optflags} -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -fstack-protector-strong" \ -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 \ -DCMAKE_BUILD_TYPE=Release \
-DAUTORUN_UNIT_TESTS=OFF -DAUTORUN_UNIT_TESTS=OFF
cd .. %make_build -s %{?_smp_mflags}
%make_build -s %{?_smp_mflags} -C %{_vpath_builddir} popd
%install %install
make install -s %{?_smp_mflags} -C %{_vpath_builddir} DESTDIR=%{buildroot} pushd tmp_build
make install -s %{?_smp_mflags} DESTDIR=%{buildroot}
popd
%files %files
%doc %doc
%defattr(644,root,root,-) %defattr(-,root,root)
%{_prefix}/include/* %{_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 %changelog
* Thu Nov 7 2024 liuheng <hengliue@163.com> - 1.11.327-9 * Fri Nov 22 2024 liuheng <hengliue@163.com> - 1.11.327-2
- Initial package - fix bug
* Thu Nov 7 2024 liuheng <hengliue@163.com> - 1.11.327-1
- Initial package