mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00: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
@ -11,13 +11,22 @@ BuildRequires: http-parser-devel
|
||||
BuildRequires: lz4-devel
|
||||
BuildRequires: libnatpmp-devel
|
||||
BuildRequires: systemd
|
||||
%if 0%{?fedora} >= 21
|
||||
BuildRequires: json-parser-devel
|
||||
%endif
|
||||
|
||||
Requires: http-parser
|
||||
Requires: lz4
|
||||
Requires: libnatpmp
|
||||
Requires: systemd
|
||||
%if 0%{?fedora} >= 21
|
||||
BuildRequires: json-parser
|
||||
%endif
|
||||
|
||||
Provides: bundled(miniupnpc) = 2.0
|
||||
%if 0%{?rhel}
|
||||
Provides: bundled(json-parser) = 1.1.0
|
||||
%endif
|
||||
|
||||
%description
|
||||
ZeroTier is a software defined networking layer for Earth.
|
||||
|
Loading…
Reference in New Issue
Block a user