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 ...@@ -30,6 +30,7 @@ BuildRequires: git
Requires: %{name}-kmod Requires: %{name}-kmod
Requires: %{name}-tools Requires: %{name}-tools
Requires: %{name}-firmware Requires: %{name}-firmware
Requires: python3-%{name}
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
Source1: CHANGELOG Source1: CHANGELOG
...@@ -64,6 +65,7 @@ export DESTDIR=%{buildroot}/%{_exec_prefix} ...@@ -64,6 +65,7 @@ export DESTDIR=%{buildroot}/%{_exec_prefix}
%make_build -C software/include install %make_build -C software/include install
%make_build -C software/tools install %make_build -C software/tools install
%make_build -C software/PySPEC install
# Install manually to avoid running depmod at this stage # Install manually to avoid running depmod at this stage
%{__install} -d %{buildroot}/lib/modules/%{kver}/extra/cern/%{name} %{__install} -d %{buildroot}/lib/modules/%{kver}/extra/cern/%{name}
%{__install} -t %{buildroot}/lib/modules/%{kver}/extra/cern/%{name} software/kernel/*.ko %{__install} -t %{buildroot}/lib/modules/%{kver}/extra/cern/%{name} software/kernel/*.ko
...@@ -101,16 +103,17 @@ The SPEC kmod ...@@ -101,16 +103,17 @@ The SPEC kmod
# #
# Python Class # Python Class
# #
# %package -n python-%{name} %package -n python3-%{name}
# Summary: Simple PCIe Carrier (SPEC) Python Class Summary: Simple PCIe Carrier (SPEC) Python Class
# Requires: Python3 Requires: Python3
BuildRequires: python3-devel
# %description -n python3-%{name} %description -n python3-%{name}
# The SPEC python class The SPEC python class
# %files -n python3-%{name} %files -n python3-%{name}
# %license LICENSES/GPL-3.0-or-later.txt %license LICENSES/GPL-3.0-or-later.txt
# %{python3_sitelib}/%{name}/ %pycached %{python3_sitelib}/%{name}/
# #
# Tools # 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