Updated to 3.0.1 release

This commit is contained in:
Yunying Sun 2021-02-18 10:57:49 +08:00
parent 45599bb2cd
commit 73b6f62ec3

View File

@ -1,13 +1,14 @@
%global project_name idxd-config
%global debug_package %{nil}
Name: accel-config
Version: 2.8
Release: 2%{?dist}
Version: 3.0.1
Release: 1%{?dist}
Summary: Configure accelerator subsystem devices
# The entire source code is under GPLv2 except for accel-config
# library which is mostly LGPLv2, ccan/list which is BSD-MIT and
# library which is mostly LGPLv2.1, ccan/list which is BSD-MIT and
# the rest of ccan which is CC0.
License: GPLv2 and LGPLv2 and MIT and CC0
License: GPLv2 and LGPLv2.1 and MIT and CC0
URL: https://github.com/intel/%{project_name}
Source0: %{URL}/archive/%{name}-v%{version}.tar.gz
@ -27,15 +28,15 @@ BuildRequires: systemd
BuildRequires: make
# accel-config is for configuring Intel DSA (Data-Streaming
# Accelerator) subsystem in the Linux kernel. It supports x86 only.
ExclusiveArch: %{ix86} x86_64
# Accelerator) subsystem in the Linux kernel. It supports x86_64 only.
ExclusiveArch: x86_64
%description
Utility library for configuring the accelerator subsystem.
%package devel
Summary: Development files for libaccfg
License: LGPLv2
License: LGPLv2.1
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
@ -45,9 +46,9 @@ developing applications that use %{name}.
%package libs
Summary: Configuration library for accelerator subsystem devices
# All source code of configuration library is LGPLv2, except
# All source code of configuration library is LGPLv2.1, except
# ccan/list which is BSD-MIT and the rest of ccan/ which is CC0.
License: LGPLv2 and MIT and CC0
License: LGPLv2.1 and MIT and CC0
Requires: %{name}%{?_isa} = %{version}-%{release}
%description libs
@ -71,6 +72,7 @@ make check
%files
%license Documentation/COPYING licenses/BSD-MIT licenses/CC0
%license licenses/accel-config-licenses LICENSE_GPL_2_0
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*
%{_sysconfdir}/%{name}/%{name}.conf.sample
@ -78,6 +80,7 @@ make check
%files libs
%doc README.md
%license Documentation/COPYING licenses/BSD-MIT licenses/CC0
%license licenses/accel-config-licenses accfg/lib/LICENSE_LGPL_2_1
%{_libdir}/lib%{name}.so.*
%files devel
@ -87,6 +90,11 @@ make check
%{_libdir}/pkgconfig/lib%{name}.pc
%changelog
* Thu Feb 18 2021 Yunying Sun <yunying.sun@intel.com> - 3.0.1-1
- Updated to 3.0.1 release
- Removed ix86 support as so far it supports x86_64 only
- Updated licenses following upstream
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild