Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package accel-config for openSUSE:Factory checked in at 2021-02-15 23:16:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/accel-config (Old) and /work/SRC/openSUSE:Factory/.accel-config.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "accel-config" Mon Feb 15 23:16:39 2021 rev:2 rq:871451 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/accel-config/accel-config.changes 2020-09-23 18:48:00.525741287 +0200 +++ /work/SRC/openSUSE:Factory/.accel-config.new.28504/accel-config.changes 2021-02-15 23:19:16.551662461 +0100 @@ -1,0 +2,17 @@ +Fri Feb 12 13:09:35 UTC 2021 - Libor Pechacek <lpecha...@suse.com> + +- 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 + +------------------------------------------------------------------- Old: ---- accel-config-v2.8.tar.gz New: ---- accel-config-v3.0.1.tar.gz v3.0.1-use-portable-data-types.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ accel-config.spec ++++++ --- /var/tmp/diff_new_pack.sOEn44/_old 2021-02-15 23:19:17.311663595 +0100 +++ /var/tmp/diff_new_pack.sOEn44/_new 2021-02-15 23:19:17.315663602 +0100 @@ -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,40 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define pkg_libname libaccel-config1 Name: accel-config -Version: 2.8 +Version: 3.0.1 Release: 0 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 +Patch0: v3.0.1-use-portable-data-types.patch +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: systemd +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 +57,15 @@ %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} +%autopatch -p1 %build echo %{version} > version @@ -78,6 +84,7 @@ %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 @@ -87,6 +94,7 @@ %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 ++++++ accel-config-v2.8.tar.gz -> accel-config-v3.0.1.tar.gz ++++++ ++++ 3900 lines of diff (skipped) ++++++ v3.0.1-use-portable-data-types.patch ++++++ From: Libor Pechacek <lpecha...@suse.cz> Date: Fri, 12 Feb 2021 13:53:45 +0100 Subject: [PATCH] Fix compilation on 32bit platforms Patch-upstream: no, submitted at https://github.com/intel/idxd-config/issues/3 While DSA and IAX are embedded in 64bit CPU, it's fair to assume that the operating system might run in 32bit mode. This patch makes the source code compile in 32bit environment. --- accfg/libaccel_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accfg/libaccel_config.h b/accfg/libaccel_config.h index 0814601a9156..bed340d016ce 100644 --- a/accfg/libaccel_config.h +++ b/accfg/libaccel_config.h @@ -102,7 +102,7 @@ struct wq_parameters { unsigned int priority; int block_on_fault; unsigned int max_batch_size; - unsigned long max_transfer_size; + uint64_t max_transfer_size; const char *mode; const char *type; const char *name; -- 2.30.0