summaryrefslogtreecommitdiffstats
path: root/librabbitmq.spec
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq.spec')
-rw-r--r--librabbitmq.spec9
1 files changed, 8 insertions, 1 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 0.11.0-1
- update to 0.11.0
- add patch to not install the static library, from