global: Add missing prep targets to common Makefiles
authorDevrim Gunduz <devrim@gunduz.org>
Thu, 17 Apr 2025 07:38:04 +0000 (10:38 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Thu, 17 Apr 2025 07:38:04 +0000 (10:38 +0300)
rpm/redhat/global/Makefile.global-common
rpm/redhat/global/Makefile.global-common-testing

index 64368817cab0bf96876b80594084baf02e11e2b9..de04fa9068c43a5d57d7baec0a354067a3edaecb 100644 (file)
@@ -17,6 +17,7 @@ commonbfsrpm: prep
        --define "_rpmdir ." --define "dist $(DIST)" --nodeps -bs $(SPECFILE)
 
 commonbuild:
+       prep
        rpmbuild --define "_sourcedir $(PWD)" \
        --define "_specdir $(PWD)" \
        --define "_buildrootdir $(HOME)/rpmcommon/BUILDROOT" \
index eae4463f8c2c25b8676abee463402c69eb4a640d..6970e048f4e889c6df715d9077bd48b45763ab8e 100644 (file)
@@ -16,7 +16,7 @@ commonbfsrpmtesting: prep
        --define "pgmajorversion 17" --define "pginstdir /usr/pgsql-17"  --define "pgpackageversion 17" \
        --define "_rpmdir ." --define "dist $(DIST)" --nodeps -bs $(SPECFILE)
 
-commonbuildtesting:
+commonbuildtesting: prep
        rpmbuild --define "_sourcedir $(PWD)" \
        --define "_specdir $(PWD)" \
        --define "_buildrootdir $(HOME)/rpmcommontesting/BUILDROOT" \