diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-02 03:55:46 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-02 03:55:46 +0000 |
commit | d520c771ad668a7a36d60eda1502c6db56679c1b (patch) | |
tree | b4b3b6f35a18e0292b5258163bb7cfee28d302c4 | |
parent | dddf75985360d08ec8580947d4705312e0c339ea (diff) |
automatic import of patchelfopeneuler22.03_LTS_SP2
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | patchelf.spec | 55 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 57 insertions, 0 deletions
@@ -0,0 +1 @@ +/patchelf-0.18.0.tar.gz diff --git a/patchelf.spec b/patchelf.spec new file mode 100644 index 0000000..4ea12c0 --- /dev/null +++ b/patchelf.spec @@ -0,0 +1,55 @@ +Name: patchelf +Version: 0.18.0 +Release: 1 +Summary: A utility for patching ELF binaries + +License: GPL-3.0 +URL: http://nixos.org/patchelf.html +Source0: https://github.com/NixOS/%{name}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc gcc-c++ make autoconf automake coreutils libacl-devel libattr-devel + +%description +PatchELF is a simple utility for modifying an existing ELF executable +or library. It can change the dynamic loader ("ELF interpreter") +of an executable and change the RPATH of an executable or library. + + +%prep +%autosetup +# package ships elf.h - delete to use glibc-headers one +%{__rm} -f src/elf.h + + +%build +bash ./bootstrap.sh +%configure +%make_build + + +%check +make check + + +%install +%make_install + +rm -rf %{buildroot}/usr/share/doc/%{name} + + +%files +%license COPYING +%doc README.md +%{_bindir}/patchelf +%{_mandir}/man1/patchelf.1* +/usr/share/zsh/site-functions/_patchelf + +%changelog +* Jan Oct 02 2023 wangsuyu <1395168068@qq.com> - 0.18.0 +- update to 0.18.0 + +* Fri Dec 30 2022 liyuxiang <liyuxiang@ncti-gba.cn> - 0.16.0-1 +- update to 0.16.0 to fix CVE-2022-44940 + +* Tue Nov 23 2021 konglidong <konglidong@uniontech.com> - 0.13-1 +- package init @@ -0,0 +1 @@ +39be87713c18bfb3b2d27f4b23e28a18 patchelf-0.18.0.tar.gz |