Hello community,

here is the log from the commit of package patchelf for openSUSE:Factory 
checked in at 2016-04-05 10:43:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/patchelf (Old)
 and      /work/SRC/openSUSE:Factory/.patchelf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "patchelf"

Changes:
--------
--- /work/SRC/openSUSE:Factory/patchelf/patchelf.changes        2016-03-26 
15:24:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.patchelf.new/patchelf.changes   2016-04-05 
10:43:44.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Apr  1 22:53:20 UTC 2016 - dval...@suse.com
+
+- Enable exluded architectures.
+  Fixed by debian patch no-rpath-prebuilt.patch 
+
+-------------------------------------------------------------------

New:
----
  no-rpath-prebuilt.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ patchelf.spec ++++++
--- /var/tmp/diff_new_pack.cZfuUn/_old  2016-04-05 10:43:45.000000000 +0200
+++ /var/tmp/diff_new_pack.cZfuUn/_new  2016-04-05 10:43:45.000000000 +0200
@@ -24,9 +24,8 @@
 Group:          Development/Libraries/C and C++
 Url:            http://nixos.org/patchelf.html
 Source:         
http://releases.nixos.org/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2
+Patch0:         no-rpath-prebuilt.patch 
 BuildRequires:  gcc-c++
-# Tests fail here
-ExcludeArch:    ppc ppc64 ppc64le %arm aarch64
 
 %description
 PatchELF is a simple utility for modifing existing ELF executables and
@@ -35,6 +34,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++++++ no-rpath-prebuilt.patch ++++++
From: Felipe Sateler <fsate...@debian.org>
Date: Mon, 29 Feb 2016 17:29:35 -0300
Subject: no-rpath-prebuild: force pagesize to 4096 on prebuilt binaries

They all have that page size.
---
 tests/no-rpath-prebuild.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/tests/no-rpath-prebuild.sh b/tests/no-rpath-prebuild.sh
index d059dda..aa27b7a 100755
--- a/tests/no-rpath-prebuild.sh
+++ b/tests/no-rpath-prebuild.sh
@@ -1,6 +1,7 @@
 #! /bin/sh -e
 set -x
 ARCH="$1"
+PAGESIZE=4096
 
 if [ -z "$ARCH" ]; then
   ARCH=$(basename $0 .sh | sed -e 's/.*-//')
@@ -25,13 +26,13 @@ mkdir -p ${SCRATCH}
 
 cp $no_rpath_bin ${SCRATCH}/no-rpath
 
-oldRPath=$(../src/patchelf --print-rpath ${SCRATCH}/no-rpath)
+oldRPath=$(../src/patchelf --page-size ${PAGESIZE} --print-rpath 
${SCRATCH}/no-rpath)
 if test -n "$oldRPath"; then exit 1; fi
-../src/patchelf \
-  --set-interpreter "$(../src/patchelf --print-interpreter ../src/patchelf)" \
+../src/patchelf --page-size ${PAGESIZE} \
+  --set-interpreter "$(../src/patchelf --page-size ${PAGESIZE} 
--print-interpreter ../src/patchelf)" \
   --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx ${SCRATCH}/no-rpath
 
-newRPath=$(../src/patchelf --print-rpath ${SCRATCH}/no-rpath)
+newRPath=$(../src/patchelf --page-size ${PAGESIZE} --print-rpath 
${SCRATCH}/no-rpath)
 if ! echo "$newRPath" | grep -q '/foo:/bar'; then
     echo "incomplete RPATH"
     exit 1

Reply via email to