mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-29 08:39:42 +08:00
Merge pull request #3680 from bluca/nss_pkg
Problem: nss package has different name on SUSE
This commit is contained in:
commit
3ecaf9fe6e
@ -47,7 +47,11 @@ BuildRequires: libsodium-devel
|
||||
%endif
|
||||
%bcond_with nss
|
||||
%if %{with nss}
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: mozilla-nss-devel
|
||||
%else
|
||||
BuildRequires: nss-devel
|
||||
%endif
|
||||
%define NSS yes
|
||||
%else
|
||||
%define NSS no
|
||||
@ -83,8 +87,13 @@ Requires: libstdc++
|
||||
%{?_with_pgm:BuildRequires: openpgm-devel}
|
||||
%{?_with_pgm:Requires: openpgm}
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%{?_with_nss:BuildRequires: mozilla-nss-devel}
|
||||
%{?_with_nss:Requires: mozilla-nss}
|
||||
%else
|
||||
%{?_with_nss:BuildRequires: nss-devel}
|
||||
%{?_with_nss:Requires: nss}
|
||||
%endif
|
||||
|
||||
%ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64
|
||||
%{!?_with_pic: %{!?_without_pic: %define _with_pic --with-pic}}
|
||||
@ -135,8 +144,12 @@ Requires: libsodium-devel
|
||||
%endif
|
||||
%bcond_with nss
|
||||
%if %{with nss}
|
||||
%if 0%{?suse_version}
|
||||
Requires: mozilla-nss-devel
|
||||
%else
|
||||
Requires: nss-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
The 0MQ lightweight messaging kernel is a library which extends the
|
||||
|
Loading…
x
Reference in New Issue
Block a user