diff options
author | Andrei Belov <defan@nginx.com> | 2018-01-26 17:44:26 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2018-01-26 17:44:26 +0300 |
commit | 9d1410a0bb0ebe792eb3e26ac757dd78847b705e (patch) | |
tree | 2c8da8379d100349361748797a3741fe1343fdbb /pkg/rpm/unit.module.spec.in | |
parent | 7fe8f72364fbac68cd82abf8fc775cce965a4a1e (diff) | |
download | unit-9d1410a0bb0ebe792eb3e26ac757dd78847b705e.tar.gz unit-9d1410a0bb0ebe792eb3e26ac757dd78847b705e.tar.bz2 |
Packages: "test" and "test-debug" targets for rpm.
Diffstat (limited to '')
-rw-r--r-- | pkg/rpm/unit.module.spec.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/rpm/unit.module.spec.in b/pkg/rpm/unit.module.spec.in index c222a0f1..03d4addb 100644 --- a/pkg/rpm/unit.module.spec.in +++ b/pkg/rpm/unit.module.spec.in @@ -63,6 +63,7 @@ make %%MODULE_MAKEARGS%% --cc-opt="%{CC_OPT}" ./configure %%MODULE_CONFARGS%% make %%MODULE_MAKEARGS%% +%{__mv} build build-nodebug %install %{__rm} -rf %{buildroot} @@ -70,9 +71,10 @@ make %%MODULE_MAKEARGS%% %{__install} -m 644 -p NOTICE \ %{buildroot}%{_datadir}/doc/%%NAME%%/COPYRIGHT %%MODULE_PREINSTALL%% +%{__ln_s} build-debug build DESTDIR=%{buildroot} make %%MODULE_INSTARGS%% -%{__rm} -rf build -%{__mv} build-debug build +%{__rm} -f build +%{__ln_s} build-nodebug build DESTDIR=%{buildroot} make %%MODULE_INSTARGS%% %check |