2016-03-13 23:50:09 +00:00
|
|
|
RPM_SPEC_FILES.dom0 := \
|
|
|
|
pykickstart/pykickstart.spec \
|
2017-07-28 18:03:37 +00:00
|
|
|
blivet/python-blivet.spec \
|
2016-04-21 00:13:48 +00:00
|
|
|
lorax/lorax.spec \
|
2016-03-13 23:50:09 +00:00
|
|
|
lorax-templates-qubes/lorax-templates-qubes.spec \
|
|
|
|
pungi/pungi.spec \
|
|
|
|
anaconda/anaconda.spec \
|
2016-04-10 04:00:00 +00:00
|
|
|
qubes-anaconda-addon/qubes-anaconda-addon.spec \
|
2016-03-13 23:50:09 +00:00
|
|
|
qubes-release/qubes-release.spec \
|
2017-03-02 15:53:20 +00:00
|
|
|
qubes-release/qubes-dom0-dist-upgrade.spec
|
|
|
|
|
|
|
|
ifeq ($(ISO_LIVEUSB),1)
|
|
|
|
RPM_SPEC_FILES.dom0 += \
|
2015-09-29 01:29:36 +00:00
|
|
|
livecd-tools/livecd-tools.spec \
|
2018-05-09 10:32:22 +00:00
|
|
|
live/qubes-live.spec
|
2017-03-02 15:53:20 +00:00
|
|
|
endif
|
2016-03-13 23:50:09 +00:00
|
|
|
|
|
|
|
RPM_SPEC_FILES := $(RPM_SPEC_FILES.$(PACKAGE_SET))
|
2018-05-09 10:32:22 +00:00
|
|
|
SOURCE_COPY_IN := $(RPM_SPEC_FILES.dom0)
|
2017-03-02 15:53:20 +00:00
|
|
|
|
2018-05-09 10:32:22 +00:00
|
|
|
$(RPM_SPEC_FILES.dom0): SPEC=$(notdir $@)
|
|
|
|
$(RPM_SPEC_FILES.dom0): PACKAGE=$(dir $@)
|
|
|
|
$(RPM_SPEC_FILES.dom0): SOURCE_ARCHIVE_NAME=$(notdir $(shell $(RPM_PLUGIN_DIR)/tools/spectool --list-files --source 0 $(CHROOT_DIR)/$(DIST_SRC)/$(PACKAGE)/$(SPEC) | cut -d' ' -f2))
|
|
|
|
$(RPM_SPEC_FILES.dom0):
|
|
|
|
# Create the archive for specific Qubes packages
|
|
|
|
[[ -e $(CHROOT_DIR)/$(DIST_SRC)/$(PACKAGE)/$(SOURCE_ARCHIVE_NAME) ]] \
|
|
|
|
|| $(BUILDER_DIR)/scripts/create-archive $(CHROOT_DIR)/$(DIST_SRC)/$(PACKAGE) $(SOURCE_ARCHIVE_NAME)
|
|
|
|
|
|
|
|
NO_ARCHIVE = 1
|
|
|
|
|
|
|
|
dist-package-build: RPM_SOURCE_DIR=$(dir $(DIST_SRC)/$(PACKAGE))
|
2017-03-02 15:53:20 +00:00
|
|
|
|
|
|
|
# vim: ft=make
|