forked from pool/dwarves
Accepting request 83315 from devel:tools
- 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/83315 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dwarves?expand=0&rev=3
This commit is contained in:
commit
0f17e13227
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
|
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/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: dwarves
|
Name: dwarves
|
||||||
@ -29,6 +28,7 @@ Group: Development/Tools/Debuggers
|
|||||||
#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/acme/pahole
|
#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/acme/pahole
|
||||||
#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
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: cmake libdw-devel libdwarf-devel libebl-devel libelf-devel
|
BuildRequires: cmake libdw-devel libdwarf-devel libebl-devel libelf-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -59,8 +59,6 @@ developments: it now generates systemtap scripts, stay tuned for
|
|||||||
improvements in this area!
|
improvements in this area!
|
||||||
|
|
||||||
%package -n libdwarves1
|
%package -n libdwarves1
|
||||||
|
|
||||||
|
|
||||||
Summary: DWARF processing libraries of dwarves tools
|
Summary: DWARF processing libraries of dwarves tools
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
@ -75,7 +73,6 @@ 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
|
||||||
Requires: libdwarves1 = %{version}-%{release}
|
Requires: libdwarves1 = %{version}-%{release}
|
||||||
@ -90,7 +87,7 @@ for processing DWARF, a debugging data format for ELF files.
|
|||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -D__LIB=%{_lib} .
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -D__LIB=%{_lib} .
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
|
Loading…
Reference in New Issue
Block a user