delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:01:40 +08:00
parent 6678ce332d
commit 403b843cae
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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