diff --git a/mkbootdisk.spec b/mkbootdisk.spec index b527942..cd9bd6b 100644 --- a/mkbootdisk.spec +++ b/mkbootdisk.spec @@ -5,6 +5,7 @@ Release: 3%{?dist} License: GPLv2+ Group: System Environment/Base Source: mkbootdisk-%{version}.tar.xz +Conflicts: filesystem < 3 ExclusiveOs: Linux ExclusiveArch: %{ix86} sparc sparc64 x86_64 %ifnarch sparc sparc64 @@ -26,7 +27,9 @@ the system. %install rm -rf $RPM_BUILD_ROOT -make BUILDROOT=$RPM_BUILD_ROOT mandir=%{_mandir} install +make BUILDROOT=$RPM_BUILD_ROOT sbindir=%{_sbindir} mandir=%{_mandir} install +mkdir -p %{buildroot}/%{_sbindir} +mv -f %{buildroot}/sbin/mkbootdisk %{buildroot}/%{_sbindir}/ || : %clean rm -rf $RPM_BUILD_ROOT @@ -34,7 +37,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING -%attr(755,root,root) /sbin/mkbootdisk +%attr(755,root,root) %{_sbindir}/mkbootdisk %attr(644,root,root) %{_mandir}/man8/mkbootdisk.8* %changelog