Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SMASCH
scheduling-system
Commits
441bc7bc
Commit
441bc7bc
authored
2 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
use python 3.9
parent
72b33296
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!425
rpm package
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rpm-files/smasch.spec
+4
-5
4 additions, 5 deletions
rpm-files/smasch.spec
with
4 additions
and
5 deletions
rpm-files/smasch.spec
+
4
−
5
View file @
441bc7bc
...
...
@@ -6,8 +6,6 @@ License: AGPLv3
URL: https://smasch.pages.uni.lu/
Group: Science
Packager: Piotr Gawron
Requires: python3 >= 3.6
Requires: virtualenv
Requires: libcurl-devel
Requires: libpng-devel
Requires: freetype-devel
...
...
@@ -15,7 +13,7 @@ Requires: postgresql-libs
Requires: postgresql-devel
Requires: gcc
Requires: gcc-toolset-11
Requires: python3-devel
Requires: python3
9
-devel
Requires: gnutls-devel
Requires: libjpeg-devel
Requires: pkg-config
...
...
@@ -54,7 +52,6 @@ mv tmp-static/npm node_modules
rm smash/local_settings.py
rm -rf tmp-static
cd $ROOT_DIR
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
cp rpm-files/smasch.py %{buildroot}%{_sysconfdir}/%{name}/
...
...
@@ -87,7 +84,9 @@ if [ $1 -eq 1 ]; then
ln -sf %{_sysconfdir}/%{name}/smasch.py %{_exec_prefix}/lib/%{name}/smash/local_settings.py
virtualenv --python=python3 %{_exec_prefix}/lib/%{name}/env
python3.9 -m venv %{_exec_prefix}/lib/%{name}/env
source %{_exec_prefix}/lib/%{name}/env/bin/activate && pip install --upgrade pip -q --log $LOG_FILE
chown smasch:smasch %{_sysconfdir}/%{name}/smasch.py
chmod 0600 %{_sysconfdir}/%{name}/smasch.py
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment