From 698aa1940c7125638a2eac0edb30bb0ad88a2c7a59fde7e90f67d14b52c06c94 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 19 Sep 2011 01:00:49 +0000 Subject: [PATCH] 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 --- baselibs.conf | 4 ++++ dwarves.changes | 8 ++++++++ dwarves.spec | 7 ++----- 3 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 baselibs.conf diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..82fb4f2 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libdwarves1 +libdwarves-devel + requires -libdwarves- + requires "libdwarves1- = " diff --git a/dwarves.changes b/dwarves.changes index 798510a..c99b90b 100644 --- a/dwarves.changes +++ b/dwarves.changes @@ -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 diff --git a/dwarves.spec b/dwarves.spec index d21d513..fc37d21 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -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