[zeromq3] Rebuilt for openpm-5.2 and sed correct version into configure (#963894)

tomspur tomspur at fedoraproject.org
Fri May 17 13:05:21 UTC 2013


commit 4dff4b9dde1f32187176269d7b58b90c159745f9
Author: Thomas Spura <thomas.spura at gmail.com>
Date:   Fri May 17 15:05:16 2013 +0200

    Rebuilt for openpm-5.2 and sed correct version into configure (#963894)

 zeromq3.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/zeromq3.spec b/zeromq3.spec
index 2f52c69..4564479 100644
--- a/zeromq3.spec
+++ b/zeromq3.spec
@@ -2,7 +2,7 @@
 
 Name:           zeromq3
 Version:        3.2.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Software library for fast, message-based applications
 
 Group:          System Environment/Libraries
@@ -27,7 +27,7 @@ Source0:        http://download.zeromq.org/zeromq-%{version}.tar.gz
 BuildRequires:  glib2-devel
 BuildRequires:  libuuid-devel
 %if %{with pgm}
-BuildRequires:  openpgm-devel >= 5.1
+BuildRequires:  openpgm-devel
 %endif
 
 
@@ -64,6 +64,11 @@ rm -v $(find foreign -type f | grep -v Makefile)
 sed -i "s/libzmq_werror=\"yes\"/libzmq_werror=\"no\"/g" \
     configure
 
+# Sed version number of openpgm into configure
+%global openpgm_pc $(basename %{_libdir}/pkgconfig/openpgm*.pc .pc)
+sed -i "s/openpgm-[0-9].[0-9]/%{openpgm_pc}/g" \
+    configure
+
 
 %build
 %configure \
@@ -104,6 +109,9 @@ make check
 
 
 %changelog
+* Fri May 17 2013 Thomas Spura <tomspur at fedoraproject.org> - 3.2.3-2
+- Rebuilt for openpm-5.2 and sed correct version into configure (#963894)
+
 * Tue May  7 2013 Thomas Spura <tomspur at fedoraproject.org> - 3.2.3-1
 - update to 3.2.3 (fixes #914985)
 


More information about the scm-commits mailing list