Group :: Development/Tools
RPM: patchelf
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: patchelf
Version: 0.18.0
Release: alt1
Summary: A utility for patching ELF binaries
Group: Development/Tools
License: GPLv3+
Url: https://github.com/NixOS/patchelf
# repacked https://github.com/NixOS/patchelf/releases/download/%version/patchelf-%version.tar.gz
Source: %name-%version.tar
# Automatically added by buildreq on Mon Nov 07 2016
# optimized out: libstdc++-devel python-base
BuildRequires: gcc-c++
%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
%setup
# package ships elf.h - delete to use glibc-headers one
rm src/elf.h
%build
%configure
%make_build
%check
rc=0
make check
%install
%makeinstall_std
# the docs get put in a funny place, so delete and include in the
# standard way in the docs section below
rm -rf %buildroot/usr/share/doc/%name
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
%files
%doc COPYING README.md
%_bindir/patchelf
%_mandir/man1/patchelf.1*
%_datadir/zsh/site-functions/_patchelf
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.18.0
Release: alt1
Summary: A utility for patching ELF binaries
Group: Development/Tools
License: GPLv3+
Url: https://github.com/NixOS/patchelf
# repacked https://github.com/NixOS/patchelf/releases/download/%version/patchelf-%version.tar.gz
Source: %name-%version.tar
# Automatically added by buildreq on Mon Nov 07 2016
# optimized out: libstdc++-devel python-base
BuildRequires: gcc-c++
%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
%setup
# package ships elf.h - delete to use glibc-headers one
rm src/elf.h
%build
%configure
%make_build
%check
rc=0
make check
%install
%makeinstall_std
# the docs get put in a funny place, so delete and include in the
# standard way in the docs section below
rm -rf %buildroot/usr/share/doc/%name
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
%files
%doc COPYING README.md
%_bindir/patchelf
%_mandir/man1/patchelf.1*
%_datadir/zsh/site-functions/_patchelf
%changelog
…
Todas as alterações você pod ver aqui