diff --git a/ivtv-firmware.spec b/ivtv-firmware.spec index ff69d95..8169b7e 100644 --- a/ivtv-firmware.spec +++ b/ivtv-firmware.spec @@ -18,6 +18,7 @@ Obsoletes: %{name}-dec < %{version_dec} Provides: %{name}-dec = %{version_dec} Obsoletes: %{name}-enc < %{version_enc} Provides: %{name}-enc = %{version_enc} +Conflicts: filesystem < 3 %description This package contains the firmware for WinTV Hauppauge PVR @@ -30,14 +31,14 @@ This package contains the firmware for WinTV Hauppauge PVR %install rm -rf %{buildroot} -mkdir -p %{buildroot}/lib/firmware +mkdir -p %{buildroot}%{_prefix}/lib/firmware -install -p *.fw %{buildroot}/lib/firmware/ -install -p v4l-cx2341x-init.mpg %{buildroot}/lib/firmware/v4l-cx2341x-init.mpg +install -p *.fw %{buildroot}%{_prefix}/lib/firmware/ +install -p v4l-cx2341x-init.mpg %{buildroot}%{_prefix}/lib/firmware/v4l-cx2341x-init.mpg # license requires that the licenses go in the same place as the firmware for f in license-*.txt do - install -p $f %{buildroot}/lib/firmware/%{name}-$f + install -p $f %{buildroot}%{_prefix}/lib/firmware/%{name}-$f done %clean @@ -46,9 +47,9 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc license-*.txt -/lib/firmware/*.fw -/lib/firmware/v4l-cx2341x-init.mpg -/lib/firmware/%{name}-license-*.txt +%{_prefix}/lib/firmware/*.fw +%{_prefix}/lib/firmware/v4l-cx2341x-init.mpg +%{_prefix}/lib/firmware/%{name}-license-*.txt %changelog * Wed Feb 09 2011 Fedora Release Engineering - 2:20080701-21