Commit 1c9f89c0 authored by Federico Vaga's avatar Federico Vaga

dst: add python3 package

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent bd31bcb8
......@@ -30,6 +30,7 @@ BuildRequires: git
Requires: %{name}-kmod
Requires: %{name}-tools
Requires: %{name}-firmware
Requires: python3-%{name}
Source0: %{name}-%{version}.tar.gz
Source1: CHANGELOG
......@@ -64,6 +65,7 @@ export DESTDIR=%{buildroot}/%{_exec_prefix}
%make_build -C software/include install
%make_build -C software/tools install
%make_build -C software/PySPEC install
# Install manually to avoid running depmod at this stage
%{__install} -d %{buildroot}/lib/modules/%{kver}/extra/cern/%{name}
%{__install} -t %{buildroot}/lib/modules/%{kver}/extra/cern/%{name} software/kernel/*.ko
......@@ -101,16 +103,17 @@ The SPEC kmod
#
# Python Class
#
# %package -n python-%{name}
# Summary: Simple PCIe Carrier (SPEC) Python Class
# Requires: Python3
%package -n python3-%{name}
Summary: Simple PCIe Carrier (SPEC) Python Class
Requires: Python3
BuildRequires: python3-devel
# %description -n python3-%{name}
# The SPEC python class
%description -n python3-%{name}
The SPEC python class
# %files -n python3-%{name}
# %license LICENSES/GPL-3.0-or-later.txt
# %{python3_sitelib}/%{name}/
%files -n python3-%{name}
%license LICENSES/GPL-3.0-or-later.txt
%pycached %{python3_sitelib}/%{name}/
#
# Tools
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment