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