hguemar pushed to python-oslo-versionedobjects (master). "Upstream 0.1.1 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Mar 31 08:19:40 UTC 2015


>From c7009c8a0256d9bc18655c450dd166ed14de4649 Mon Sep 17 00:00:00 2001
From: Haikel Guemar <hguemar at fedoraproject.org>
Date: Tue, 31 Mar 2015 10:19:33 +0200
Subject: Upstream 0.1.1

- Based on Derekh Higgins package from Delorean

diff --git a/.gitignore b/.gitignore
index e69de29..a7edc56 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/oslo.versionedobjects-0.1.1.tar.gz
diff --git a/python-oslo-versionedobjects.spec b/python-oslo-versionedobjects.spec
new file mode 100644
index 0000000..626fb49
--- /dev/null
+++ b/python-oslo-versionedobjects.spec
@@ -0,0 +1,94 @@
+%{!?_licensedir:%global license %%doc}
+%global sname oslo.versionedobjects
+
+Name:       python-oslo-versionedobjects
+Version:    0.1.1
+Release:    1%{?dist}
+Summary:    OpenStack common versionedobjects library
+
+License:    ASL 2.0
+URL:        https://launchpad.net/oslo
+Source0:    https://pypi.python.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
+
+BuildArch:  noarch
+Requires:   python-setuptools
+Requires:   python-six >= 1.7
+Requires:   python-babel
+Requires:   python-oslo-concurrency
+Requires:   python-oslo-context
+Requires:   python-oslo-messaging
+Requires:   python-oslo-serialization
+Requires:   python-oslo-utils
+Requires:   python-oslo-log
+Requires:   python-oslo-i18n
+Requires:   python-mock
+Requires:   python-fixtures
+Requires:   python-iso8601
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-pbr
+BuildRequires: python-d2to1
+
+%description
+The Oslo project intends to produce a python library containing
+infrastructure code shared by OpenStack projects. The APIs provided
+by the project should be high quality, stable, consistent and generally
+useful.
+
+Oslo versionedobjects library deals with DB schema being at different versions
+than the code expects, allowing services to be operated safely during upgrades.
+
+%package doc
+Summary:    Documentation for OpenStack common versionedobjects library
+
+BuildRequires: python-sphinx
+BuildRequires: python-oslo-sphinx
+
+# Needed for autoindex which imports the code
+
+%description doc
+Documentation for the oslo.versionedobjects library.
+
+%prep
+%setup -q -n %{sname}-%{version}
+
+# let RPM handle deps
+sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
+
+# Remove the requirements file so that pbr hooks don't add it
+# to distutils requires_dist config
+rm -rf {test-,}requirements.txt
+
+%build
+%{__python2} setup.py build
+
+export PYTHONPATH="$( pwd ):$PYTHONPATH"
+pushd doc
+sphinx-build -b html -d build/doctrees   source build/html
+popd
+# Fix hidden-file-or-dir warnings
+rm -fr doc/build/html/.buildinfo
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
+
+# Delete tests
+rm -fr %{buildroot}%{python_sitelib}/tests
+
+
+%files
+%doc README.rst
+%license LICENSE AUTHORS ChangeLog
+%{python2_sitelib}/oslo_versionedobjects
+%{python2_sitelib}/*.egg-info
+
+%files doc
+%doc doc/build/html
+%license LICENSE
+
+%changelog
+* Thu Mar 26 2015 Haïkel Guémar <hguemar at fedoraproject.org> - 0.1.1-1
+- Upstream 0.1.1
+- Based on Derekh Higgins package from Delorean
+
diff --git a/sources b/sources
index e69de29..e111ec4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+11309423d1a08aab4a81a20e2dcca8d5  oslo.versionedobjects-0.1.1.tar.gz
-- 
cgit v0.10.2


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


More information about the scm-commits mailing list