mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-31 01:43:02 +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
|
%endif
|
||||||
%bcond_with nss
|
%bcond_with nss
|
||||||
%if %{with nss}
|
%if %{with nss}
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: mozilla-nss-devel
|
||||||
|
%else
|
||||||
BuildRequires: nss-devel
|
BuildRequires: nss-devel
|
||||||
|
%endif
|
||||||
%define NSS yes
|
%define NSS yes
|
||||||
%else
|
%else
|
||||||
%define NSS no
|
%define NSS no
|
||||||
@ -83,8 +87,13 @@ Requires: libstdc++
|
|||||||
%{?_with_pgm:BuildRequires: openpgm-devel}
|
%{?_with_pgm:BuildRequires: openpgm-devel}
|
||||||
%{?_with_pgm:Requires: openpgm}
|
%{?_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:BuildRequires: nss-devel}
|
||||||
%{?_with_nss:Requires: nss}
|
%{?_with_nss:Requires: nss}
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64
|
%ifarch pentium3 pentium4 athlon i386 i486 i586 i686 x86_64
|
||||||
%{!?_with_pic: %{!?_without_pic: %define _with_pic --with-pic}}
|
%{!?_with_pic: %{!?_without_pic: %define _with_pic --with-pic}}
|
||||||
@ -135,8 +144,12 @@ Requires: libsodium-devel
|
|||||||
%endif
|
%endif
|
||||||
%bcond_with nss
|
%bcond_with nss
|
||||||
%if %{with nss}
|
%if %{with nss}
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
Requires: mozilla-nss-devel
|
||||||
|
%else
|
||||||
Requires: nss-devel
|
Requires: nss-devel
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The 0MQ lightweight messaging kernel is a library which extends the
|
The 0MQ lightweight messaging kernel is a library which extends the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user