diff --git a/zd1211-firmware.spec b/zd1211-firmware.spec index 6d7fa04..8394925 100644 --- a/zd1211-firmware.spec +++ b/zd1211-firmware.spec @@ -10,7 +10,7 @@ Source0: http://downloads.sourceforge.net/zd1211/zd1211-firmware-%{version}.tar. Patch0: zd1211-firmware-1.4-build__from_headers.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch - +Conflicts: filesystem < 3 %description This package contains the firmware required to work with the zd1211 chipset. @@ -26,7 +26,7 @@ make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -make install FW_DIR=$RPM_BUILD_ROOT/lib/firmware/zd1211 +make install FW_DIR=$RPM_BUILD_ROOT%{_prefix}/lib/firmware/zd1211 %clean @@ -35,8 +35,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README COPYING -%dir /lib/firmware/zd1211 -/lib/firmware/zd1211/* +%dir %{_prefix}/lib/firmware/zd1211 +%{_prefix}/lib/firmware/zd1211/* %changelog