summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2022-11-04 16:52:19 +0400
committerKonstantin Pavlov <thresh@nginx.com>2022-11-04 16:52:19 +0400
commit2ac4a7527de8fb7ce8cfac05563a542078d65f4b (patch)
tree75233440def961f551b88ea553ddecbb0739e704 /pkg/rpm
parent9ea5ed2813c7dc57c8997ef21d779baae19d784c (diff)
downloadunit-2ac4a7527de8fb7ce8cfac05563a542078d65f4b.tar.gz
unit-2ac4a7527de8fb7ce8cfac05563a542078d65f4b.tar.bz2
Packages: relaxed dependencies between modules and base package.
This allows us to update base or single modules packages without updating the whole set.
Diffstat (limited to 'pkg/rpm')
-rw-r--r--pkg/rpm/unit.module.spec.in2
-rw-r--r--pkg/rpm/unit.spec.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/pkg/rpm/unit.module.spec.in b/pkg/rpm/unit.module.spec.in
index 88a1c33e..bc68a254 100644
--- a/pkg/rpm/unit.module.spec.in
+++ b/pkg/rpm/unit.module.spec.in
@@ -39,7 +39,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pcre2-devel
-Requires: unit == %%UNIT_VERSION%%-%%UNIT_RELEASE%%%{?dist}.ngx
+Requires: unit-r%%UNIT_VERSION%%
%description
NGINX Unit is a runtime and delivery environment for modern distributed
diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in
index 01c08bb8..50eee876 100644
--- a/pkg/rpm/unit.spec.in
+++ b/pkg/rpm/unit.spec.in
@@ -47,6 +47,8 @@ Requires(postun): systemd
BuildRequires: pcre2-devel
+Provides: unit-r%{version}
+
%description
NGINX Unit is a runtime and delivery environment for modern distributed
applications. It runs the application code in multiple languages