rpms/elfutils/devel Makefile,1.28,1.29
Roland McGrath
roland at fedoraproject.org
Wed Dec 24 10:14:55 UTC 2008
Author: roland
Update of /cvs/pkgs/rpms/elfutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6036
Modified Files:
Makefile
Log Message:
Rejigger patch generation magic for git.
Index: Makefile
===================================================================
RCS file: /cvs/pkgs/rpms/elfutils/devel/Makefile,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- Makefile 27 Aug 2008 19:37:47 -0000 1.28
+++ Makefile 24 Dec 2008 10:14:24 -0000 1.29
@@ -28,22 +28,19 @@
CURL += -k
endif
-MONOTONE = mtn
-
branch-portability = portable
-elfutils-base = t:elfutils-$(VERSION)
+elfutils-base = elfutils-$(VERSION)
+elfutils-base = master
-elfutils-%.patch: elfutils-$(VERSION).tar.gz Makefile
+elfutils-%.patch: elfutils-$(VERSION).tar.bz2 Makefile
@rm -rf elfutils-master elfutils-$*
-# $(MONOTONE) checkout -b com.redhat.elfutils elfutils-master
- $(MONOTONE) checkout -b com.redhat.elfutils \
- -r $(elfutils-base) elfutils-master
- $(MONOTONE) checkout \
- -b com.redhat.elfutils.$(firstword $(branch-$*) $*) \
- elfutils-$*
- cd elfutils-master; autoreconf -i; rm -rf autom4te.cache _MTN
- cd elfutils-$*; autoreconf -i; rm -rf autom4te.cache _MTN
+ git archive --prefix=elfutils-master/ $(elfutils-base) \
+ | tar xf -
+ git archive --prefix=elfutils-$*/ $(firstword $(branch-$*) $*) \
+ | tar xf -
+ cd elfutils-master; autoreconf -i; rm -rf autom4te.cache
+ cd elfutils-$*; autoreconf -i; rm -rf autom4te.cache
diff -Nrpu elfutils-master elfutils-$* | \
filterdiff --remove-timestamps --strip=1 --addprefix=elfutils/ > $@.new
mv $@.new $@
More information about the fedora-extras-commits
mailing list