accel-config: Rebase to 4.1.6 release

Rebase to 4.1.6 and add -test package for
RH internal testing use.

Resolves: RHEL-29909

Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
This commit is contained in:
Jerry Snitselaar 2024-04-06 11:29:01 -07:00
parent bea2abdc13
commit ad16c64f5c
3 changed files with 30 additions and 5 deletions

View File

@ -1,10 +1,10 @@
%global project_name idxd-config
Name: accel-config
Version: 4.1.1
Release: 4%{?dist}
Version: 4.1.6
Release: 1%{?dist}
Summary: Configure accelerator subsystem devices
License: GPL-2.0
License: GPL-2.0-only
URL: https://github.com/intel/%{project_name}
Source0: %{URL}/archive/%{name}-v%{version}.tar.gz
@ -15,11 +15,13 @@ BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: automake
BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libkmod)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(zlib)
BuildRequires: systemd
BuildRequires: make
@ -48,13 +50,21 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description libs
Libraries for %{name}.
%package test
Summary: Tests for accel-config
License: GPL-2.0-only
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description test
Tests for accel-config command.
%prep
%autosetup -n %{project_name}-%{name}-v%{version}
%build
echo %{version} > version
./autogen.sh
%configure --disable-static --disable-silent-rules
%configure --disable-static --disable-silent-rules --enable-test
%make_build
%install
@ -83,7 +93,16 @@ make check
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/lib%{name}.pc
%files test
%license Documentation/COPYING LICENSE_GPL_2_0
%doc test/README.md
%{_libexecdir}/accel-config/test/*
%changelog
* Sun Mar 24 2024 Jerry Snitselaar <jsnitsel@redhat.com> - 4.1.6-1
- Rebase to 4.1.6 release
Resolves: RHEL-29909
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: manual.sst_kernel_rats.accel-config.legacy}

View File

@ -1 +1 @@
SHA512 (accel-config-v4.1.1.tar.gz) = d34adaed54a90972b7a87589abff97ab9fdcfe4119bc2e2f25aedf132961fc9059ea945d461431aad2a1877e6f4eafe9d2b69bbc249fbcfa565a01b7084cfeda
SHA512 (accel-config-v4.1.6.tar.gz) = 142c1a1d9e0b631023859410cdd31d6b076aed6cf01636b8f4d854854e517802572d33773c11106bd86746962d8fd6cc0e8c7106686b565980e0335fac5cac4e