![](https://seccdn.libravatar.org/avatar/5b748275c3dbb1ceee18ed554486547d.jpg?s=120&d=mm&r=g)
8 Dec
2020
8 Dec
'20
12:26
On Tuesday 2020-12-08 13:03, Andreas Schwab wrote:
Just use: Source0: https://github.com/cli/cli/archive/v%{version}.tar.gz#/gh-%{version}.tar.gz
This allows you to throw out all the unneccessary _service* files.
You don't even need the # part. Just
Source: https://github.com/cli/cli/archive/v%{version}.tar.gz %setup -n cli-%{version}
It is preferrable to name the tarfile after the package name.
Your preference, my preference.