Accepting request 847559 from home:lnussel:firmware

- use %_firmwaredir

OBS-URL: https://build.opensuse.org/request/show/847559
OBS-URL: https://build.opensuse.org/package/show/hardware/ipw-firmware?expand=0&rev=11
This commit is contained in:
Thomas Renninger 2020-11-23 17:49:09 +00:00 committed by Git OBS Bridge
parent 72f0089700
commit 0e312ad5f9
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 19 12:56:50 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- use %_firmwaredir
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 13 09:56:33 UTC 2020 - Jan Engelhardt <jengelh@inai.de> Tue Oct 13 09:56:33 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -64,9 +64,9 @@ Intel license. See http://ipw2100.sourceforge.net/firmware.php?fid=4.
%build %build
%install %install
mkdir -p %{buildroot}/lib/firmware mkdir -p %{buildroot}%{_firmwaredir}
cp *fw ipw2200-fw-3.1/*fw %{buildroot}/lib/firmware cp *fw ipw2200-fw-3.1/*fw %{buildroot}%{_firmwaredir}
cp LICENSE %{buildroot}/lib/firmware/LICENSE.ipw2x00 cp LICENSE %{buildroot}%{_firmwaredir}/LICENSE.ipw2x00
%post %post
test -f /.buildenv && exit 0 test -f /.buildenv && exit 0
@ -87,6 +87,6 @@ for M in ipw2100 ipw2200 ; do
done done
%files %files
/lib/firmware/* %{_firmwaredir}/*
%changelog %changelog