Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
F
finesse
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
finesse
finesse
Commits
4e88fe48
Commit
4e88fe48
authored
May 26, 2018
by
Daniel Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final touches to rpm packaging
parent
32728bba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
packaging/rpm/README
packaging/rpm/README
+3
-1
packaging/rpm/build.py
packaging/rpm/build.py
+2
-1
No files found.
packaging/rpm/README
View file @
4e88fe48
...
...
@@ -5,3 +5,5 @@ Build docker image first:
To create the rpm package:
docker run -it --volume=${PWD}:/host finesse/sl7
This will build Finesse on the Docker image and an rpm file will be returned in this folder.
\ No newline at end of file
packaging/rpm/build.py
View file @
4e88fe48
...
...
@@ -53,6 +53,7 @@ with open("/root/finesse/packaging/rpm/rpmbuild/SPECS/finesse.spec", "w") as f:
Name: finesse
Version: {version}
Release: {release}
Requires: gsl
License: GPL
Group: Development/Tools
SOURCE0 :
%
{name}-
%
{{version}}-
%
{{release}}.tar.gz
...
...
@@ -93,4 +94,4 @@ with open("/root/finesse/packaging/rpm/rpmbuild/SPECS/finesse.spec", "w") as f:
call
(
"rpmbuild -bb SPECS/finesse.spec"
.
split
())
call
(
"cp RPMS/x86_64/finesse-2.2-16.x86_64.rpm /host"
.
split
())
\ No newline at end of file
call
(
"cp /root/finesse/packaging/rpm/rpmbuild/RPMS/x86_64/finesse-{version}-{release}.x86_64.rpm /host"
.
format
(
**
vals
)
.
split
())
\ No newline at end of file
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