forked from pool/dwarves
Accepting request 83313 from home:jengelh:bl-d
- Remove redundant tags/sections from specfile (cf. packaging guidelines) - Use %_smp_mflags for parallel build - Implement baselibs config OBS-URL: https://build.opensuse.org/request/show/83313 OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=11
This commit is contained in:
parent
512e8717c2
commit
698aa1940c
4
baselibs.conf
Normal file
4
baselibs.conf
Normal file
@ -0,0 +1,4 @@
|
||||
libdwarves1
|
||||
libdwarves-devel
|
||||
requires -libdwarves-<targettype>
|
||||
requires "libdwarves1-<targettype> = <version>"
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
(cf. packaging guidelines)
|
||||
- Use %_smp_mflags for parallel build
|
||||
- Implement baselibs config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 11 14:47:15 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: dwarves
|
||||
@ -29,6 +28,7 @@ Group: Development/Tools/Debuggers
|
||||
#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/acme/pahole
|
||||
#DL-URL: http://fedorapeople.org/~acme/dwarves/
|
||||
Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake libdw-devel libdwarf-devel libebl-devel libelf-devel
|
||||
BuildRequires: zlib-devel
|
||||
@ -59,8 +59,6 @@ developments: it now generates systemtap scripts, stay tuned for
|
||||
improvements in this area!
|
||||
|
||||
%package -n libdwarves1
|
||||
|
||||
|
||||
Summary: DWARF processing libraries of dwarves tools
|
||||
Group: System/Libraries
|
||||
|
||||
@ -75,7 +73,6 @@ debuggers such as GDB, and more recent ones such as systemtap.
|
||||
|
||||
%package -n libdwarves-devel
|
||||
|
||||
|
||||
Summary: DWARF processing library development files
|
||||
Group: Development/Libraries
|
||||
Requires: libdwarves1 = %{version}-%{release}
|
||||
@ -90,7 +87,7 @@ for processing DWARF, a debugging data format for ELF files.
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -D__LIB=%{_lib} .
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
Loading…
Reference in New Issue
Block a user