diff --git a/iwl3945-firmware.spec b/iwl3945-firmware.spec index d1cd18d..0ebc957 100644 --- a/iwl3945-firmware.spec +++ b/iwl3945-firmware.spec @@ -16,6 +16,7 @@ ExcludeArch: ppc ppc64 Provides: iwlwifi-firmware = %{version}-%{release} Obsoletes: iwlwifi-firmware =< 2.14.4-1 Obsoletes: iwlwifi-3945-firmware =< 2.14.4-1 +Conflicts: filesystem < 3 %description This package contains the firmware required by the iwl3945 driver for Linux. @@ -41,9 +42,9 @@ chmod 0644 LICENSE README %install %{__rm} -rf %{buildroot} -%{__mkdir_p} %{buildroot}/lib/firmware +%{__mkdir_p} %{buildroot}%{_prefix}/lib/firmware %{__install} -p -m 0644 iwlwifi-3945*.ucode */iwlwifi-3945*.ucode \ - %{buildroot}/lib/firmware/ + %{buildroot}%{_prefix}/lib/firmware/ %clean @@ -53,7 +54,7 @@ chmod 0644 LICENSE README %files %defattr(-,root,root,-) %doc LICENSE README -/lib/firmware/*.ucode +%{_prefix}/lib/firmware/*.ucode %changelog