diff options
author | Eric Sandeen <sandeen@sgi.com> | 2002-07-16 04:44:19 +0000 |
---|---|---|
committer | Eric Sandeen <sandeen@sgi.com> | 2002-07-16 04:44:19 +0000 |
commit | 6b956682b51c4108b0bb2c2a1cf54bddf344fbfa (patch) | |
tree | b21c8deb5c2a7bdbe34e294df29720624d56617d /build | |
parent | 3ae6203b6fa3c8e42ad05211afd1ab34326d9056 (diff) | |
download | attr-6b956682b51c4108b0bb2c2a1cf54bddf344fbfa.tar.gz |
Use rpmbuild for building rpms
Diffstat (limited to 'build')
-rw-r--r-- | build/Makefile | 2 | ||||
-rw-r--r-- | build/rpm/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/Makefile b/build/Makefile index 97b86f9..f20beea 100644 --- a/build/Makefile +++ b/build/Makefile @@ -71,7 +71,7 @@ dist : default $(MANIFEST) if [ -x $(TAR) ]; then \ ( echo "=== tar ===" && $(MAKEF) -C tar $@ || exit $$? ); \ fi; \ - if [ -x $(RPM) ]; then \ + if [ -x $(RPMBUILD) ]; then \ ( echo "=== rpm ===" && $(MAKEF) -C rpm $@ || exit $$? ); \ fi; \ test -z "$$KEEP_DIST_ROOT" || rm -rf $$DIST_ROOT; echo Done diff --git a/build/rpm/Makefile b/build/rpm/Makefile index dee180c..17eceb5 100644 --- a/build/rpm/Makefile +++ b/build/rpm/Makefile @@ -45,7 +45,7 @@ include $(BUILDRULES) # generate a binary rpm file dist : default $(SPECF) rpm-$(RPM_VERSION).rc - $(RPM) -ba --rcfile ./rpm-$(RPM_VERSION).rc $(SPECF) + $(RPMBUILD) -ba --rcfile ./rpm-$(RPM_VERSION).rc $(SPECF) # Because rpm prior to v.2.90 does not support macros and old style config # is not supported by rpm v.3, we have to resort to such ugly hacks |