patchelf/patchelf.spec
Adrian Schröter 6cf03690f8 Accepting request 940791 from home:dirkmueller:Factory
- update to 0.14.3:
  * this release adds support for static, pre-compiled patchelf binaries
  * make version number in tarball easier to use for packagers
  * build fix: add missing include
  * Bug fixes:
    - Fix corrupted library names when using --replace-needed multiple times
    - Fix setting an empty rpath
    - Don't try to parse .dynamic section of type NOBITS
    - Fix use-after-free in normalizeNoteSegments
    - Correct EINTR handling in writeFile
    - MIPS: Adjust PT_MIPS_ABIFLAGS segment and DT_MIPS_RLD_MAP_REL dynamic section if present
    - Fix binaries without .gnu.hash section
  * Support loongarch architecture
  * Remove limits on output file size for elf files
  * Allow reading rpath from file
  * Requires now C++17 for building

OBS-URL: https://build.opensuse.org/request/show/940791
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/patchelf?expand=0&rev=26
2021-12-21 10:10:58 +00:00

55 lines
1.5 KiB
RPMSpec

#
# spec file for package patchelf
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: patchelf
Version: 0.14.3
Release: 0
Summary: A utility for patching ELF binaries
License: GPL-3.0-only
Group: Development/Libraries/C and C++
URL: https://nixos.org/patchelf.html
Source: https://github.com/NixOS/patchelf/releases/download/%{version}/patchelf-%{version}.tar.bz2
BuildRequires: gcc-c++
%description
PatchELF is a simple utility for modifing existing ELF executables and
libraries. It can change the dynamic loader ("ELF interpreter") of
executables and change the RPATH of executables and libraries.
%prep
%setup -q
%build
%configure
%make_build
%check
%make_build check
%install
%make_install
rm -v %{buildroot}%{_datadir}/doc/patchelf/README.md
%files
%doc README.md
%license COPYING
%{_bindir}/patchelf
%{_mandir}/man1/patchelf.1%{?ext_man}
%changelog