mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Add RPM spec conditionals to include json-parser or bundle it depending on whether we are fedora or rhel/centos/epel.
This commit is contained in:
parent
3a48e3781b
commit
e6328dfe82
1 changed files with 9 additions and 0 deletions
|
@ -11,13 +11,22 @@ BuildRequires: http-parser-devel
|
||||||
BuildRequires: lz4-devel
|
BuildRequires: lz4-devel
|
||||||
BuildRequires: libnatpmp-devel
|
BuildRequires: libnatpmp-devel
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
|
%if 0%{?fedora} >= 21
|
||||||
|
BuildRequires: json-parser-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: http-parser
|
Requires: http-parser
|
||||||
Requires: lz4
|
Requires: lz4
|
||||||
Requires: libnatpmp
|
Requires: libnatpmp
|
||||||
Requires: systemd
|
Requires: systemd
|
||||||
|
%if 0%{?fedora} >= 21
|
||||||
|
BuildRequires: json-parser
|
||||||
|
%endif
|
||||||
|
|
||||||
Provides: bundled(miniupnpc) = 2.0
|
Provides: bundled(miniupnpc) = 2.0
|
||||||
|
%if 0%{?rhel}
|
||||||
|
Provides: bundled(json-parser) = 1.1.0
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ZeroTier is a software defined networking layer for Earth.
|
ZeroTier is a software defined networking layer for Earth.
|
||||||
|
|
Loading…
Add table
Reference in a new issue