Packages: relaxed dependencies between modules and base package.
This allows us to update base or single modules packages without updating the whole set.
This commit is contained in:
@@ -156,6 +156,7 @@ debuild/$(SRCDIR)/debian:
|
||||
echo '3.0 (quilt)' > debuild/$(SRCDIR)/debian/source/format ; \
|
||||
cat debian/control.in | sed \
|
||||
-e "s#%%PACKAGE_VENDOR%%#$(PACKAGE_VENDOR)#g" \
|
||||
-e "s#%%UNIT_VERSION%%#$(VERSION)#g" \
|
||||
> debuild/$(SRCDIR)/debian/control ; \
|
||||
cat debian/rules.in | sed \
|
||||
-e "s#%%CONFIGURE_ARGS%%#$(CONFIGURE_ARGS)#g" \
|
||||
|
||||
@@ -14,7 +14,7 @@ Section: admin
|
||||
Architecture: any
|
||||
Depends: lsb-base,
|
||||
${misc:Depends}, ${shlibs:Depends},
|
||||
unit (= %%UNIT_VERSION%%-%%UNIT_RELEASE%%~%%CODENAME%%)%%MODULE_DEPENDS%%
|
||||
unit-r%%UNIT_VERSION%%%%MODULE_DEPENDS%%
|
||||
Description: %%SUMMARY%%
|
||||
NGINX Unit is a runtime and delivery environment for modern distributed
|
||||
applications. It runs the application code in multiple languages
|
||||
|
||||
@@ -14,6 +14,7 @@ Section: admin
|
||||
Architecture: any
|
||||
Depends: lsb-base,
|
||||
${misc:Depends}, ${shlibs:Depends}
|
||||
Provides: unit-r%%UNIT_VERSION%%
|
||||
Description: NGINX Unit
|
||||
NGINX Unit is a runtime and delivery environment for modern distributed
|
||||
applications. It runs the application code in multiple languages
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user