Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
patchelf
patchelf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File patchelf.spec of Package patchelf
# # spec file for package patchelf # # Copyright (c) 2024 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.18.0 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 Patch1: fix-rename-dynamic-symbols.sh-test-issue-503.patch %if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150600 BuildRequires: gcc13 BuildRequires: gcc13-c++ %else BuildRequires: gcc-c++ %endif %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 %autosetup -p1 %build %if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150600 export CC=gcc-13 export CXX=g++-13 %endif %configure %make_build %check %ifnarch s390x #Bug bsc#1211860, builds are unstable for s390x %make_build check %endif %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} %dir %{_datadir}/zsh %dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_patchelf %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor