diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-08 16:19:38 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-08 16:19:38 -0700 |
commit | e6328dfe8247866ff52a75740a68a33044412bcc (patch) | |
tree | 51dfc3f8281daadcb8ca1419796863876b2a643f | |
parent | 3a48e3781bd91718dcad3f95008f619f42440cb7 (diff) | |
download | infinitytier-e6328dfe8247866ff52a75740a68a33044412bcc.tar.gz infinitytier-e6328dfe8247866ff52a75740a68a33044412bcc.zip |
Add RPM spec conditionals to include json-parser or bundle it depending on whether we are fedora or rhel/centos/epel.
-rw-r--r-- | zerotier-one.spec | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zerotier-one.spec b/zerotier-one.spec index d312ec12..be1eba8f 100644 --- a/zerotier-one.spec +++ b/zerotier-one.spec @@ -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. |