eu-strip robustification

This commit is contained in:
roland 2005-06-09 22:29:12 +00:00
parent 5d6f627384
commit c579df6a01
2 changed files with 17 additions and 9 deletions

View File

@ -3,15 +3,20 @@
NAME := elfutils NAME := elfutils
SPECFILE = $(firstword $(wildcard *.spec)) SPECFILE = $(firstword $(wildcard *.spec))
TARGETS += elfutils-portability.patch
include ../common/Makefile.common include ../common/Makefile.common
elfutils-portability.patch: elfutils-$(VERSION).tar.gz portable.patch master-cvsroot = :gserver:cvs.devel.redhat.com:/cvs/devel
rm -rf elfutils-$(VERSION) elfutils-$(VERSION).orig
tar xzf $< elfutils-portability.patch: elfutils-$(VERSION).tar.gz
mv elfutils-$(VERSION) elfutils-$(VERSION).orig @rm -rf elfutils-master elfutils-portable
tar xzf $< cvs -d $(master-cvsroot) -Q export \
patch -p1 -d elfutils-$(VERSION) < portable.patch -d elfutils-master elfutils
cd elfutils-$(VERSION); autoreconf cvs -d $(master-cvsroot) -Q export \
diff -rpu elfutils-$(VERSION).orig elfutils-$(VERSION) | \ -d elfutils-portable -r portable-branch elfutils
cd elfutils-master; autoreconf
cd elfutils-portable; autoreconf
diff -rpu elfutils-master elfutils-portable | \
filterdiff --remove-timestamps --strip=1 --addprefix=elfutils/ > $@.new filterdiff --remove-timestamps --strip=1 --addprefix=elfutils/ > $@.new
mv $@.new $@ mv $@.new $@

View File

@ -1,5 +1,5 @@
%define version 0.108 %define version 0.108
%define release 3 %define release 4
%define gpl 0 %define gpl 0
%if %{?_with_compat:1}%{!?_with_compat:0} %if %{?_with_compat:1}%{!?_with_compat:0}
@ -223,6 +223,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libelf.so %{_libdir}/libelf.so
%changelog %changelog
* Thu Jun 9 2005 Roland McGrath <roland@redhat.com> - 0.108-4
- eu-strip robustification
* Wed May 25 2005 Roland McGrath <roland@redhat.com> - 0.108-3 * Wed May 25 2005 Roland McGrath <roland@redhat.com> - 0.108-3
- more robustification - more robustification