Accepting request 40226 from Base:System
checked in (request 40226) OBS-URL: https://build.opensuse.org/request/show/40226 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
175fa1556a
commit
272768a3c4
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package elfutils (Version 0.147)
|
||||
# spec file for package elfutils (Version 0.142)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -20,21 +20,26 @@
|
||||
|
||||
Name: elfutils
|
||||
License: GPLv2+
|
||||
Version: 0.147
|
||||
Release: 0
|
||||
Version: 0.142
|
||||
Release: 4
|
||||
Summary: Higher-level library to access ELF
|
||||
Group: System/Libraries
|
||||
Url: http://elfutils.fedorahosted.org
|
||||
Source: elfutils-%{version}.tar.bz2
|
||||
Source: elfutils-%{version}-no-osl.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
Patch1: elfutils-portability.patch
|
||||
Patch2: elfutils-robustify.patch
|
||||
Patch: elfutils-portability.patch
|
||||
Patch1: elfutils-robustify.patch
|
||||
Patch3: elfutils-no-po-test-build.diff
|
||||
Patch4: libebl-prototype-fix.diff
|
||||
Patch5: elfutils-uninitialized.diff
|
||||
Patch6: elfutils-0.137-dwarf-header-check-fix.diff
|
||||
Patch7: libebl-prototype-fix.diff
|
||||
Patch8: elfutils-0.97-ftruncate-mmap-fix.diff
|
||||
Patch9: libelf-ignore-NOBITS-sh_offset.patch
|
||||
Patch10: test.diff
|
||||
Patch11: build.diff
|
||||
Patch12: elfutils-old-scanf-fix.diff
|
||||
Patch13: elfutils-suse-10.3-fixes.diff
|
||||
Patch20: elfutils-0.137-dwarf-header-check-fix.diff
|
||||
Patch21: elfutils-uninitialized.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison flex
|
||||
|
||||
%description
|
||||
This package provides a higher-level library to access ELF files. This
|
||||
@@ -190,12 +195,23 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q -n elfutils-%{version}
|
||||
%patch -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch3
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
#%patch10 -p1
|
||||
%patch11 -p1
|
||||
%if %suse_version < 1100
|
||||
%patch12
|
||||
%endif
|
||||
%if %suse_version == 1030
|
||||
# only 10.3 gcc has a problem
|
||||
%patch13
|
||||
%endif
|
||||
%patch20 -p1
|
||||
%patch21
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
@@ -206,7 +222,6 @@ make %{?jobs:-j%jobs};
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
# remove unneeded files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
|
||||
|
||||
%post -n libebl1 -p /sbin/ldconfig
|
||||
|
||||
@@ -259,7 +274,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libelf.so
|
||||
%{_libdir}/libelf.a
|
||||
#%{_libdir}/libelf_pic.a
|
||||
%{_libdir}/libelf_pic.a
|
||||
%{_includedir}/libelf.h
|
||||
%{_includedir}/gelf.h
|
||||
%{_includedir}/nlist.h
|
||||
|
Reference in New Issue
Block a user