Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple PCIe FMC carrier SPEC
Commits
1c9f89c0
Commit
1c9f89c0
authored
Feb 22, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dst: add python3 package
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
bd31bcb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
spec-fmc-carrier.spec
distribution/spec-fmc-carrier.spec
+11
-8
No files found.
distribution/spec-fmc-carrier.spec
View file @
1c9f89c0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment