diff --git a/no-rpath-prebuilt.patch b/no-rpath-prebuilt.patch deleted file mode 100644 index 795f94e..0000000 --- a/no-rpath-prebuilt.patch +++ /dev/null @@ -1,39 +0,0 @@ -From: Felipe Sateler -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 diff --git a/patchelf-0.10.tar.bz2 b/patchelf-0.10.tar.bz2 new file mode 100644 index 0000000..9c67df9 --- /dev/null +++ b/patchelf-0.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15d4d5df58250f68a0fa424fbeb6941a89142ac8503c24488853e885bfddc59a +size 90642 diff --git a/patchelf-0.9.tar.bz2 b/patchelf-0.9.tar.bz2 deleted file mode 100644 index 87b8bca..0000000 --- a/patchelf-0.9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0f65c1ba148890e9f2f7823f4bedf7ecad5417772f64f994004f59a39014f83 -size 159956 diff --git a/patchelf.changes b/patchelf.changes index c5ffc91..d12c82b 100644 --- a/patchelf.changes +++ b/patchelf.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Aug 26 14:53:38 UTC 2019 - Mikhail Terekhov + +- + +------------------------------------------------------------------- +Mon Aug 26 14:41:43 UTC 2019 - Mikhail Terekhov + +- Update to version 0.10 + * remove no-rpath-prebuilt.patch - applied upstream + * Lots of bug fixes see https://github.com/NixOS/patchelf/commits/master + ------------------------------------------------------------------- Thu Nov 15 12:41:52 UTC 2018 - Martin Pluskal diff --git a/patchelf.spec b/patchelf.spec index 1740d44..c8809d4 100644 --- a/patchelf.spec +++ b/patchelf.spec @@ -1,7 +1,7 @@ # # spec file for package patchelf # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,15 @@ Name: patchelf -Version: 0.9 +Version: 0.10 Release: 0 Summary: A utility for patching ELF binaries License: GPL-3.0-only 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: autoconf +BuildRequires: automake BuildRequires: gcc-c++ %description @@ -34,9 +35,9 @@ executables and change the RPATH of executables and libraries. %prep %setup -q -%patch0 -p1 %build +./bootstrap.sh %configure make %{?_smp_mflags}