There will be maintenance performed on git.ligo.org, chat.ligo.org, containers.lig.org, and docs.ligo.org starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to computing-help@igwn.org.

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

Final touches to rpm packaging

parent 32728bba
......@@ -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
......@@ -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