fix fake-db-1.0-0.noarch.rpm: swap target with prerequisite

Change-Id: I3c2940d3d6f64bcef5f9169654138170bda49d4d
This commit is contained in:
David Ostrovsky
2013-02-10 10:00:22 +01:00
parent 77f2073df5
commit ef45fe7ff0

View File

@@ -22,7 +22,7 @@ $(eval $(call gb_CustomTarget_register_targets,setup_native/scripts,\
$(scripts_WORKDIR)/fake-db-1.0-0.noarch.rpm: $(SRCDIR)/setup_native/scripts/fake-db.spec
mkdir -p $(scripts_WORKDIR)/fake-db-root
$(RPM) --define "_builddir $(scripts_WORKDIR)/fake-db-root" \
--define "_rpmdir $(scripts_WORKDIR)" -bb $@
--define "_rpmdir $(scripts_WORKDIR)" -bb $<
chmod g+w $(scripts_WORKDIR)/fake-db-root
$(scripts_WORKDIR)/install: $(SRCDIR)/setup_native/scripts/install_linux.sh $(scripts_WORKDIR)/fake-db-1.0-0.noarch.rpm