diff --git a/tuned.spec b/tuned.spec index 142941c..803fe79 100644 --- a/tuned.spec +++ b/tuned.spec @@ -22,6 +22,8 @@ Requires(preun): chkconfig Requires(preun): initscripts Requires(postun): initscripts BuildArch: noarch +Conflicts: udev < 176 +Conflicts: filesystem < 3 %description The tuned package contains a daemon that tunes system settings dynamically. @@ -44,7 +46,8 @@ instead of fewer large ones). %prep %setup -q - +# FIXME +sed -i -e 's#/lib/udev#%{_prefix}/lib/udev#g' Makefile %build %install @@ -100,8 +103,8 @@ fi %dir %{_sysconfdir}/ktune.d %dir %{_localstatedir}/log/tuned %dir %{_localstatedir}/run/tuned -%attr(0755,root,root) /lib/udev/tuned-mpath-iosched -/lib/udev/rules.d/* +%attr(0755,root,root) %{_prefix}/lib/udev/tuned-mpath-iosched +%{_prefix}/lib/udev/rules.d/* %if %uses_tmpfs %{_sysconfdir}/tmpfiles.d %endif