Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:a_faerber:openSUSE:Factory:bootstrap
elfutils
elfutils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File elfutils.spec of Package elfutils
Name: elfutils Version: %(rpm -q cross-%{cross_arch}-elfutils | cut -d - -f 4 ) Release: 0 Summary: Foo License: SUSE-GPL-2.0-with-OSI-exception Group: foo Source1: elfutils-rpmlintrc BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cross-%{cross_arch}-elfutils #!BuildIgnore: post-build-checks Provides: libelf1 Provides: libelf-devel %description Bootstrap package %package -n libelf1 Summary: Foo %description -n libelf1 Bootstrap package %define gcc_target_arch %{cross_arch}-suse-linux %define sysroot %{_prefix}/%{gcc_target_arch}/sys-root %define cross_lib lib %if "%{cross_arch}" == "mips64" %define cross_lib lib64 %endif %define cross_libdir %{_prefix}/%{cross_lib} %prep %build %install export NO_BRP_CHECK_RPATH=true export NO_BRP_STRIP_DEBUG=true export NO_DEBUGINFO_STRIP_DEBUG=true mkdir -p %{buildroot} rpm -ql cross-%{cross_arch}-elfutils | \ while IFS= read -r line; do if [ ! -d $line ]; then echo $line fi done | grep -v '/man/\|/info/' > elfutils.files tar cf - -T elfutils.files | tar xf - --strip-components=3 -C %{buildroot} sed -i -e "s|^%{sysroot}||" elfutils.files %post -n libelf1 -p /sbin/ldconfig %postun -n libelf1 -p /sbin/ldconfig %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f elfutils.files %defattr(-,root,root) %exclude %{cross_libdir}/libelf.so.1 %exclude %{cross_libdir}/libelf-%{version}.so %files -n libelf1 %defattr(-,root,root) %{cross_libdir}/libelf.so.1 %{cross_libdir}/libelf-%{version}.so %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