Maintenance will be performed on,,, and tomorrow, 2020/08/04, starting at approximately 9am PDT. It is expected to take around 15 minutes and there will be a short period of downtime towards the end of the maintenance window. Please direct any comments, questions or concerns to

Commit 4e88fe48 authored by Daniel Brown's avatar Daniel Brown

Final touches to rpm packaging

parent 32728bba
......@@ -4,4 +4,6 @@ Build docker image first:
docker build -t finesse/sl7 .
To create the rpm package:
docker run -it --volume=${PWD}:/host finesse/sl7
\ No newline at end of file
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
......@@ -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
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