!9 librabbitmq delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-20 10:04:45 +00:00 committed by Gitee
commit f15a30e8ae

View File

@ -4,7 +4,7 @@
Name: librabbitmq
Version: 0.9.0
Release: 5
Release: 6
Summary: The AMQP client library
License: MIT
URL: https://github.com/alanxz/rabbitmq-c
@ -14,7 +14,7 @@ Patch0000: CVE-2019-18609.patch
BuildRequires: cmake > 2.8
BuildRequires: popt-devel > 1.14
BuildRequires: openssl-devel xmlto git gcc
BuildRequires: openssl-devel xmlto gcc
Provides: %{name}-tools
Obsoletes: %{name}-tools
@ -35,7 +35,7 @@ Summary: Help manual for %{name}
The %{name}-help package conatins man manual etc
%prep
%autosetup -n %{project_name}-%{git_commit} -p1 -Sgit
%autosetup -n %{project_name}-%{git_commit} -p1
sed -e '/test_basic/d' -i tests/CMakeLists.txt
%build
@ -67,6 +67,9 @@ make test
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.9.0-6
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 0.9.0-5
- fixes failed: No CMAKE_C_COMPILER could be found