Packages: added pcre2 to build depends.
While at it, propagate unit build depends to modules.
This commit is contained in:
@@ -3,7 +3,9 @@ Section: admin
|
|||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: Andrei Belov <defan@nginx.com>
|
Maintainer: Andrei Belov <defan@nginx.com>
|
||||||
Build-Depends: debhelper (>= 9),
|
Build-Depends: debhelper (>= 9),
|
||||||
linux-libc-dev%%MODULE_BUILD_DEPENDS%%
|
linux-libc-dev,
|
||||||
|
libssl-dev,
|
||||||
|
libpcre2-dev%%MODULE_BUILD_DEPENDS%%
|
||||||
Standards-Version: 3.9.5
|
Standards-Version: 3.9.5
|
||||||
Homepage: https://unit.nginx.org
|
Homepage: https://unit.nginx.org
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ Priority: extra
|
|||||||
Maintainer: Andrei Belov <defan@nginx.com>
|
Maintainer: Andrei Belov <defan@nginx.com>
|
||||||
Build-Depends: debhelper (>= 9),
|
Build-Depends: debhelper (>= 9),
|
||||||
linux-libc-dev,
|
linux-libc-dev,
|
||||||
libssl-dev
|
libssl-dev,
|
||||||
|
libpcre2-dev
|
||||||
Standards-Version: 3.9.5
|
Standards-Version: 3.9.5
|
||||||
Homepage: https://unit.nginx.org
|
Homepage: https://unit.nginx.org
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,15 @@
|
|||||||
%define dist .el7
|
%define dist .el7
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?rhel}%{?fedora}
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1315
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%define unit_version %%UNIT_VERSION%%
|
%define unit_version %%UNIT_VERSION%%
|
||||||
%define unit_release %%UNIT_RELEASE%%%{?dist}.ngx
|
%define unit_release %%UNIT_RELEASE%%%{?dist}.ngx
|
||||||
|
|
||||||
@@ -29,6 +38,8 @@ Source0: unit-%{version}.tar.gz
|
|||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: pcre2-devel
|
||||||
|
|
||||||
Requires: unit == %%UNIT_VERSION%%-%%UNIT_RELEASE%%%{?dist}.ngx
|
Requires: unit == %%UNIT_VERSION%%-%%UNIT_RELEASE%%%{?dist}.ngx
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|||||||
@@ -45,6 +45,8 @@ Requires(post): systemd
|
|||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
|
|
||||||
|
BuildRequires: pcre2-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
NGINX Unit is a runtime and delivery environment for modern distributed
|
NGINX Unit is a runtime and delivery environment for modern distributed
|
||||||
applications. It runs the application code in multiple languages
|
applications. It runs the application code in multiple languages
|
||||||
|
|||||||
Reference in New Issue
Block a user