SHA256
1
0
forked from pool/dump

Accepting request 84424 from Archiving

- Remove redundant tags/sections from specfile
  (cf. packaging guidelines)
- Use %_smp_mflags for parallel build (forwarded request 83303 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/84424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dump?expand=0&rev=11
This commit is contained in:
Sascha Peilicke 2011-09-22 11:55:27 +00:00 committed by Git OBS Bridge
parent df06c3acb6
commit 1f8ed20025
2 changed files with 11 additions and 22 deletions

View File

@ -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

View File

@ -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 <Remy.Card@freenix.fr>
Stelian Pop <pop@cybercable.fr>
%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}/*/*