download sources from github as <name>-<version>.tar.gz
packit produces tarballs with this name, so it is easier to download them from github like this
This commit is contained in:
parent
97abdbed39
commit
3bbe17073d
1 changed files with 4 additions and 2 deletions
|
|
@ -7,7 +7,9 @@ License: ASL 2.0
|
|||
|
||||
URL: https://github.com/osbuild/osbuild
|
||||
|
||||
Source0: https://github.com/osbuild/%{pypi_name}/archive/%{version}.tar.gz
|
||||
# We use /version/whatever to get the tarball because github releases use only <version>.tar.gz, but
|
||||
# packit/rpm expect <name>-<version>.tar.gz
|
||||
Source0: https://github.com/osbuild/%{pypi_name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
Summary: A build system for OS images
|
||||
|
||||
|
|
@ -39,7 +41,7 @@ Summary: %{summary}
|
|||
A build system for OS images
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue