diff --git a/libdnet.changes b/libdnet.changes index 7e609ee..5193bca 100644 --- a/libdnet.changes +++ b/libdnet.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 13 14:54:56 UTC 2011 - jengelh@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) +- Use %_smp_mflags for parallel building + ------------------------------------------------------------------- Sun Nov 13 09:15:27 UTC 2011 - coolo@suse.com diff --git a/libdnet.spec b/libdnet.spec index 4d16763..0b394af 100644 --- a/libdnet.spec +++ b/libdnet.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: libdnet @@ -25,7 +24,7 @@ Group: Development/Libraries/Other Summary: Library for Simple, Portable Interface to Low Level Networking Routines Version: 1.12 Release: 2 -Url: http://code.google.com/p/libdnet/ +URL: http://code.google.com/p/libdnet/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://libdnet.googlecode.com/files/%name-%{version}.tar.bz2 Patch0: %name.patch @@ -47,14 +46,7 @@ networking routines, including: * raw IP packet and Ethernet frame transmission - - -Authors: --------- - Dug Song - %package -n libdnet1 -License: BSD3c(or similar) Group: Development/Libraries/Other Summary: Library for Simple, Portable Interface to Low Level Networking Routines Provides: %{name} = %{version} @@ -78,14 +70,7 @@ networking routines, including: * raw IP packet and Ethernet frame transmission - - -Authors: --------- - Dug Song - %package devel -License: BSD3c(or similar) Group: Development/Libraries/Other Summary: Devel files for libdnet Requires: libdnet1 = %{version} glibc-devel @@ -107,12 +92,6 @@ networking routines, including: - raw IP packet and Ethernet frame transmission - - -Authors: --------- - Dug Song - %prep %setup -q %patch0 @@ -120,15 +99,12 @@ Authors: %build ACLOCAL="aclocal -I config" autoreconf -fi %configure --disable-static --with-pic -make %{?jobs:-j %jobs} +make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install %{__rm} -f %{buildroot}%{_libdir}/libdnet.la -%clean -rm -rf $RPM_BUILD_ROOT - %post -n libdnet1 -p /sbin/ldconfig %postun -n libdnet1 -p /sbin/ldconfig