forked from pool/dwarves
Accepting request 453924 from devel:tools
1 OBS-URL: https://build.opensuse.org/request/show/453924 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dwarves?expand=0&rev=13
This commit is contained in:
commit
136073b9e6
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 1 14:38:32 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Use cmake macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 22 08:47:19 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
|
14
dwarves.spec
14
dwarves.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dwarves
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,14 +23,12 @@ Summary: DWARF utilities
|
||||
License: GPL-2.0
|
||||
Group: Development/Tools/Debuggers
|
||||
Url: http://acmel.wordpress.com/
|
||||
|
||||
#Git-Clone: git://git.kernel.org/pub/scm/devel/pahole/pahole
|
||||
#Git-Web: http://git.kernel.org/cgit/devel/pahole/pahole.git
|
||||
#DL-URL: http://fedorapeople.org/~acme/dwarves/
|
||||
Source: http://fedorapeople.org/~acme/dwarves/%name-%version.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
Patch1: dwarves-no-DW_TAG_mutable.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libdw-devel >= 0.142
|
||||
BuildRequires: libebl-devel
|
||||
@ -38,6 +36,7 @@ BuildRequires: libelf-devel
|
||||
BuildRequires: zlib-devel
|
||||
# Also known by its most prominent tool
|
||||
Provides: pahole = %version-%release
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
dwarves is a set of tools that use the DWARF debugging information
|
||||
@ -66,7 +65,7 @@ improvements in this area!
|
||||
Summary: DWARF processing libraries of dwarves tools
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libdwarves1
|
||||
%description -n libdwarves1
|
||||
This package contains the libdwarves shared library for the dwarves
|
||||
toolset, providing processing for DWARF, a debugging data format
|
||||
for ELF files.
|
||||
@ -89,14 +88,13 @@ for processing DWARF, a debugging data format for ELF files.
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags"
|
||||
cmake -DCMAKE_INSTALL_PREFIX="%_prefix" -D__LIB="%_lib" .
|
||||
%cmake
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR="%buildroot"
|
||||
%cmake_install
|
||||
|
||||
%post -n libdwarves1 -p /sbin/ldconfig
|
||||
%post -n libdwarves1 -p /sbin/ldconfig
|
||||
%postun -n libdwarves1 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
|
Loading…
Reference in New Issue
Block a user