|
|
e3db0b |
# hardening breaks the set-interpreter-long test on i686, x86_64, ppc64le, s390x
|
|
|
e3db0b |
%undefine _hardened_build
|
|
|
e3db0b |
|
|
|
e3db0b |
Name: patchelf
|
|
|
e3db0b |
Version: 0.18.0
|
|
|
e3db0b |
Release: 6%{?dist}
|
|
|
e3db0b |
Summary: A utility for patching ELF binaries
|
|
|
e3db0b |
|
|
|
e3db0b |
# Automatically converted from old format: GPLv3+ - review is highly recommended.
|
|
|
e3db0b |
License: GPL-3.0-or-later
|
|
|
e3db0b |
URL: http://nixos.org/patchelf.html
|
|
|
e3db0b |
Source0: https://github.com/NixOS/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
e3db0b |
|
|
|
e3db0b |
BuildRequires: gcc
|
|
|
e3db0b |
BuildRequires: gcc-c++
|
|
|
e3db0b |
BuildRequires: make
|
|
|
e3db0b |
BuildRequires: autoconf
|
|
|
e3db0b |
BuildRequires: automake
|
|
|
e3db0b |
BuildRequires: coreutils
|
|
|
e3db0b |
BuildRequires: libacl-devel
|
|
|
e3db0b |
BuildRequires: libattr-devel
|
|
|
e3db0b |
|
|
|
e3db0b |
%description
|
|
|
e3db0b |
PatchELF is a simple utility for modifying an existing ELF executable
|
|
|
e3db0b |
or library. It can change the dynamic loader ("ELF interpreter")
|
|
|
e3db0b |
of an executable and change the RPATH of an executable or library.
|
|
|
e3db0b |
|
|
|
e3db0b |
%prep
|
|
|
e3db0b |
%setup -q
|
|
|
e3db0b |
|
|
|
e3db0b |
# package ships elf.h - delete to use glibc-headers one
|
|
|
e3db0b |
rm src/elf.h
|
|
|
e3db0b |
|
|
|
e3db0b |
%build
|
|
|
e3db0b |
%configure
|
|
|
e3db0b |
%make_build
|
|
|
e3db0b |
|
|
|
e3db0b |
%check
|
|
|
e3db0b |
make check || (cat tests/*.log; exit 1)
|
|
|
e3db0b |
|
|
|
e3db0b |
%install
|
|
|
e3db0b |
%make_install
|
|
|
e3db0b |
|
|
|
e3db0b |
# the docs get put in a funny place, so delete and include in the
|
|
|
e3db0b |
# standard way in the docs section below
|
|
|
e3db0b |
rm -rf %{buildroot}/usr/share/doc/%{name}
|
|
|
e3db0b |
|
|
|
e3db0b |
%files
|
|
|
e3db0b |
%license COPYING
|
|
|
e3db0b |
%doc README.md
|
|
|
e3db0b |
%{_bindir}/patchelf
|
|
|
e3db0b |
%{_mandir}/man1/patchelf.1*
|
|
|
e3db0b |
%dir %{_datadir}/zsh
|
|
|
e3db0b |
%dir %{_datadir}/zsh/site-functions
|
|
|
e3db0b |
%{_datadir}/zsh/site-functions/_patchelf
|
|
|
e3db0b |
|
|
|
e3db0b |
%changelog
|
|
|
e3db0b |
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 0.18.0-6
|
|
|
e3db0b |
- convert license to SPDX
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-5
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-4
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-3
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-2
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sat Apr 29 2023 Jeremy Sanders <jeremy@jeremysanders.net> - 0.18.0-1
|
|
|
e3db0b |
- Update to 0.18.0 (#2189309)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.2-2
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jan 12 2023 Jeremy Sanders <jeremy@jeremysanders.net> - 0.17.2-1
|
|
|
e3db0b |
- Update to 0.17.2 (#2160303)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sun Nov 20 2022 Jeremy Sanders <jeremy@jeremysanders.net> - 0.17.0-1
|
|
|
e3db0b |
- Update to 0.17.0 (#2141392)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sat Oct 29 2022 Jeremy Sanders <jeremy@jeremysanders.net> - 0.16.1-1
|
|
|
e3db0b |
- Update to 0.16.1 (#2138243)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Mon Sep 26 2022 Jeremy Sanders <jeremy@jeremysanders.net> - 0.15.0-2
|
|
|
e3db0b |
- Show 'make check' failure logs
|
|
|
e3db0b |
- Use UseMakeBuildInstallMacro
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sat Jul 23 2022 Jeremy Sanders <jeremy@jeremysanders.net> - 0.15.0-1
|
|
|
e3db0b |
- Update to 0.15.0 (#2107831)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.5-2
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sat Mar 05 2022 Jeremy Sanders <jeremy@jeremysanders.net> - 0.14.5-1
|
|
|
e3db0b |
- Update to 0.14.5 (#2027083)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-2
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Tue Aug 10 2021 Jeremy Sanders <jeremy@jeremysanders.net> - 0.13-1
|
|
|
e3db0b |
- Update to 0.13 (#1990721)
|
|
|
e3db0b |
- Apply patch for self test on ARM
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-2
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Aug 27 2020 Jeremy Sanders <jeremy@jeremysanders.net> - 0.12-1
|
|
|
e3db0b |
- Update to 0.12 (#1873104)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Jul 31 2020 Jeremy Sanders <jeremy@jeremysanders.net> - 0.11-1
|
|
|
e3db0b |
- Updated to 0.11 (#1846586)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-4
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-3
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri May 03 2019 Dan Horák <dan[at]danny.cz> - 0.10-1
|
|
|
e3db0b |
- updated to 0.10 (#1693991)
|
|
|
e3db0b |
- enable all arches
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-10
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sun Jul 15 2018 Jeremy Sanders <jeremy@jeremysanders.net> - 0.9-9
|
|
|
e3db0b |
- Add gcc-c++ to BuildRequires
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-8
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Mon Feb 19 2018 Jeremy Sanders <jeremy@jeremysanders.net> - 0.9-7
|
|
|
e3db0b |
- Add gcc and make to BuildRequires
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-6
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-4
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sun Aug 14 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.9-1
|
|
|
e3db0b |
- Update to patchelf-0.9
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-5
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Mon Jul 13 2015 Petr Pisar <ppisar@redhat.com> - 0.8-4
|
|
|
e3db0b |
- Adjust to PIC executables (bug #1239761)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-3
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sat Jun 07 2014 Jeremy Sanders <jeremy@jeremysanders.net> - 0.8-1
|
|
|
e3db0b |
- Update to patchelf-0.8
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-8
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Aug 16 2013 Jeremy Sanders <jeremy@jeremysanders.net> - 0.6-7
|
|
|
e3db0b |
- Use macro to exclude all arm builds
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Aug 08 2013 Jeremy Sanders <jeremy@jeremysanders.net> - 0.6-6
|
|
|
e3db0b |
- Exclude ARM (bug 627370)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Sat Dec 3 2011 Jeremy Sanders <jeremy@jeremysanders.net> - 0.6-1
|
|
|
e3db0b |
- Update to patchelf 0.6
|
|
|
e3db0b |
- Preserve ACLs and file based capabilities (fixes #665045)
|
|
|
e3db0b |
|
|
|
e3db0b |
* Fri Apr 8 2011 Jeremy Sanders <jeremy@jeremysanders.net> - 0.5-9
|
|
|
e3db0b |
- Disable building on sparc64 and sparcv9 as self test fails
|
|
|
e3db0b |
|
|
|
e3db0b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-8
|
|
|
e3db0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e3db0b |
|
|
|
e3db0b |
* Mon Dec 27 2010 Jeremy Sanders <jeremy@jeremysanders.net> - 0.5-7
|
|
|
e3db0b |
- Fix typo in man page
|
|
|
e3db0b |
|
|
|
e3db0b |
* Wed Aug 25 2010 Jeremy Sanders <jeremy@jeremysanders.net> - 0.5-6
|
|
|
e3db0b |
- Put new bug number in for ppc/ppc64 issue
|
|
|
e3db0b |
|
|
|
e3db0b |
* Tue Aug 24 2010 Jeremy Sanders <jeremy@jeremysanders.net> - 0.5-5
|
|
|
e3db0b |
- Disable building for ppc/ppc64
|
|
|
e3db0b |
|
|
|
e3db0b |
* Tue Jun 15 2010 Jeremy Sanders <jeremy@jeremysanders.net> - 0.5-4
|
|
|
e3db0b |
- Delete elf.h from source to use native header in glibc-headers
|
|
|
e3db0b |
|
|
|
e3db0b |
* Mon Jun 14 2010 Jeremy Sanders <jeremy@jeremysanders.net> - 0.5-3
|
|
|
e3db0b |
- Corrections from initial review by Martin Gieseking
|
|
|
e3db0b |
|
|
|
e3db0b |
* Thu Jun 10 2010 Jeremy Sanders <jeremy@jeremysanders.net> - 0.5-2
|
|
|
e3db0b |
- Add man page
|
|
|
e3db0b |
|
|
|
e3db0b |
* Tue Jun 8 2010 Jeremy Sanders <jeremy@jeremysanders.net> - 0.5-1
|
|
|
e3db0b |
- Initial package
|