summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2022-12-28 20:06:43 -0800
committerKonstantin Pavlov <thresh@nginx.com>2022-12-28 20:06:43 -0800
commitab3d1297af91bf8ade401ec4548d53f963788d14 (patch)
treea1031114e4b40a05c6026c08dbeeff5e11a7fae2 /pkg
parent24d4dda255be1ec5ea16e1941537ffd6e2b22284 (diff)
downloadunit-ab3d1297af91bf8ade401ec4548d53f963788d14.tar.gz
unit-ab3d1297af91bf8ade401ec4548d53f963788d14.tar.bz2
Packages: do not clean up rpm build root.
These directories are used in the Makefile to determine status of a target.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/rpm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile
index d00a25ac..5c104ca3 100644
--- a/pkg/rpm/Makefile
+++ b/pkg/rpm/Makefile
@@ -184,7 +184,7 @@ rpmbuild/SOURCES/unit-$(VERSION).tar.gz:
unit: check-build-depends-unit rpmbuild/SPECS/unit.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz
@echo "===> Building $@ package" ; \
- rpmbuild -D "_topdir `pwd`/rpmbuild" -ba rpmbuild/SPECS/unit.spec && \
+ rpmbuild -D "_topdir `pwd`/rpmbuild" -ba --noclean rpmbuild/SPECS/unit.spec && \
ln -s rpmbuild/BUILD/$@-$(VERSION)/build $@
rpmlint:
@@ -235,7 +235,7 @@ rpmbuild/SPECS/unit-%.spec: unit.module.spec.in ../../docs/changes.xml | rpmbuil
unit-%: check-build-depends-% rpmbuild/SPECS/unit-%.spec rpmbuild/SOURCES/unit-$(VERSION).tar.gz
@echo "===> Building $(subst _,-,$@) package" ; \
- rpmbuild -D "_topdir `pwd`/rpmbuild" -ba rpmbuild/SPECS/$@.spec && \
+ rpmbuild -D "_topdir `pwd`/rpmbuild" -ba --noclean rpmbuild/SPECS/$@.spec && \
ln -s rpmbuild/BUILD/$(subst _,-,$@)-$(VERSION)/build $@
test: unit modules