From 912ab3de22601c5f2bfc9b575112b558db4c2790cb0b1c7ca2e8d48641ae78de Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 22 Sep 2015 13:14:38 +0000 Subject: [PATCH] Accepting request 332960 from home:tampakrap:branches:devel:libraries:c_c++ - Conditionally use the pkgconfig style, to support SLE11 OBS-URL: https://build.opensuse.org/request/show/332960 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zeromq?expand=0&rev=35 --- zeromq.changes | 5 +++++ zeromq.spec | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/zeromq.changes b/zeromq.changes index 30f822b..30b435d 100644 --- a/zeromq.changes +++ b/zeromq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 22 12:48:38 UTC 2015 - tampakrap@opensuse.org + +- Conditionally use the pkgconfig style, to support SLE11 + ------------------------------------------------------------------- Tue Jul 14 08:36:14 UTC 2015 - tchvatal@suse.com diff --git a/zeromq.spec b/zeromq.spec index f486667..236641b 100644 --- a/zeromq.spec +++ b/zeromq.spec @@ -32,13 +32,22 @@ BuildRequires: asciidoc BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: xmlto +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: libsodium-devel +BuildRequires: libuuid-devel +%else BuildRequires: pkgconfig(libsodium) BuildRequires: pkgconfig(uuid) -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%endif %if 0%{?with_pgm} +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: pkgconfig(glib-2.0) >= 2.8 +%else +BuildRequires: glib2-devel >= 2.8 +%endif BuildRequires: openpgm-devel >= 5.1 BuildRequires: python -BuildRequires: pkgconfig(glib-2.0) >= 2.8 %endif %description