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 de799c8..a40991b 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 @@ -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 - 0.9.0-7 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Fix instructions for default build + * Fri Jul 30 2021 chenyanpanHW - 0.9.0-6 - DESC: delete -Sgit from %autosetup, and delete BuildRequires git