summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/unit.module.spec.in
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-02-06 12:39:06 -0800
committerKonstantin Pavlov <thresh@nginx.com>2023-02-06 12:39:06 -0800
commitb0bb829107094a64ed6c93b88b6ed4847bd3fa53 (patch)
tree1bc9edd557e3bf43d9726262db7b63baae16683d /pkg/rpm/unit.module.spec.in
parent789762ff3d88a1c006babc7a8e7037e0976ad70f (diff)
downloadunit-b0bb829107094a64ed6c93b88b6ed4847bd3fa53.tar.gz
unit-b0bb829107094a64ed6c93b88b6ed4847bd3fa53.tar.bz2
Packages: get rid of deprecated configure options.
Diffstat (limited to '')
-rw-r--r--pkg/rpm/unit.module.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rpm/unit.module.spec.in b/pkg/rpm/unit.module.spec.in
index bc68a254..04323afc 100644
--- a/pkg/rpm/unit.module.spec.in
+++ b/pkg/rpm/unit.module.spec.in
@@ -61,7 +61,7 @@ tar --strip-components=1 -zxf %{SOURCE0}
%build
./configure \
%{CONFIGURE_ARGS} \
- --modules=%{_libdir}/unit/debug-modules \
+ --modulesdir=%{_libdir}/unit/debug-modules \
--cc-opt="%{CC_OPT}" \
--debug
./configure %%MODULE_CONFARGS%%
@@ -69,7 +69,7 @@ make %%MODULE_MAKEARGS%%
%{__mv} build build-debug
./configure \
%{CONFIGURE_ARGS} \
- --modules=%{_libdir}/unit/modules \
+ --modulesdir=%{_libdir}/unit/modules \
--cc-opt="%{CC_OPT}"
./configure %%MODULE_CONFARGS%%
make %%MODULE_MAKEARGS%%