--define "_rpmdir %{_topdir}" \
--define "_builddir %{_topdir}" \
--nodeps -bs $<
-
-###
-# These rules are for dealing with the Fedora package repository
-# and build system.
-#
-# 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 ~/.cvspkgsrc
-
-ifdef COMMON_DIR
-DIST_BRANCH ?= devel
-
-pkgs-baseurl := cvs://cvs.fedoraproject.org/cvs/pkgs?rpms
-pkgs-url = $(pkgs-baseurl)/glibc/$(DIST_BRANCH)\#$(spec-tag)
-
-pkgs-import: $(spec-nvr).src.rpm
- cd $(COMMON_DIR) && cvs -q update
- $(COMMON_DIR)/cvs-import.sh -b $(DIST_BRANCH) $<
- rpm -qp $< --queryformat '[%{FILEMD5S} %{FILENAMES}\n]' > $@.new
- mv -f $@.new $@
-
-build: pkgs-import
- cd $(COMMON_DIR)/../glibc/$(DIST_BRANCH) && \
- cvs -q update && \
- $(MAKE) build
-
-endif
-###