diff --git a/reiserfs-utils.spec b/reiserfs-utils.spec index 982a1db..c4f42a7 100644 --- a/reiserfs-utils.spec +++ b/reiserfs-utils.spec @@ -12,6 +12,7 @@ Group: System Environment/Base BuildRoot: %{_tmppath}/%{name}-root Epoch: 2 BuildRequires: e2fsprogs-devel +Conflicts: filesystem < 3 %description The reiserfs-utils package contains a number of utilities for @@ -38,25 +39,24 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR="$RPM_BUILD_ROOT" -mv -f $RPM_BUILD_ROOT/usr/sbin $RPM_BUILD_ROOT/sbin mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 install -m644 debugreiserfs/debugreiserfs.8 $RPM_BUILD_ROOT%{_mandir}/man8 install -m644 fsck/reiserfsck.8 $RPM_BUILD_ROOT%{_mandir}/man8 install -m644 mkreiserfs/mkreiserfs.8 $RPM_BUILD_ROOT%{_mandir}/man8 -( cd $RPM_BUILD_ROOT/sbin +( cd $RPM_BUILD_ROOT%{_sbindir} ln -fs mkreiserfs mkfs.reiserfs ln -fs reiserfsck fsck.reiserfs ) %files %defattr(-,root,root,-) %doc README -/sbin/debugreiserfs -/sbin/mkreiserfs -/sbin/reiserfsck -/sbin/resize_reiserfs -/sbin/reiserfstune -/sbin/mkfs.reiserfs -/sbin/fsck.reiserfs +%{_sbindir}/debugreiserfs +%{_sbindir}/mkreiserfs +%{_sbindir}/reiserfsck +%{_sbindir}/resize_reiserfs +%{_sbindir}/reiserfstune +%{_sbindir}/mkfs.reiserfs +%{_sbindir}/fsck.reiserfs %{_mandir}/*/* %clean