Hello community, here is the log from the commit of package rpm checked in at Fri Sep 5 19:37:53 CEST 2008. -------- --- rpm/rpm.changes 2008-08-25 14:48:31.000000000 +0200 +++ rpm/rpm.changes 2008-09-05 16:56:42.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Sep 5 16:56:23 CEST 2008 - dmueller@suse.de + +- strip .comment and .GCC.command.line sections from ELF binaries + +------------------------------------------------------------------- --- rpm/rpm-python.changes 2008-08-07 16:06:13.000000000 +0200 +++ rpm/rpm-python.changes 2008-08-30 21:26:12.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Aug 30 21:23:38 CEST 2008 - cthiel@suse.de + +- add libselinux-devel to BuildRequires + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpm-python.spec ++++++ --- /var/tmp/diff_new_pack.c22252/_old 2008-09-05 19:37:34.000000000 +0200 +++ /var/tmp/diff_new_pack.c22252/_new 2008-09-05 19:37:34.000000000 +0200 @@ -19,12 +19,12 @@ Name: rpm-python -BuildRequires: libbz2-devel lzma-alpha-devel ncurses-devel python-devel zlib-devel +BuildRequires: libbz2-devel libselinux-devel lzma-alpha-devel ncurses-devel python-devel zlib-devel License: GPL v2 or later Group: System/Packages Summary: Python Bindings for Manipulating RPM Packages Version: 4.4.2 -Release: 277 +Release: 278 Requires: rpm = %{version} %py_requires Source99: rpm.spec @@ -69,6 +69,8 @@ %{_libdir}/python* %changelog +* Sat Aug 30 2008 cthiel@suse.de +- add libselinux-devel to BuildRequires * Thu Aug 07 2008 dmueller@suse.de - fix build against python 2.6 * Thu Mar 27 2008 coolo@suse.de ++++++ rpm.spec ++++++ --- /var/tmp/diff_new_pack.c22252/_old 2008-09-05 19:37:34.000000000 +0200 +++ /var/tmp/diff_new_pack.c22252/_new 2008-09-05 19:37:34.000000000 +0200 @@ -27,7 +27,7 @@ AutoReqProv: on Summary: The RPM Package Manager Version: 4.4.2 -Release: 215 +Release: 217 Source: rpm-%{version}.tar.bz2 Source1: RPM-HOWTO.tar.bz2 Source2: RPM-Tips.html.tar.bz2 @@ -361,7 +361,7 @@ License: LGPL v2.1 or later Group: System/Libraries Version: 1.7 -Release: 443 +Release: 445 # %description -n popt @@ -384,7 +384,7 @@ License: LGPL v2.1 or later Group: System/Libraries Version: 1.7 -Release: 443 +Release: 445 Requires: popt = 1.7 Requires: glibc-devel @@ -419,6 +419,8 @@ %doc %{_mandir}/man3/popt.3* %changelog +* Fri Sep 05 2008 dmueller@suse.de +- strip .comment and .GCC.command.line sections from ELF binaries * Mon Aug 25 2008 prusnak@suse.cz - enabled SELinux support [Fate#303662] * Thu Aug 21 2008 ro@suse.de ++++++ finddebuginfo.diff ++++++ --- /var/tmp/diff_new_pack.c22252/_old 2008-09-05 19:37:35.000000000 +0200 +++ /var/tmp/diff_new_pack.c22252/_new 2008-09-05 19:37:35.000000000 +0200 @@ -1,12 +1,6 @@ ---- - scripts/find-debuginfo.sh | 78 ++++++++++++++++++++++++++++++++++++++-------- - 1 file changed, 65 insertions(+), 13 deletions(-) - -Index: scripts/find-debuginfo.sh -=================================================================== ---- scripts/find-debuginfo.sh.orig +--- scripts/find-debuginfo.sh +++ scripts/find-debuginfo.sh -@@ -14,9 +14,18 @@ debugdir="${RPM_BUILD_ROOT}/usr/lib/debu +@@ -14,9 +14,18 @@ echo -n > $SOURCEFILE # Strip ELF binaries @@ -27,7 +21,7 @@ dn=$(dirname $f | sed -n -e "s#^$RPM_BUILD_ROOT##p") bn=$(basename $f .debug).debug -@@ -25,6 +34,8 @@ do +@@ -25,6 +34,8 @@ [ -f "${debugfn}" ] && continue echo extracting debug info from $f @@ -36,7 +30,7 @@ /usr/lib/rpm/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l "$SOURCEFILE" "$f" # A binary already copied into /usr/lib/debug doesn't get stripped, -@@ -34,19 +45,60 @@ do +@@ -34,19 +45,63 @@ esac mkdir -p "${debugdn}" @@ -47,6 +41,8 @@ - eu-strip -f "${debugfn}" "$f" || : - chmod u-w "$f" + objcopy --only-keep-debug $f $debugfn || : ++ ( ++ shopt -s extglob + strip_option="--strip-all" + case "$f" in + *.ko) @@ -61,8 +57,9 @@ + if test "$NO_DEBUGINFO_STRIP_DEBUG" = true ; then + strip_option= fi -+ objcopy --add-gnu-debuglink=$debugfn $strip_option $f || : ++ objcopy --add-gnu-debuglink=$debugfn -R .comment -R .GCC.command.line $strip_option $f + chmod $mode $f ++ ) || : done +#for f in `find $RPM_BUILD_ROOT ! -path "${debugdir}/*.debug" -type f \( -name "*.exe.mdb" -or -name "*.dll.mdb" \) ` ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de