diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-03-29 12:42:54 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-03-29 12:42:54 -0700 |
commit | 219b8363a4653e99bd1051532f66be7a6583a30d (patch) | |
tree | 53b42abf00fe3978f25d42c95f1c6fb1aa565759 | |
parent | 24243ecab3ed119b9c91664ccbe368e492c2efe7 (diff) | |
download | unit-219b8363a4653e99bd1051532f66be7a6583a30d.tar.gz unit-219b8363a4653e99bd1051532f66be7a6583a30d.tar.bz2 |
Packages: fixed rpm builds after 817968931c58.
-rw-r--r-- | pkg/rpm/unit.spec.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in index 4259e013..0914e513 100644 --- a/pkg/rpm/unit.spec.in +++ b/pkg/rpm/unit.spec.in @@ -86,7 +86,7 @@ PKG_CONFIG_PATH=%{bdir}/pkg/contrib/njs/build \ --ld-opt="%{LD_OPT}" \ --debug %{__make} %{?_smp_mflags} -%{__make} %{?_smp_mflags} build/libunit.a +%{__make} %{?_smp_mflags} build/lib/libunit.a %{__mv} build build-debug PKG_CONFIG_PATH=%{bdir}/pkg/contrib/njs/build \ @@ -103,9 +103,9 @@ PKG_CONFIG_PATH=%{bdir}/pkg/contrib/njs/build \ %{__rm} -rf %{buildroot} %{__ln_s} build-nodebug build DESTDIR=%{buildroot} make unitd-install libunit-install manpage-install -%{__install} -m755 %{bdir}/build-debug/unitd \ +%{__install} -m755 %{bdir}/build-debug/sbin/unitd \ %{buildroot}%{_sbindir}/unitd-debug -%{__install} -m644 %{bdir}/build-debug/libunit.a \ +%{__install} -m644 %{bdir}/build-debug/lib/libunit.a \ %{buildroot}%{_libdir}/libunit-debug.a %{__mkdir} -p %{buildroot}%{_libdir}/unit/modules %{__mkdir} -p %{buildroot}%{_libdir}/unit/debug-modules |