From a93f27b80da55479764c56a54623bf2e1023c181 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 23 2019 01:40:46 +0000 Subject: import kabi-yum-plugins-1.0-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3853cdf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/kabi-yum-plugins-1.0.tar.bz2 diff --git a/.kabi-yum-plugins.metadata b/.kabi-yum-plugins.metadata new file mode 100644 index 0000000..12332e4 --- /dev/null +++ b/.kabi-yum-plugins.metadata @@ -0,0 +1 @@ +d48fa67df151b8bb3b418a1f100f611cbeae2cde SOURCES/kabi-yum-plugins-1.0.tar.bz2 diff --git a/SOURCES/kabi-yum-plugins-current.patch b/SOURCES/kabi-yum-plugins-current.patch new file mode 100644 index 0000000..852145b --- /dev/null +++ b/SOURCES/kabi-yum-plugins-current.patch @@ -0,0 +1,12 @@ +diff --git a/kabi.conf b/kabi.conf +index aa70ab7d5660..c785ca460eba 100644 +--- a/kabi.conf ++++ b/kabi.conf +@@ -1,6 +1,6 @@ + [main] + enabled=1 +-whitelists=/lib/modules/kabi ++whitelists=/lib/modules/kabi-current + # The default is to warn in the case that an external kernel module (driver) + # uses non approved kABI symbols. Uncomment the following line to force an + # error message to be displayed and disllow installation of such drivers. diff --git a/SPECS/kabi-yum-plugins.spec b/SPECS/kabi-yum-plugins.spec new file mode 100644 index 0000000..3c54856 --- /dev/null +++ b/SPECS/kabi-yum-plugins.spec @@ -0,0 +1,57 @@ +Name: kabi-yum-plugins +Version: 1.0 +Release: 3%{?dist} +Summary: The Red Hat Enterprise Linux kernel ABI yum plugin + +Group: System Environment/Kernel +License: GPLv2 +URL: http://www.redhat.com/ +Source0: kabi-yum-plugins-%{version}.tar.bz2 +Patch0: kabi-yum-plugins-current.patch +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch + +BuildRequires: python +Requires: kernel-abi-whitelists +Requires: python +Requires: yum >= 3.2.25-12 + +%description +The kABI yum plugins package contains a yum plugin that can be used in order +to enforce that only those third party kernel module packages meeting Red Hat +kernel ABI requirements are installed. The plugin requires that those drivers +be packaged in accordance with Red Hat Driver Update Program guidelines. + +%prep +%setup -q +%patch0 -p1 + +%build +make + +%install +rm -rf $RPM_BUILD_ROOT +make install PREFIX=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +/usr/lib/yum-plugins/kabi.* +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/kabi.conf + +%changelog +* Thu Sep 11 2014 Jiri Olsa - 1.0-3 +- Fix kabi location path. (BZ#1112731) + +* Fri Dec 27 2013 Daniel Mach - 1.0-2 +- Mass rebuild 2013-12-27 + +* Thu Aug 08 2013 Jiri Olsa - 1.0-1 +- fix kernel-abi-whitelists dependency +- Resolves: #994409 + +* Mon Jul 22 2013 Jiri Olsa - 1.0-0 +- import from RHEL6.5 +- Resolves: #980235