[bisq-network/bisq] Building Linux packages - default setting causes error (#2860)

agb19 notifications at github.com
Mon Jun 3 09:58:01 UTC 2019


@ripcurlx The RPM file name is usually auto-generated by rpmbuild using the naming scheme: `%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm`, where the variables **Name**, **Version** and **Release** are defined at the top of the **spec** file (the spec file is the RPM build "recipe"). 

So, in order to obtain file name `Bisq-1.1.1-SNAPSHOT-x86_64.rpm` , one would need to declare at the top of the spec file:
```
Name: Bisq
Version: 1.1.1
Release: SNAPSHOT
```
However, since the spec file is auto-generated by javapackager, I'm not sure how to set the **Release** variable from the build script and I worry that it may even be impossible. 

This is the relevant section of the spec file that is currently generated by javapackager (after my patch that replaces the dash with a dot):
```
Summary: The decentralized exchange network.
Name: bisq
Version: 1.1.1.SNAPSHOT
Release: 1
```
Note that "Release:1" appears to be auto-populated. I don't know how / if it can be overriden. 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/2860#issuecomment-498192810
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190603/6707c5ca/attachment.html>


More information about the bisq-github mailing list