SHA256
1
0
forked from pool/dwarves

Drop libdwarf-devel

OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=16
This commit is contained in:
Jan Engelhardt 2014-10-15 14:38:11 +00:00 committed by Git OBS Bridge
parent a7531b6415
commit d0327d2d90
2 changed files with 25 additions and 21 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 15 14:37:48 UTC 2014 - jengelh@inai.de
- Drop libdwarf dependency; it is not needed for build (libdw
is used instead)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 6 21:39:25 UTC 2012 - jengelh@inai.de Wed Jun 6 21:39:25 UTC 2012 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package dwarves # spec file for package dwarves
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,21 +17,21 @@
Name: dwarves Name: dwarves
Url: http://acmel.wordpress.com/ Version: 1.10
Release: 0
Summary: DWARF utilities Summary: DWARF utilities
License: GPL-2.0 License: GPL-2.0
Group: Development/Tools/Debuggers Group: Development/Tools/Debuggers
Version: 1.10 Url: http://acmel.wordpress.com/
Release: 0
#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/acme/pahole #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/ #DL-URL: http://fedorapeople.org/~acme/dwarves/
Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.bz2 Source: http://fedorapeople.org/~acme/dwarves/%name-%version.tar.bz2
Source2: baselibs.conf Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libdw-devel >= 0.142 BuildRequires: libdw-devel >= 0.142
BuildRequires: libdwarf-devel
BuildRequires: libebl-devel BuildRequires: libebl-devel
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -75,10 +75,9 @@ inserted in ELF binaries by compilers such as GCC, used by well known
debuggers such as GDB, and more recent ones such as systemtap. debuggers such as GDB, and more recent ones such as systemtap.
%package -n libdwarves-devel %package -n libdwarves-devel
Summary: DWARF processing library development files Summary: DWARF processing library development files
Group: Development/Libraries Group: Development/Libraries/C and C++
Requires: libdwarves1 = %{version}-%{release} Requires: libdwarves1 = %version-%release
%description -n libdwarves-devel %description -n libdwarves-devel
This package contains the development files for libdwarves, a library This package contains the development files for libdwarves, a library
@ -88,31 +87,30 @@ for processing DWARF, a debugging data format for ELF files.
%setup -q -c %setup -q -c
%build %build
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="%optflags"
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -D__LIB=%{_lib} . cmake -DCMAKE_INSTALL_PREFIX="%_prefix" -D__LIB="%_lib" .
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install make install DESTDIR="%buildroot"
%post -n libdwarves1 -p /sbin/ldconfig %post -n libdwarves1 -p /sbin/ldconfig
%postun -n libdwarves1 -p /sbin/ldconfig %postun -n libdwarves1 -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README NEWS %doc README NEWS
%{_bindir}/* %_bindir/*
%{_mandir}/man*/* %_mandir/man*/*
%files -n libdwarves1 %files -n libdwarves1
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %_libdir/*.so.1*
%files -n libdwarves-devel %files -n libdwarves-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so %_libdir/*.so
%{_includedir}/* %_includedir/*
%{_datadir}/%{name} %_datadir/%name
%changelog %changelog