summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/unit.spec.in
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-01-26 17:44:26 +0300
committerAndrei Belov <defan@nginx.com>2018-01-26 17:44:26 +0300
commit9d1410a0bb0ebe792eb3e26ac757dd78847b705e (patch)
tree2c8da8379d100349361748797a3741fe1343fdbb /pkg/rpm/unit.spec.in
parent7fe8f72364fbac68cd82abf8fc775cce965a4a1e (diff)
downloadunit-9d1410a0bb0ebe792eb3e26ac757dd78847b705e.tar.gz
unit-9d1410a0bb0ebe792eb3e26ac757dd78847b705e.tar.bz2
Packages: "test" and "test-debug" targets for rpm.
Diffstat (limited to 'pkg/rpm/unit.spec.in')
-rw-r--r--pkg/rpm/unit.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in
index e44c3952..b510d069 100644
--- a/pkg/rpm/unit.spec.in
+++ b/pkg/rpm/unit.spec.in
@@ -77,9 +77,11 @@ dynamically via an API.
--cc-opt="%{CC_OPT}" \
--ld-opt="%{LD_OPT}"
%{__make} %{?_smp_mflags}
+%{__mv} build build-nodebug
%install
%{__rm} -rf %{buildroot}
+%{__ln_s} build-nodebug build
DESTDIR=%{buildroot} make unitd-install
%{__install} -m755 %{bdir}/build-debug/unitd \
%{buildroot}%{_sbindir}/unitd-debug