Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37407796
en ru br
ALT Linux repos
S:0.18.0-alt1

Group :: Development/Tools
RPM: patchelf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and 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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin