diff --git a/ipw-firmware.changes b/ipw-firmware.changes index 70980e3..12ad428 100644 --- a/ipw-firmware.changes +++ b/ipw-firmware.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 19 12:56:50 UTC 2020 - Ludwig Nussel + +- use %_firmwaredir + ------------------------------------------------------------------- Tue Oct 13 09:56:33 UTC 2020 - Jan Engelhardt diff --git a/ipw-firmware.spec b/ipw-firmware.spec index 7a33367..ab2877c 100644 --- a/ipw-firmware.spec +++ b/ipw-firmware.spec @@ -64,9 +64,9 @@ Intel license. See http://ipw2100.sourceforge.net/firmware.php?fid=4. %build %install -mkdir -p %{buildroot}/lib/firmware -cp *fw ipw2200-fw-3.1/*fw %{buildroot}/lib/firmware -cp LICENSE %{buildroot}/lib/firmware/LICENSE.ipw2x00 +mkdir -p %{buildroot}%{_firmwaredir} +cp *fw ipw2200-fw-3.1/*fw %{buildroot}%{_firmwaredir} +cp LICENSE %{buildroot}%{_firmwaredir}/LICENSE.ipw2x00 %post test -f /.buildenv && exit 0 @@ -87,6 +87,6 @@ for M in ipw2100 ipw2200 ; do done %files -/lib/firmware/* +%{_firmwaredir}/* %changelog