X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=dump.spec;h=50645acda850f1fe283ab89401dfa8b6fa1335d5;hp=6603fd7932ce31e239d94f0c5ae93b6d91e772bf;hb=b8f7cbe65e70f2ec792c447995ba00ca360ec0c9;hpb=9081ea909f4c55c9344fee512c509caf4f2f64b8 diff --git a/dump.spec b/dump.spec index 6603fd7..50645ac 100644 --- a/dump.spec +++ b/dump.spec @@ -2,7 +2,7 @@ # XXX --enable-kerberos needs krcmd %define myoptions --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --with-dumpdates="%{_sysconfdir}/dumpdates" --enable-readline --enable-largefile --enable-qfa -Summary: Programs for backing up and restoring filesystems. +Summary: Programs for backing up and restoring ext2/ext3 filesystems. Name: dump Version: 0.4b22 Release: 1 @@ -10,7 +10,7 @@ License: BSD Group: Applications/Archiving Source: http://download.sourceforge.net/dump/dump-%{version}.tar.gz Requires: rmt -BuildRequires: e2fsprogs-devel +BuildPrereq: e2fsprogs-devel, libtermcap-devel, readline-devel BuildRoot: %{_tmppath}/%{name}-root %description @@ -58,7 +58,11 @@ This packages contains statically linked versions of dump and restore. %build %configure %{myoptions} --enable-static -make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" +%ifarch alpha +RPM_OPT_FLAGS="" +%endif +make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \ + -Wmissing-prototypes -Wno-char-subscripts" mv dump/dump dump/dump.static mv restore/restore restore/restore.static @@ -67,7 +71,8 @@ make distclean %configure %{myoptions} --enable-rmt -make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" +make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \ + -Wmissing-prototypes -Wno-char-subscripts" %install rm -rf %{buildroot}