From 45811e4461c78e87cb3a8d22b346ad8a101c28a3 Mon Sep 17 00:00:00 2001 From: mengwenhua Date: Fri, 6 Jan 2023 10:52:26 +0800 Subject: [PATCH] Fix instructions for default build Signed-off-by: mengwenhua --- ...1-Fix-instructions-for-default-build.patch | 26 +++++++++++++++++++ librabbitmq.spec | 9 ++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 backport-0001-Fix-instructions-for-default-build.patch diff --git a/backport-0001-Fix-instructions-for-default-build.patch b/backport-0001-Fix-instructions-for-default-build.patch new file mode 100644 index 0000000..86ad2f2 --- /dev/null +++ b/backport-0001-Fix-instructions-for-default-build.patch @@ -0,0 +1,26 @@ +From 1fa5f63e6ba34d6d29fea7db62fde1b2bf96d914 Mon Sep 17 00:00:00 2001 +From: Ross Cousens +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 + diff --git a/librabbitmq.spec b/librabbitmq.spec index 5409229..0b44f29 100644 --- a/librabbitmq.spec +++ b/librabbitmq.spec @@ -4,13 +4,14 @@ Name: librabbitmq Version: 0.9.0 -Release: 4 +Release: 5 Summary: The AMQP client library License: MIT 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 Patch6000: CVE-2019-18609.patch +Patch6001: backport-0001-Fix-instructions-for-default-build.patch BuildRequires: cmake > 2.8 BuildRequires: popt-devel > 1.14 @@ -67,6 +68,12 @@ make test %changelog +* Fri Jan 6 2023 mengwenhua - 0.9.0-5 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Fix instructions for default build + * Wed Sep 16 2020 zhanghua - 0.9.0-4 - Fix CVE-2019-18609