From 7bee0edec8cf2a47f73acca588165b8b8a7532e075b9e51dc21cf0cc408c29f0 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Mon, 23 Nov 2020 17:49:30 +0000 Subject: [PATCH] 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 --- adaptec-firmware.changes | 5 +++++ adaptec-firmware.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/adaptec-firmware.changes b/adaptec-firmware.changes index 5a6c9ba..a91f376 100644 --- a/adaptec-firmware.changes +++ b/adaptec-firmware.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 19 12:47:57 UTC 2020 - Ludwig Nussel + +- Use %_firmwaredir + ------------------------------------------------------------------- Wed Dec 14 14:37:35 UTC 2011 - coolo@suse.com diff --git a/adaptec-firmware.spec b/adaptec-firmware.spec index 90d230a..27e4b4d 100644 --- a/adaptec-firmware.spec +++ b/adaptec-firmware.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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 Summary: Firmware files for Adaptec SAS Cards (AIC94xx Series) License: SUSE-Firmware @@ -26,7 +27,6 @@ Release: 0 # Install into this non-root directory (required when norootforbuild is used): BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%define _datadir /lib/firmware # Modules: aic94xx.ko Supplements: modalias(pci:v00009005d00000410sv*sd*bc*sc*i*) Supplements: modalias(pci:v00009005d00000412sv*sd*bc*sc*i*) @@ -47,13 +47,13 @@ cp %{S:1} . %install # The firmware files must be installed in /lib/firmware # because the firmware loader from udev searches there -mkdir -p %{buildroot}%{_datadir} -install -m 644 %{S:0} %{buildroot}%{_datadir} +mkdir -p %{buildroot}%{_firmwaredir} +install -m 644 %{S:0} %{buildroot}%{_firmwaredir} %files %defattr(-,root,root) %doc LICENSE -%{_datadir}/* +%{_firmwaredir}/* %description Firmware files for the Adaptec AIC94xx (Razor) Series of SAS HBA