# need to ignore result, kernel-headers cannot be uninstalled as glibc depends on it
RPM-UNINSTALL-DEVEL := rpm -e
-REMOTE-PLDISTROS="gnuradio"
+# see also below
+REMOTE-PLDISTROS="wextoolbox"
#################### Makefile
# Default target
endef
-$(eval $(call remote_pldistro,gnuradio,gnuradio-tags))
+# somehow this does not work, handle manually instead
+#$(foreach distro, $(REMOTE-PLDISTROS), $(eval $(call remote_pldistro,$(distro),$(distro)-tags)))
+$(eval $(call remote_pldistro,wextoolbox,wextoolbox-tags))
########## stage1 and stage1iter
# extract specs and compute .mk files by running
rm -f $@
echo "%_topdir $(HOME)" >> $@
echo "%_tmppath $(HOME)/tmp" >> $@
+ echo "%__spec_install_pre %{___build_pre}" >> $@
./getrpmmacros.sh >> $@
### this utility allows to extract various info from a spec file
echo "PERSONALITY:=$(PERSONALITY)" >> $@
echo "MAILTO:=$(MAILTO)" >> $@
echo "BASE:=$(BASE)" >> $@
+ echo "WEBPATH:=$(WEBPATH)" >> $@
+ echo "TESTBUILDURL:=$(TESTBUILDURL)" >> $@
+ echo "WEBROOT:=$(WEBROOT)" >> $@
savedpldistro: savedpldistro.mk
.PHONY: savedpldistro
####################
tests_svnpath:
- @$(if $(TESTS_SVNPATH), echo $(TESTS_SVNPATH) > $@, \
+ @$(if $(tests-SVNPATH), echo $(tests-SVNPATH) > $@, \
echo "http://svn.planet-lab.org/svn/tests/trunk" > $@)