diff --git a/dump.changes b/dump.changes index 241abbe..cc1b1b0 100644 --- a/dump.changes +++ b/dump.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 + ------------------------------------------------------------------- Thu Sep 30 11:17:34 CEST 2010 - nadvornik@suse.cz diff --git a/dump.spec b/dump.spec index 848537f..efa7a3a 100644 --- a/dump.spec +++ b/dump.spec @@ -1,7 +1,7 @@ # -# spec file for package dump (Version 0.4b43) +# spec file for package dump # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,14 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: dump BuildRequires: e2fsprogs-devel libselinux-devel readline-devel zlib-devel License: BSD3c Group: Productivity/Archiving/Backup -AutoReqProv: on Version: 0.4b43 Release: 1 Source: %{name}-%{version}.tar.bz2 @@ -42,13 +40,6 @@ copies those files to a specified disk, tape, or other storage medium. The restore command performs the inverse function of dump. It can restore a full backup of a file system. - - -Authors: --------- - Remy Card - Stelian Pop - %prep %setup #mkdir ext2fs @@ -64,13 +55,7 @@ Authors: %define sysconfdir /etc aclocal autoconf -CFLAGS="$RPM_OPT_FLAGS -save-temps" \ -CXXFLAGS="$RPM_OPT_FLAGS" \ -./configure --mandir=%{_mandir} \ - --prefix=%{prefix} \ - --sbindir=/sbin \ - --infodir=%{_infodir} \ - --sysconfdir=%{sysconfdir} \ +%configure --sbindir=/sbin \ --enable-rmt \ --with-ldopts= \ --with-ccopts="-I$PWD -Wall" \ @@ -82,7 +67,7 @@ CXXFLAGS="$RPM_OPT_FLAGS" \ --with-manmode=0644 \ --enable-readline \ --enable-largefile -make +make %{?_smp_mflags} %install install -d $RPM_BUILD_ROOT/etc \ @@ -94,9 +79,6 @@ make DESTDIR=$RPM_BUILD_ROOT/ install rm $RPM_BUILD_ROOT/sbin/rmt rm $RPM_BUILD_ROOT/%{_mandir}/man8/rmt.* -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; - %files %defattr(-, root, root) %doc %{_mandir}/*/*