1
0

Accepting request 847552 from home:lnussel:firmware

- Use %_firmwaredir

OBS-URL: https://build.opensuse.org/request/show/847552
OBS-URL: https://build.opensuse.org/package/show/hardware/adaptec-firmware?expand=0&rev=7
This commit is contained in:
Thomas Renninger 2020-11-23 17:49:30 +00:00 committed by Git OBS Bridge
parent fa51707604
commit 7bee0edec8
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 19 12:47:57 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- Use %_firmwaredir
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 14 14:37:35 UTC 2011 - coolo@suse.com Wed Dec 14 14:37:35 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package adaptec-firmware # spec file for package adaptec-firmware
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,9 +12,10 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
Name: adaptec-firmware Name: adaptec-firmware
Summary: Firmware files for Adaptec SAS Cards (AIC94xx Series) Summary: Firmware files for Adaptec SAS Cards (AIC94xx Series)
License: SUSE-Firmware License: SUSE-Firmware
@ -26,7 +27,6 @@ Release: 0
# Install into this non-root directory (required when norootforbuild is used): # Install into this non-root directory (required when norootforbuild is used):
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%define _datadir /lib/firmware
# Modules: aic94xx.ko # Modules: aic94xx.ko
Supplements: modalias(pci:v00009005d00000410sv*sd*bc*sc*i*) Supplements: modalias(pci:v00009005d00000410sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00009005d00000412sv*sd*bc*sc*i*) Supplements: modalias(pci:v00009005d00000412sv*sd*bc*sc*i*)
@ -47,13 +47,13 @@ cp %{S:1} .
%install %install
# The firmware files must be installed in /lib/firmware # The firmware files must be installed in /lib/firmware
# because the firmware loader from udev searches there # because the firmware loader from udev searches there
mkdir -p %{buildroot}%{_datadir} mkdir -p %{buildroot}%{_firmwaredir}
install -m 644 %{S:0} %{buildroot}%{_datadir} install -m 644 %{S:0} %{buildroot}%{_firmwaredir}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE %doc LICENSE
%{_datadir}/* %{_firmwaredir}/*
%description %description
Firmware files for the Adaptec AIC94xx (Razor) Series of SAS HBA Firmware files for the Adaptec AIC94xx (Razor) Series of SAS HBA