From: Russell Cattelan Date: Tue, 20 Mar 2001 19:36:13 +0000 (+0000) Subject: change sed subsitution from ./rpmmacros to rpmmacros ... this fixes cmd build X-Git-Tag: v1.2.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=268fa3ac46224618e905e892ed9299820fe08602;p=thirdparty%2Fxfsprogs-dev.git change sed subsitution from ./rpmmacros to rpmmacros ... this fixes cmd build with rpm 4.0.2 --- diff --git a/build/rpm/Makefile b/build/rpm/Makefile index b5ad8089c..759b02b1e 100644 --- a/build/rpm/Makefile +++ b/build/rpm/Makefile @@ -51,7 +51,7 @@ dist : default $(SPECF) rpm-$(RPM_VERSION).rc # is not supported by rpm v.3, we have to resort to such ugly hacks ifneq ($RPM_VERSION,2) rpm-$(RPM_VERSION).rc : rpmmacros - sed -e '/^macrofiles:/s|~/.rpmmacros|./rpmmacros|' $@ + sed -e '/^macrofiles:/s|~/.rpmmacros|rpmmacros|' $@ rpmmacros : macros.template @sed -e 's|%topdir%|$(TREEROOT)|g' < $< > $@