From ec4de78c79e2926f769d7700f62225a8a8d4f6bc Mon Sep 17 00:00:00 2001
From: dspinella <>
Date: Sep 10 2021 22:06:03 +0000
Subject: Update accel-config to version 3.4.1 / rev 5 via SR 917986
https://build.opensuse.org/request/show/917986
by user dspinella + dimstar_suse
---
diff --git a/.files b/.files
index f2b6ee4..9faffc2 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 6b1b6e8..8660108 100644
--- a/.rev
+++ b/.rev
@@ -7,4 +7,36 @@
- Initial packaging of v2.8 (jsc#SLE-15021)
836279
+
+ 0e06c650dbe1ac8948b3802069985793
+ 3.0.1
+
+ dimstar_suse
+
+ 871451
+
+
+ 4bebad0571ed9383dffd6a74fbb3a5a2
+ 3.1
+
+ dimstar_suse
+
+ 888494
+
+
+ 63460efc07ef309d8a4ff43d955655f6
+ 3.2
+
+ dimstar_suse
+
+ 903636
+
+
+ 21c82bf0f61760119f80eb8fa9f2abf4
+ 3.4.1
+
+ dimstar_suse
+
+ 917986
+
diff --git a/accel-config-v2.8.tar.gz b/accel-config-v2.8.tar.gz
deleted file mode 120000
index 9b24aa3..0000000
--- a/accel-config-v2.8.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreigivkcccf43oh5xfcag4wtcczk7vmskqyxzz2mc6mizxew2ifuut4
\ No newline at end of file
diff --git a/accel-config.changes b/accel-config.changes
index 8788670..51e4072 100644
--- a/accel-config.changes
+++ b/accel-config.changes
@@ -1,4 +1,60 @@
-------------------------------------------------------------------
+Thu Sep 9 10:18:17 UTC 2021 - Danilo Spinella
+
+- Update to version 3.4.1
+ * Bug fixes related to traffic-class
+ * Add per-wq ATS disable support
+ * Add extended error status reporting
+ * Created local copy of UAPI header file idxd.h from /usr/include
+ * Update driver name changes
+ * Rewrite unit test removing hardcoding and other enhancements
+ * Bug fixes
+- Run spec-cleaner
+
+-------------------------------------------------------------------
+Tue Jun 29 10:23:21 UTC 2021 - Ferdinand Thiessen
+
+- Update to version 3.2
+ * Add support for new device bind paths retaining compatibility
+ with older kernels
+ * Add support for UACCE interface to access char devices
+ * Fixed several issues in filtering, config and listing code
+ * Support all 256 bits of op_cap
+ * Fix incorrect return values
+ * Made removing all mdevs more intuitive
+
+-------------------------------------------------------------------
+Mon Apr 26 09:57:42 UTC 2021 - Ferdinand Thiessen
+
+- Update to version 3.1
+ * Improved error messages and return values
+ * Fix incorrect error return value from tool
+ * Allow -1 special value for wq->groupid and fix related error
+ messages
+ * Fix incorrect manpage text for config-wq
+ * Remove reference to non-interface header in interface header
+ * Remove non-interface header from packaging
+ * Use portable data types and fix build issues in 32 bit targets
+- Dropped upstream merged v3.0.1-use-portable-data-types.patch
+
+-------------------------------------------------------------------
+Fri Feb 12 13:09:35 UTC 2021 - Libor Pechacek
+
+- Update to v3.0.1 (jsc#SLE-13348)
+ - Added IAX support
+ - Added implementation and support for new mdev types
+ - Removed uuid type mdevs
+ - Introduced a new wq API to set max batch and transfer size
+ - Added new GPL2 and LGPL-2.1 license files
+ - Library license changed to LGPL-2.1
+ - Fixed static code analysis bugs
+- Enhanced Description
+- Added dependency on the idxd kernel driver
+- Restricted architecture to x86 - DSA is embedded
+ into Intel CPUs
+- Added patch: v3.0.1-use-portable-data-types.patch
+
+-------------------------------------------------------------------
Tue Sep 22 09:28:15 UTC 2020 - Marketa Calabkova
- Initial packaging of v2.8 (jsc#SLE-15021)
diff --git a/accel-config.spec b/accel-config.spec
index 33a0ce5..355ffb3 100644
--- a/accel-config.spec
+++ b/accel-config.spec
@@ -1,7 +1,7 @@
#
# spec file for package accel-config
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,36 +15,38 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define pkg_libname libaccel-config1
+%define pkg_libname libaccel-config1
+%define src_name idxd-config-accel-config-v%{version}
Name: accel-config
-Version: 2.8
+Version: 3.4.1
Release: 0
-Summary: Configure accelerator subsystem devices
+Summary: Configure accelerator subsystem devices
License: GPL-2.0-only
URL: https://github.com/intel/idxd-config
-Source: https://github.com/intel/idxd-config/archive/accel-config-v%{version}.tar.gz
+Source: %{url}/archive/accel-config-v%{version}.tar.gz#/%{src_name}.tar.gz
+BuildRequires: asciidoc
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: libtool
BuildRequires: binutils
-BuildRequires: asciidoc
-BuildRequires: xmlto
+BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: pkgconfig(libkmod)
-BuildRequires: pkgconfig(uuid)
+BuildRequires: xmlto
BuildRequires: pkgconfig(json-c)
+BuildRequires: pkgconfig(libkmod)
BuildRequires: pkgconfig(libudev)
-BuildRequires: systemd
+BuildRequires: pkgconfig(uuid)
Requires: %{pkg_libname} = %{version}-%{release}
-
+ExclusiveArch: x86_64 i586
%description
-Utility library for configuring the accelerator subsystem.
+Utility library and command-line tool for configuring the Intel
+Data Streaming Accelerator (DSA) and Intel Analytics Accelerator
+(IAX).
%package -n %{name}-devel
Summary: Development files for libaccfg
-License: LGPL-2.0-only
+License: LGPL-2.1-only
Requires: %{pkg_libname} = %{version}-%{release}
%description -n %{name}-devel
@@ -53,13 +55,14 @@ developing applications that use %{name}.
%package -n %{pkg_libname}
Summary: Configuration library for accelerator subsystem devices
-License: LGPL-2.0-only
+License: LGPL-2.1-only
+Requires: kmod(idxd.ko)
%description -n %{pkg_libname}
Libraries for %{name}.
%prep
-%setup -q -n idxd-config-accel-config-v%{version}
+%setup -q -n %{src_name}
%build
echo %{version} > version
@@ -69,32 +72,29 @@ echo %{version} > version
%install
%make_install
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
+find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{pkg_libname} -p /sbin/ldconfig
-
%postun -n %{pkg_libname} -p /sbin/ldconfig
%files
-%defattr(-,root,root)
%license Documentation/COPYING licenses/BSD-MIT licenses/CC0
+%license licenses/accel-config-licenses LICENSE_GPL_2_0
%{_bindir}/accel-config
%{_mandir}/man1/accel-config*
%dir %{_sysconfdir}/accel-config
%config %{_sysconfdir}/accel-config/accel-config.conf.sample
%files -n %{pkg_libname}
-%defattr(-,root,root)
%doc README.md
%license Documentation/COPYING licenses/BSD-MIT licenses/CC0
+%license licenses/libaccel-config-licenses accfg/lib/LICENSE_LGPL_2_1
%{_libdir}/libaccel-config.so.*
%files -n %{name}-devel
-%defattr(-,root,root)
%license Documentation/COPYING
%{_includedir}/accel-config/
%{_libdir}/libaccel-config.so
%{_libdir}/pkgconfig/libaccel-config.pc
%changelog
-
diff --git a/idxd-config-accel-config-v3.4.1.tar.gz b/idxd-config-accel-config-v3.4.1.tar.gz
new file mode 120000
index 0000000..6ca8cdb
--- /dev/null
+++ b/idxd-config-accel-config-v3.4.1.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreieosjgojvwxlam6tis6cfre67dah2dmg4uxxqohv5j25velp6pa7i
\ No newline at end of file