!2 修改门禁失败
From: @hengliue Reviewed-by: @zhengzhenyu Signed-off-by: @zhengzhenyu
This commit is contained in:
commit
2c122eaad0
@ -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 <hengliue@163.com> - 1.11.327-9
|
||||
- Initial package
|
||||
* Fri Nov 22 2024 liuheng <hengliue@163.com> - 1.11.327-2
|
||||
- fix bug
|
||||
|
||||
* Thu Nov 7 2024 liuheng <hengliue@163.com> - 1.11.327-1
|
||||
- Initial package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user