Kaydet (Commit) 91a6fc6e authored tarafından Peter Foley's avatar Peter Foley

fix rpm build in setup_native

Change-Id: Id7cba31ac24f6a45077f5a41039b7b79ad668b95
üst 9d6bb5da
...@@ -16,16 +16,16 @@ ifneq ($(filter rpm,$(PKGFORMAT)),) ...@@ -16,16 +16,16 @@ ifneq ($(filter rpm,$(PKGFORMAT)),)
$(eval $(call gb_CustomTarget_register_targets,setup_native/scripts,\ $(eval $(call gb_CustomTarget_register_targets,setup_native/scripts,\
install \ install \
uninstall \ uninstall \
fake-db-1.0-0.noarch.rpm \ noarch/fake-db-1.0-0.noarch.rpm \
)) ))
$(scripts_WORKDIR)/fake-db-1.0-0.noarch.rpm: $(SRCDIR)/setup_native/scripts/fake-db.spec $(scripts_WORKDIR)/noarch/fake-db-1.0-0.noarch.rpm: $(SRCDIR)/setup_native/scripts/fake-db.spec
mkdir -p $(scripts_WORKDIR)/fake-db-root mkdir -p $(scripts_WORKDIR)/fake-db-root
$(RPM) --define "_builddir $(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 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 $(scripts_WORKDIR)/install: $(SRCDIR)/setup_native/scripts/install_linux.sh $(scripts_WORKDIR)/noarch/fake-db-1.0-0.noarch.rpm
$(PERL) -w $(SRCDIR)/setup_native/scripts/install_create.pl $^ $@ $(PERL) -w $(SRCDIR)/setup_native/scripts/install_create.pl $^ $@
chmod 775 $@ chmod 775 $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment