Fix Source0 for use with github
This commit is contained in:
parent
95f2e3b33a
commit
4b55e1eb7a
@ -8,7 +8,11 @@ Summary: Tool for creating the anaconda install images
|
|||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rhinstaller/lorax
|
URL: https://github.com/rhinstaller/lorax
|
||||||
Source0: https://github.com/rhinstaller/%{name}/archive/%{name}-${version}-%{release}.tar.gz
|
# To generate Source0 do:
|
||||||
|
# git clone https://github.com/rhinstaller/lorax
|
||||||
|
# git checkout -b archive-branch lorax-%%{version}-%%{release}
|
||||||
|
# tito build --tgz
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
|
|
||||||
@ -76,7 +80,7 @@ including live isos and disk images. It can use libvirtd for the install, or
|
|||||||
Anaconda's image install feature.
|
Anaconda's image install feature.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user