aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-08-10 01:48:42 +0000
committerRoland McGrath <roland@gnu.org>2007-08-10 01:48:42 +0000
commita7db33c68fffef1bbc9894a1dab7e52b8bc7bdef (patch)
treee109993e9b9426bce5d1bd856aa4dcd8d78394ad
parent9d75f89c668d86ea06052225bd4caf806394dc2c (diff)
downloadglibc-a7db33c68fffef1bbc9894a1dab7e52b8bc7bdef.zip
glibc-a7db33c68fffef1bbc9894a1dab7e52b8bc7bdef.tar.gz
glibc-a7db33c68fffef1bbc9894a1dab7e52b8bc7bdef.tar.bz2
Update import stuff for new Fedora systems
-rw-r--r--fedora/Makefile25
1 files changed, 12 insertions, 13 deletions
diff --git a/fedora/Makefile b/fedora/Makefile
index e2d0373..851cfca 100644
--- a/fedora/Makefile
+++ b/fedora/Makefile
@@ -161,31 +161,30 @@ $(spec-nvr).src.rpm: glibc.spec $(archives)
###
# These rules are for dealing with the Fedora package repository
-# and the Red Hat internal build system.
+# and build system.
#
-# To use this, put in ~/.cvsdistrc at least a line:
-# DIST_COMMON = /some/checkout/of/dist/common
+# To use this, put in ~/.cvspkgsrc at least a line:
+# COMMON_DIR ?= /some/checkout/of/pkgs/common
# We will find cvs-import.sh there and use its CVS/Root for where to commit.
.PHONY: dist-import
--include ~/.cvsdistrc
+-include ~/.cvspkgsrc
-ifdef DIST_COMMON
+ifdef COMMON_DIR
DIST_BRANCH ?= devel
-COLLECTION ?= dist-fc4
-BHC_FLAGS ?= -n
+COLLECTION ?= dist-f8
-bhc-baseurl := cvs://cvs.devel.redhat.com/cvs/dist?rpms
-bhc-url = $(bhc-baseurl)/glibc/$(DIST_BRANCH)\#$(spec-tag)
+pkgs-baseurl := cvs://cvs.fedoraproject.org/cvs/pkgs?rpms
+pkgs-url = $(pkgs-baseurl)/glibc/$(DIST_BRANCH)\#$(spec-tag)
-dist-import: $(spec-nvr).src.rpm
- $(DIST_COMMON)/cvs-import.sh -b $(DIST_BRANCH) $<
+pkgs-import: $(spec-nvr).src.rpm
+ $(COMMON_DIR)/cvs-import.sh -b $(DIST_BRANCH) $<
rpm -qp $< --queryformat '[%{FILEMD5S} %{FILENAMES}\n]' > $@.new
mv -f $@.new $@
-dist-build: dist-import
- bhc $(BHC_FLAGS) $(COLLECTION) '$(bhc-url)'
+build: pkgs-import
+ koji build $(BUILD_FLAGS) $(COLLECTION) '$(pkgs-url)'
endif
###