[lorax] - Fix Source0

Brian C. Lane bcl at fedoraproject.org
Sat Feb 7 02:23:35 UTC 2015


commit ed17916b7673721550a14f582e3554e7d5f07cfb
Author: Brian C. Lane <bcl at redhat.com>
Date:   Fri Feb 6 18:23:07 2015 -0800

    - Fix Source0

 lorax.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/lorax.spec b/lorax.spec
index ee3dfc2..fac28de 100644
--- a/lorax.spec
+++ b/lorax.spec
@@ -2,13 +2,17 @@
 
 Name:           lorax
 Version:        22.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 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
 


More information about the scm-commits mailing list