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 | 7c09387156790e579ff9a821ecb05224a9c7b2be (patch) | |
tree | 8886bed6d60fae6b67c8a8282e7d43a3b8a604d1 | |
parent | 262578dc71e4c1aaad01656a9b0c78539b1e7371 (diff) | |
download | unit-7c09387156790e579ff9a821ecb05224a9c7b2be.tar.gz unit-7c09387156790e579ff9a821ecb05224a9c7b2be.tar.bz2 |
Packages: added strict version dependency for unit-dev/unit-devel.
Diffstat (limited to '')
-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. |