mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 18:48:36 -07:00
For now go back to bundling http-parser etc. in our official RPM builds since this introduces an EPEL dependency for CentOS which would only make sense if we are actually in EPEL. Probably will eventually have two spec files: one for official and one for our own.
This commit is contained in:
parent
809457599a
commit
d58dcf29cc
5 changed files with 17 additions and 23 deletions
|
@ -7,23 +7,18 @@ License: GPLv3
|
|||
URL: https://www.zerotier.com
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: http-parser-devel
|
||||
BuildRequires: lz4-devel
|
||||
BuildRequires: libnatpmp-devel
|
||||
|
||||
%if 0%{?rhel} > 7
|
||||
BuildRequires: libnatpmp-devel
|
||||
%if 0%{?rhel} >= 7
|
||||
BuildRequires: systemd
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} >= 21
|
||||
BuildRequires: http-parser-devel
|
||||
BuildRequires: lz4-devel
|
||||
BuildRequires: libnatpmp-devel
|
||||
BuildRequires: systemd
|
||||
BuildRequires: json-parser-devel
|
||||
%endif
|
||||
|
||||
Requires: http-parser
|
||||
Requires: lz4
|
||||
Requires: libnatpmp
|
||||
Requires: iproute
|
||||
|
||||
%if 0%{?rhel} >= 7
|
||||
|
@ -35,13 +30,20 @@ Requires: chkconfig
|
|||
%endif
|
||||
|
||||
%if 0%{?fedora} >= 21
|
||||
Requires: http-parser
|
||||
Requires: lz4
|
||||
Requires: libnatpmp
|
||||
Requires: systemd
|
||||
Requires: json-parser
|
||||
%endif
|
||||
|
||||
Provides: bundled(miniupnpc) = 2.0
|
||||
%if 0%{?rhel}
|
||||
|
||||
%if 0%{?rhel} >= 6
|
||||
Provides: bundled(json-parser) = 1.1.0
|
||||
Provides: bundled(lz4) = 1.7.1
|
||||
Provides: bundled(http-parser) = 2.7.0
|
||||
Provides: bundled(libnatpmp) = 20131126
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue