From 143996bec1ff43b7390365ae143c68805c3ec8e1 Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Mon, 21 Nov 2011 18:09:35 -0800 Subject: [PATCH] Rehosted on github. Update to 1:1.1 I assumed configshell was version 1.99, like rtslib and targetcli, but unfortunately it is not. Since we have already produced RPMs for rhel and rawhide with 1.99, we need to increment Epoch to 1 to go back to version 1.1, as tagged in git. Rehost onto github. This allows us to package based on a proper tarball, and allows intermediate upstream releases by moi. (This is necessary because RTS will only take MIT, not AGPLv3, contributions.) Signed-off-by: Andy Grover --- .gitignore | 1 + python-configshell.spec | 18 +++++++----------- sources | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index ba8d854..fb05d82 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /configshell-1.99.1.git987b63b.tar.gz +/1.1 diff --git a/python-configshell.spec b/python-configshell.spec index 62fa7ee..1f956de 100644 --- a/python-configshell.spec +++ b/python-configshell.spec @@ -1,20 +1,16 @@ # Copyright 2011, Red Hat -%global oname configshell +%global oname configshell-fedora Name: python-configshell License: AGPLv3 Group: System Environment/Libraries Summary: A framework to implement simple but nice CLIs -Version: 1.99.1.git987b63b -Release: 5%{?dist} -# placeholder URL and source entries -# archive created using: -# git clone git://risingtidesystems.com/configshell.git -# cd configshell -# git archive 987b63b --prefix configshell-%{version}/ | gzip > configshell-%{version}.tar.gz -URL: http://www.risingtidesystems.com/git/ -Source: %{oname}-%{version}.tar.gz +Epoch: 1 +Version: 1.1 +Release: 1%{?dist} +URL: https://github.com/agrover/configshell-fedora +Source: https://github.com/agrover/%{oname}/tarball/%{version} Patch1: %{name}-git-version.patch Patch2: %{name}-remove-epydoc-dep.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -27,7 +23,7 @@ A framework to implement simple but nice configuration-oriented command-line interfaces. %prep -%setup -q -n %{oname}-%{version} +%setup -q -n agrover-%{oname}-3ba5560 %patch1 -p1 %patch2 -p1 diff --git a/sources b/sources index b11558a..c6ae92c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -93eba365d2a455a0cec166e323a2b215 configshell-1.99.1.git987b63b.tar.gz +e951e9a2d13f45687f8e61995ac97108 1.1