diff options
author | Andrei Belov <defan@nginx.com> | 2018-11-26 13:05:37 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2018-11-26 13:05:37 +0300 |
commit | b140ac29e5571e9abaafce006932f15d86b78803 (patch) | |
tree | 0e0169561bbed58ca799c4fccd655829cf1f1edc | |
parent | 766abf84b9ef118d7f57952990d680e4a8eb9765 (diff) | |
download | unit-b140ac29e5571e9abaafce006932f15d86b78803.tar.gz unit-b140ac29e5571e9abaafce006932f15d86b78803.tar.bz2 |
Packages: added strict version dependency for unit-dev/unit-devel.
-rw-r--r-- | pkg/deb/debian/control | 3 | ||||
-rw-r--r-- | pkg/rpm/unit.spec.in | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pkg/deb/debian/control b/pkg/deb/debian/control index c0873a1c..9828b6ab 100644 --- a/pkg/deb/debian/control +++ b/pkg/deb/debian/control @@ -34,6 +34,7 @@ Package: unit-dev Section: libdevel Priority: optional Architecture: any -Depends: ${misc:Depends} +Depends: unit (= ${binary:Version}), + ${misc:Depends} Description: NGINX Unit (development files) Library and include files required for NGINX Unit modules development. diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in index e3523cb3..1ef02881 100644 --- a/pkg/rpm/unit.spec.in +++ b/pkg/rpm/unit.spec.in @@ -65,6 +65,7 @@ Summary: NGINX Unit (development files) Version: %%VERSION%% Release: %%RELEASE%%%{?dist}.ngx Group: Development/Libraries +Requires: unit == %%VERSION%%-%%RELEASE%%%{?dist}.ngx %description devel Library and include files required for NGINX Unit modules development. |