X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=dump.spec;h=55a9c203956ad64570c5a81dff06fb90367f91df;hp=57a8947e386735955b3e01fa532e19324b3ea6d4;hb=30a43325fdf58f596d4219fcabb6d46b8d884bdf;hpb=107a347cf90976fa5d608475e64e310b3409d21c diff --git a/dump.spec b/dump.spec index 57a8947..55a9c20 100644 --- a/dump.spec +++ b/dump.spec @@ -52,7 +52,7 @@ This packages contains statically linked versions of dump and restore. %build -%configure --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --enable-static +./configure --prefix=/usr --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --enable-static make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" @@ -61,7 +61,7 @@ mv restore/restore restore/restore.static make distclean -%configure --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --enable-rmt +./configure --prefix=/usr --with-binmode=6755 --with-manowner=root --with-mangrp=root --with-manmode=0644 --enable-rmt make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts" @@ -98,16 +98,16 @@ rm -rf $RPM_BUILD_ROOT /sbin/rdump %attr(6755,root,tty) /sbin/restore /sbin/rrestore -%{_prefix}/man/man8/dump.8 -%{_prefix}/man/man8/rdump.8 -%{_prefix}/man/man8/restore.8 -%{_prefix}/man/man8/rrestore.8 +%{_prefix}/man/man8/dump.* +%{_prefix}/man/man8/rdump.* +%{_prefix}/man/man8/restore.* +%{_prefix}/man/man8/rrestore.* %files -n rmt %defattr(-,root,root) %attr(0755,root,root) /sbin/rmt /etc/rmt -%{_prefix}/man/man8/rmt.8 +%{_prefix}/man/man8/rmt.* %files -n dump-static %defattr(-,root,root)