Accepting request 841478 from home:jengelh:branches:hardware

- Replace old specfile constructs.

OBS-URL: https://build.opensuse.org/request/show/841478
OBS-URL: https://build.opensuse.org/package/show/hardware/ipw-firmware?expand=0&rev=9
This commit is contained in:
Michal Suchanek 2020-10-16 14:23:30 +00:00 committed by Git OBS Bridge
parent c4f188db3c
commit 72f0089700
2 changed files with 12 additions and 20 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 13 09:56:33 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Replace old specfile constructs.
-------------------------------------------------------------------
Sat Feb 2 23:02:49 UTC 2013 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package ipw-firmware
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,12 +12,10 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Url: http://ipw2200.sourceforge.net/firmware.php
Name: ipw-firmware
Summary: Firmware for Intel PRO/Wireless WLAN Cards
License: SUSE-Firmware
@ -27,14 +25,14 @@ Release: 0
%define version_2100 1.3
%define version_2200 2.4
%define version_3945 1.14.2
URL: http://ipw2200.sourceforge.net/firmware.php
Source0: ipw2100-fw-%{version_2100}.tar.bz2
Source1: ipw2200-fw-%{version_2200}.tar.bz2
Source2: ipw2200-fw-2.3.tar.bz2
Source3: ipw2200-fw-2.2.tar.bz2
Source4: ipw2200-fw-3.1.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
PreReq: modutils grep
Requires(post): modutils grep
# Modules: ipw2100.ko ipw2200.ko
Supplements: modalias(pci:v00008086d00001043sv0000103Csd00002741bc*sc*i*)
Supplements: modalias(pci:v00008086d00001043sv00008086sd0000252[0123456789BCD]bc*)
@ -60,14 +58,8 @@ This package contains firmware binaries needed for Intel PRO/Wireless
2100/2200BG (aka Centrino) WLAN cards. The package is covered by the
Intel license. See http://ipw2100.sourceforge.net/firmware.php?fid=4.
%prep
%setup0 -c
%setup1 -T -D -a 1
%setup2 -T -D -a 2
%setup3 -T -D -a 3
%setup4 -T -D -a 4
%setup -cq -a1 -a2 -a3 -a4
%build
@ -93,13 +85,8 @@ for M in ipw2100 ipw2200 ; do
{ echo "Reloading module $M"; rmmod $M; modprobe $M; }
fi
done
exit 0
%files
%defattr(-,root,root)
/lib/firmware/*
%clean
test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
%changelog