|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%global pkg megaraid_sas
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
2d0a03 |
%global kernel_version_min 4.18.0-326.el8
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
# To pick a specific kernel use `--define "kernel_version 4.18.0-315.el8"`
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
# Otherwise the latest installed kernel-devel version later than
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
# %%{kernel_version_min} will be used.
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%global kernel_version_latest %({ echo %{kernel_version_min}; rpm --query kernel-devel --queryformat '%%{VERSION}-%%{RELEASE}\\\n' | grep -v "package kernel-devel is not installed"; } | sort -V | sed -e '0,/^%{kernel_version_min}$/d' | tail -n 1)
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%if "%{kernel_version_latest}" != ""
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{!?kernel_version:%{expand:%%global kernel_version %{kernel_version_latest}}}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%global _use_internal_dependency_generator 0
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
d600cd |
%global __find_requires %{nil}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
4147ff |
%global __find_provides /usr/lib/rpm/find-provides
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%global debug_package %{nil}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%global __spec_install_post \
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{?__debug_package:%{__debug_install_post}} \
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{__arch_install_post} \
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{__os_install_post} \
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{__mod_compress_install_post}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%global __mod_compress_install_post find %{buildroot}/lib/modules -type f -name \*.ko -exec xz \{\} \\;
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
Name: kmod-%{pkg}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
Version: 4.18.0
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
2d0a03 |
Release: 326%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
Summary: Broadcom MegaRAID SAS (%{pkg}) driver
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
License: GPLv2
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
URL: https://www.kernel.org/
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
Source0: %{pkg}-%{kernel_version_min}.tar.xz
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
Patch1: 0001-add-deprecated-ids.patch
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
ExclusiveArch: x86_64 aarch64
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
BuildRequires: elfutils-libelf-devel
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
BuildRequires: gcc
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
BuildRequires: kmod
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
BuildRequires: make
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
BuildRequires: redhat-rpm-config
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
BuildRequires: xz
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{!?kernel_version:
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
BuildRequires: kernel-devel >= %{kernel_version_min}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{?kernel_version:
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
BuildRequires: kernel-devel = %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
Supplements: kernel = %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
11c128 |
Requires: kernel-core = %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
a6aeba |
Requires: kernel-modules = %{kernel_version}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
Provides: kernel-modules = %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
Requires(post): /usr/sbin/depmod
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
Requires(postun): /usr/sbin/depmod
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%description
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
This package provides the Broadcom MegaRAID SAS (%{pkg}) driver. Compared to
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
the in-kernel driver this driver re-enables support for deprecated adapters:
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- 0x1000:0x0060: LSI MegaRAID SAS1078R
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- 0x1000:0x0078: LSI MegaRAID SAS1078 Gen2
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- 0x1000:0x007C: LSI MegaRAID SAS1078DE
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- 0x1000:0x0411: LSI MegaRAID SAS1064R
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- 0x1000:0x0413: LSI MegaRAID SAS1068 Verde ZCR
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- 0x1028:0x0015: Dell PERC5
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
The removal of the following adapters has been reverted in 4.18.0-290 [1761485]:
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- 0x1000:0x0071: LSI MegaRAID SAS0071 Skinny
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- 0x1000:0x0073: LSI MegaRAID SAS0073 Skinny
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- 0x1000:0x0079: LSI MegaRAID SAS0079 Gen2
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%prep
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%autosetup -p1 -n %{pkg}-%{kernel_version_min}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%build
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
pushd src
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{__make} -C /usr/src/kernels/%{kernel_version}.%{_arch} %{?_smp_mflags} M=$PWD modules
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
popd
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%install
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{__install} -D -t %{buildroot}/lib/modules/%{kernel_version}.%{_arch}/extra/drivers/scsi/megaraid src/%{pkg}.ko
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
# Make .ko objects temporarily executable for automatic stripping
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
find %{buildroot}/lib/modules -type f -name \*.ko -exec chmod u+x \{\} \+
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%clean
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%{__rm} -rf %{buildroot}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%post
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
mkdir -p %{_localstatedir}/lib/rpm-state/sig-kmods
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
touch %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
%preun
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
mkdir -p %{_localstatedir}/lib/rpm-state/sig-kmods
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
touch %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%postun
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
if [ -f %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch} ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
if [ -f /lib/modules/%{kernel_version}.%{_arch}/System.map ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
/usr/sbin/depmod -aeF /lib/modules/%{kernel_version}.%{_arch}/System.map %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
rm -f %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
rmdir --ignore-fail-on-non-empty %{_localstatedir}/lib/rpm-state/sig-kmods
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
%posttrans
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
if [ -f %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch} ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
if [ -f /lib/modules/%{kernel_version}.%{_arch}/System.map ]
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
then
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
/usr/sbin/depmod -aeF /lib/modules/%{kernel_version}.%{_arch}/System.map %{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
rm -f %{_localstatedir}/lib/rpm-state/sig-kmods/%{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
rmdir --ignore-fail-on-non-empty %{_localstatedir}/lib/rpm-state/sig-kmods
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
eccca9 |
fi
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%files
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%defattr(644,root,root,755)
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
/lib/modules/%{kernel_version}.%{_arch}
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%license COPYING
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
2d0a03 |
* Thu Jul 29 2021 Peter Georg <peter.georg@physik.uni-regensburg.de> - 4.18.0-326
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
2d0a03 |
- Update to 4.18.0-326.el8
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
2d0a03 |
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
* Fri Jul 23 2021 Peter Georg <peter.georg@physik.uni-regensburg.de> - 4.18-310
|
|
![](https://seccdn.libravatar.org/avatar/3aca30869987a7956e55611d7b09cf8feeda4ed6012702006dfc43728025673c?s=16&d=retro) |
f3328c |
- Initial version
|