[python-keystoneclient] New upstream release with version count restarted.

Alan Pevec apevec at fedoraproject.org
Mon Jul 23 17:52:49 UTC 2012


commit 97a166915880a232151248ea0977ecec102ebf0f
Author: Alan Pevec <apevec at redhat.com>
Date:   Mon Jul 23 19:51:25 2012 +0200

    New upstream release with version count restarted.

 .gitignore                 |    1 +
 python-keystoneclient.spec |   36 +++++++++++++++---------------------
 sources                    |    2 +-
 3 files changed, 17 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2b63e08..02d6b53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /python-keystoneclient-2012.2~f1.tar.gz
+/python-keystoneclient-0.1.1.tar.gz
diff --git a/python-keystoneclient.spec b/python-keystoneclient.spec
index 497a54b..f2e4ff9 100644
--- a/python-keystoneclient.spec
+++ b/python-keystoneclient.spec
@@ -1,16 +1,10 @@
-#
-# This is 2012.2 folsom-1 milestone
-#
-%global release_name folsom
-%global release_letter f
-%global milestone 1
-%global snapdate 20120523
-%global git_revno r107
-%global snaptag ~%{release_letter}%{milestone}~%{snapdate}.%{git_revno}
-
 Name:       python-keystoneclient
-Version:    2012.2
-Release:    0.2.%{release_letter}%{milestone}%{?dist}
+# Since folsom-2 OpenStack clients follow their own release plan
+# and restarted version numbering from 0.1.1
+# https://lists.launchpad.net/openstack/msg14248.html
+Epoch:      1
+Version:    0.1.1
+Release:    1%{?dist}
 Summary:    Python API and CLI for OpenStack Keystone
 
 Group:      Development/Languages
@@ -18,9 +12,7 @@ License:    ASL 2.0
 URL:        https://github.com/openstack/python-keystoneclient
 BuildArch:  noarch
 
-#Source0:    http://launchpad.net/keystone/%{release_name}/+download/%{name}-%{version}.tar.gz
-Source0:    http://launchpad.net/keystone/%{release_name}/%{release_name}-%{milestone}/+download/%{name}-%{version}~%{release_letter}%{milestone}.tar.gz
-#Source0:    http://keystone.openstack.org/tarballs/%{name}-%{version}%{snaptag}.tar.gz
+Source0:    https://launchpad.net/python-keystoneclient/trunk/%{version}/+download/%{name}-%{version}.tar.gz
 
 # https://review.openstack.org/5353
 Patch1: avoid-No-handlers-could-be-found.patch
@@ -40,8 +32,6 @@ Keystone's API.
 Summary:    Documentation for OpenStack Keystone API Client
 Group:      Documentation
 
-Requires:   %{name} = %{version}-%{release}
-
 BuildRequires: python-sphinx
 
 %description doc
@@ -62,10 +52,11 @@ Keystone's API.
 rm -fr %{buildroot}%{python_sitelib}/tests
 
 export PYTHONPATH="$( pwd ):$PYTHONPATH"
-sphinx-build -b html docs html
-
+pushd doc
+make html
+popd
 # Fix hidden-file-or-dir warnings
-rm -fr html/.doctrees html/.buildinfo
+rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo
 
 %files
 %doc README.rst
@@ -74,9 +65,12 @@ rm -fr html/.doctrees html/.buildinfo
 %{python_sitelib}/*.egg-info
 
 %files doc
-%doc html
+%doc LICENSE doc/build/html
 
 %changelog
+* Mon Jul 23 2012 Alan Pevec <apevec at redhat.com> 1:0.1.1-1
+- New upstream release.
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2012.2-0.2.f1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 382ca35..4dad48f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-49ee3f9c93c64b189a8335e48bb651e3  python-keystoneclient-2012.2~f1.tar.gz
+ed18e97093f47b7eff60fa63b25ae442  python-keystoneclient-0.1.1.tar.gz


More information about the scm-commits mailing list