apevec pushed to python-oslo-sphinx (master). "Update to 2.5.0"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Mar 24 23:53:38 UTC 2015


>From f204a1d0d29dd7edb9f94f093feeb3cb355b4ff3 Mon Sep 17 00:00:00 2001
From: Alan Pevec <alan.pevec at redhat.com>
Date: Wed, 25 Mar 2015 00:25:01 +0100
Subject: Update to 2.5.0


diff --git a/.gitignore b/.gitignore
index 98e6b59..97df231 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /oslosphinx-2.0.tar.gz
 /oslo.sphinx-1.1.tar.gz
 /oslosphinx-2.3.0.tar.gz
+/oslosphinx-2.5.0.tar.gz
diff --git a/python-oslo-sphinx.spec b/python-oslo-sphinx.spec
index fd32035..8d7f42e 100644
--- a/python-oslo-sphinx.spec
+++ b/python-oslo-sphinx.spec
@@ -1,8 +1,14 @@
 %global pypi_name oslosphinx
 
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2: %global __python2 /usr/bin/python2}
+%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
 Name:       python-oslo-sphinx
-Version:    2.3.0
-Release:    2%{?dist}
+Version:    2.5.0
+Release:    1%{?dist}
 Summary:    OpenStack Sphinx Extensions and Theme
 
 License:    ASL 2.0
@@ -44,7 +50,7 @@ sed -i 's/oslosphinx/oslo.sphinx/' oslo/sphinx/intersphinx.py
 sed -i '/packages =/ { N; s/oslosphinx/oslo\n\toslo.sphinx\nnamespace_packages =\n\toslo/ }' setup.cfg
 %{__python2} setup.py build
 %{__python2} setup.py install -O1 --skip-build --root %{buildroot}
-ln -s ln -s ../../oslosphinx/theme %{buildroot}%{python2_sitelib}/oslo/sphinx
+ln -s ../../oslosphinx/theme %{buildroot}%{python2_sitelib}/oslo/sphinx
 
 %files
 %doc LICENSE README.rst
@@ -54,6 +60,9 @@ ln -s ln -s ../../oslosphinx/theme %{buildroot}%{python2_sitelib}/oslo/sphinx
 %{python2_sitelib}/*-nspkg.pth
 
 %changelog
+* Wed Mar 25 2015 Alan Pevec <alan.pevec at redhat.com> - 2.5.0-1
+- Update to 2.5.0
+
 * Mon Dec 15 2014 Alan Pevec <alan.pevec at redhat.com> - 2.3.0-2
 - Update to 2.3.0
 - Provide oslo.sphinx theme compatibility symlink
diff --git a/sources b/sources
index fe1b000..dcf6bc7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1f24212fc1061b691777ac2cf4658577  oslosphinx-2.3.0.tar.gz
+2548a1da0c24853c4758eb314530d830  oslosphinx-2.5.0.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-oslo-sphinx.git/commit/?h=master&id=f204a1d0d29dd7edb9f94f093feeb3cb355b4ff3

--
You received this message due to your preference settings at
https://apps.fedoraproject.org/notifications//fmnscmcommits.id.fedoraproject.org/email/29390


More information about the scm-commits mailing list