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