From f021329ec8c50f8a849139341d05eb746c71654f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 1 Apr 2021 15:07:40 +0200 Subject: add patch to fix version in cmake file from https://github.com/alanxz/rabbitmq-c/pull/667 --- librabbitmq.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'librabbitmq.spec') diff --git a/librabbitmq.spec b/librabbitmq.spec index ba34365..fd0e1ff 100644 --- a/librabbitmq.spec +++ b/librabbitmq.spec @@ -28,7 +28,7 @@ Name: %{libname} %endif Summary: Client library for AMQP Version: 0.11.0 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: https://github.com/alanxz/rabbitmq-c @@ -36,6 +36,8 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{g # don't install static library Patch0: %{gh_project}-static.patch +# fix version for cmake module +Patch1: %{gh_project}-version.patch BuildRequires: gcc BuildRequires: cmake > 2.8 @@ -97,6 +99,7 @@ amqp-publish Publish a message on an AMQP server %prep %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 +%patch1 -p1 # Copy sources to be included in -devel docs. cp -pr examples Examples @@ -179,6 +182,10 @@ make test ## NOTICE: 0.8.0 available in RHEL 7.5, 0.9.0 in RHEL 8.0 %changelog +* Thu Apr 1 2021 Remi Collet - 0.11.0-2 +- add patch to fix version in cmake file from + https://github.com/alanxz/rabbitmq-c/pull/667 + * Thu Apr 1 2021 Remi Collet - 0.11.0-1 - update to 0.11.0 - add patch to not install the static library, from -- cgit