diff --git a/wimax.spec b/wimax.spec index 12e1c57..0fd5057 100644 --- a/wimax.spec +++ b/wimax.spec @@ -25,6 +25,8 @@ BuildRequires: zlib-devel BuildRequires: libeap-devel BuildRequires: chrpath ExcludeArch: s390 s390x +Conflicts: udev < 176 +Conflicts: filesystem < 3 %description User space daemon for the Intel 2400m Wireless WiMAX Link. @@ -69,8 +71,8 @@ chrpath --delete %{buildroot}%{_bindir}/wimaxd mv %{buildroot}/etc/logrotate.d/wimax.conf %{buildroot}/etc/logrotate.d/wimax -mkdir -p %{buildroot}/lib/udev -mv %{buildroot}/etc/udev/rules.d %{buildroot}/lib/udev +mkdir -p %{buildroot}%{_prefix}/lib/udev +mv %{buildroot}/etc/udev/rules.d %{buildroot}%{_prefix}/lib/udev %post libs -p /sbin/ldconfig @@ -82,7 +84,7 @@ mv %{buildroot}/etc/udev/rules.d %{buildroot}/lib/udev %config /etc/logrotate.d/wimax %config /etc/modprobe.d/i2400m.conf %config /etc/wimax/config.xml -/lib/udev/rules.d/iwmxsdk.rules +%{_prefix}/lib/udev/rules.d/iwmxsdk.rules %{_bindir}/wimaxcu %{_bindir}/wimaxd %{_bindir}/wimax_monitor