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 e7baf8c..9559820 100644 --- a/librabbitmq.spec +++ b/librabbitmq.spec @@ -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 @@ -13,6 +13,8 @@ Source0: https://github.com/alanxz/%{project_name}/archive/%{git_commit}/%{pro Patch0000: CVE-2019-18609.patch Patch0001: rabbitmq-c-0.9.0-5.sw.patch +Patch6000: backport-0001-Fix-instructions-for-default-build.patch + BuildRequires: cmake > 2.8 BuildRequires: popt-devel > 1.14 BuildRequires: openssl-devel xmlto git gcc @@ -71,6 +73,12 @@ make test %changelog +* Fri Jan 6 2023 mengwenhua - 0.9.0-7 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Fix instructions for default build + * Wed Oct 26 2022 wuzx - 0.9.0-6 - Add sw64 architecture