From 4b55e1eb7a76a77d7664a31d8c7c8ea83ff26e79 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 12 Feb 2015 17:05:37 -0800 Subject: [PATCH] Fix Source0 for use with github --- lorax.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lorax.spec b/lorax.spec index d2daaac0..526f12ea 100644 --- a/lorax.spec +++ b/lorax.spec @@ -8,7 +8,11 @@ Summary: Tool for creating the anaconda install images Group: Applications/System License: GPLv2+ 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 @@ -76,7 +80,7 @@ including live isos and disk images. It can use libvirtd for the install, or Anaconda's image install feature. %prep -%setup -q +%setup -q -n %{name}-%{version} %build