mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 12:06:55 +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: 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…
Add table
Reference in a new issue