Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lisa Casino
slapos.package
Commits
76daed41
Commit
76daed41
authored
Aug 04, 2020
by
Thomas Gambier
🚴🏼
Committed by
Rafael Monnerat
Sep 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build for suse and fedora (use python2)
parent
429f9d3c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
obs/slapos/templates/slapos.spec.in
obs/slapos/templates/slapos.spec.in
+3
-15
No files found.
obs/slapos/templates/slapos.spec.in
View file @
76daed41
...
@@ -46,21 +46,9 @@ URL: http://community.slapos.org/
...
@@ -46,21 +46,9 @@ URL: http://community.slapos.org/
Vendor: Vifib
Vendor: Vifib
Packager: Rafael Monnerat <rafael@nexedi.com>
Packager: Rafael Monnerat <rafael@nexedi.com>
%if 0%{?suse_version}
BuildRequires: gcc-c++, make, patch, wget, python2, python-devel, chrpath, openssl-devel
%if 0%{?suse_version} == 1210
BuildRequires: gcc-c++, make, patch, wget, python, python-devel, chrpath, openssl-devel, python-xml
Requires: bridge-utils, python, gcc-c++, make, patch, wget, python-xml, lm_sensors
Requires: bridge-utils, python2, gcc-c++, make, patch, wget, lm_sensors
%else
BuildRequires: gcc-c++, make, patch, wget, python, python-devel, chrpath, openssl-devel, python-xml
Requires: bridge-utils, python, gcc-c++, make, patch, wget, python-xml, lm_sensors
%endif
%else
BuildRequires: gcc-c++, make, patch, wget, python, python-devel, chrpath, openssl-devel
Requires: bridge-utils, python, gcc-c++, make, patch, wget, lm_sensors
%endif
AutoReqProv: no
AutoReqProv: no
...
@@ -89,7 +77,7 @@ zcat $RPM_SOURCE_DIR/slapos-node_%{unmangled_version}+%{slapversion}+%{release_n
...
@@ -89,7 +77,7 @@ zcat $RPM_SOURCE_DIR/slapos-node_%{unmangled_version}+%{slapversion}+%{release_n
%build
%build
cd $RPM_BUILD_DIR/slapos-node_%{unmangled_version}+%{slapversion}+%{release_number}
cd $RPM_BUILD_DIR/slapos-node_%{unmangled_version}+%{slapversion}+%{release_number}
make
make
PYTHON=python2
%install
%install
cd $RPM_BUILD_DIR/slapos-node_%{unmangled_version}+%{slapversion}+%{release_number}/
cd $RPM_BUILD_DIR/slapos-node_%{unmangled_version}+%{slapversion}+%{release_number}/
...
...
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