!13 Fix instructions for default build

From: @meng-wenhua 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-01-06 08:20:26 +00:00 committed by Gitee
commit b60aeb66fd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 1fa5f63e6ba34d6d29fea7db62fde1b2bf96d914 Mon Sep 17 00:00:00 2001
From: Ross Cousens <rcousens@users.noreply.github.com>
Date: Mon, 16 Jul 2018 10:18:04 +1000
Subject: [PATCH] Fix instructions for default build
The order of arguments were incorrect, --build must directly specify the directory afterwards.
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 5255315..b7776c6 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ systems are:
mkdir build && cd build
cmake ..
- cmake --build [--config Release] .
+ cmake --build . [--config Release]
The --config Release flag should be used in multi-configuration generators e.g.,
Visual Studio or XCode.
--
2.37.3.windows.1

View File

@ -4,7 +4,7 @@
Name: librabbitmq
Version: 0.9.0
Release: 6
Release: 7
Summary: The AMQP client library
License: MIT
URL: https://github.com/alanxz/rabbitmq-c
@ -12,6 +12,8 @@ URL: https://github.com/alanxz/rabbitmq-c
Source0: https://github.com/alanxz/%{project_name}/archive/%{git_commit}/%{project_name}-%{version}-%{git_short_commit}.tar.gz
Patch0000: CVE-2019-18609.patch
Patch6000: backport-0001-Fix-instructions-for-default-build.patch
BuildRequires: cmake > 2.8
BuildRequires: popt-devel > 1.14
BuildRequires: openssl-devel xmlto gcc
@ -67,6 +69,12 @@ make test
%changelog
* Fri Jan 6 2023 mengwenhua <mengwenhua@xfusion.com> - 0.9.0-7
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:Fix instructions for default build
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.9.0-6
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git