[ceph-deploy] ceph-deploy 1.5.9-1

Federico Simoncelli fsimonce at fedoraproject.org
Wed Jul 16 10:03:52 UTC 2014


commit 4d6b09c2b864ef763db21e228df731c7e06a0cfb
Author: Federico Simoncelli <fsimonce at redhat.com>
Date:   Wed Jul 16 11:25:14 2014 +0200

    ceph-deploy 1.5.9-1

 .gitignore                                         |    1 +
 ...pdate-tox.ini-to-include-novendor-options.patch |   33 +++++++++
 0002-remove-remoto-from-novendor-test-deps.patch   |   35 +++++++++
 ceph-deploy.spec                                   |   75 ++++++++++++++++++++
 sources                                            |    1 +
 5 files changed, 145 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c4ff26b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ceph-deploy-1.5.9.tar.xz
diff --git a/0001-update-tox.ini-to-include-novendor-options.patch b/0001-update-tox.ini-to-include-novendor-options.patch
new file mode 100644
index 0000000..c668926
--- /dev/null
+++ b/0001-update-tox.ini-to-include-novendor-options.patch
@@ -0,0 +1,33 @@
+From 3258200e85d7b94c3ff6c5234d783c8c17e63c23 Mon Sep 17 00:00:00 2001
+From: Alfredo Deza <alfredo.deza at inktank.com>
+Date: Mon, 14 Jul 2014 15:21:35 -0400
+Subject: [PATCH 1/3] update tox.ini to include novendor options
+
+Signed-off-by: Alfredo Deza <alfredo.deza at inktank.com>
+---
+ tox.ini | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/tox.ini b/tox.ini
+index 881cf63..908a130 100644
+--- a/tox.ini
++++ b/tox.ini
+@@ -17,3 +17,15 @@ commands=
+ [testenv:flake8]
+ deps=flake8
+ commands=flake8 --select=F --exclude=vendor {posargs:ceph_deploy}
++
++[testenv:py26-novendor]
++deps=
++  remoto
++  pytest
++  mock
++
++[testenv:py27-novendor]
++deps=
++  remoto
++  pytest
++  mock
+-- 
+1.9.3
+
diff --git a/0002-remove-remoto-from-novendor-test-deps.patch b/0002-remove-remoto-from-novendor-test-deps.patch
new file mode 100644
index 0000000..e66593c
--- /dev/null
+++ b/0002-remove-remoto-from-novendor-test-deps.patch
@@ -0,0 +1,35 @@
+From 9fa9e392a22df9475a3bbdaf43b5c8411bcbd1d0 Mon Sep 17 00:00:00 2001
+From: Alfredo Deza <alfredo.deza at inktank.com>
+Date: Tue, 15 Jul 2014 11:58:58 -0400
+Subject: [PATCH 2/3] remove remoto from novendor test deps
+
+Signed-off-by: Alfredo Deza <alfredo.deza at inktank.com>
+---
+ tox.ini | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/tox.ini b/tox.ini
+index 908a130..2880bf4 100644
+--- a/tox.ini
++++ b/tox.ini
+@@ -18,14 +18,15 @@ commands=
+ deps=flake8
+ commands=flake8 --select=F --exclude=vendor {posargs:ceph_deploy}
+ 
++# Note that ``remoto`` is not added as a dependency here as it is assumed
++# that the tester will have the distro version of remoto installed
++
+ [testenv:py26-novendor]
+ deps=
+-  remoto
+   pytest
+   mock
+ 
+ [testenv:py27-novendor]
+ deps=
+-  remoto
+   pytest
+   mock
+-- 
+1.9.3
+
diff --git a/ceph-deploy.spec b/ceph-deploy.spec
new file mode 100644
index 0000000..026a9a5
--- /dev/null
+++ b/ceph-deploy.spec
@@ -0,0 +1,75 @@
+%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())")}
+%endif
+
+Name:           ceph-deploy
+Version:        1.5.9
+Release:        1%{?dist}
+Summary:        Admin and deploy tool for Ceph
+
+License:        MIT
+URL:            https://github.com/ceph/ceph-deploy
+
+# http://github.com/ceph/%{name}/archive/v%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.xz
+
+Patch1:         0001-update-tox.ini-to-include-novendor-options.patch
+Patch2:         0002-remove-remoto-from-novendor-test-deps.patch
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+
+# Tox tests requirements
+BuildRequires:  openssh-clients
+BuildRequires:  pytest
+BuildRequires:  python-mock
+BuildRequires:  python-remoto
+BuildRequires:  python-tox
+
+Requires:       python-remoto
+
+%description
+An easy to use admin tool for deploy ceph storage clusters.
+
+
+%prep
+%setup -q
+%patch1 -p1
+%patch2 -p1
+
+
+%build
+CEPH_DEPLOY_NO_VENDOR=1 %{__python2} setup.py build
+
+
+%install
+CEPH_DEPLOY_NO_VENDOR=1 %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%check
+# Tests are currently broken:
+#   http://tracker.ceph.com/issues/8825
+#CEPH_DEPLOY_NO_VENDOR=1 tox -e py27-novendor
+
+
+%files
+%doc LICENSE README.rst
+%{_bindir}/ceph-deploy
+%{python2_sitelib}/*
+
+
+%changelog
+* Wed Jul 16 2014 Federico Simoncelli <fsimonce at redhat.com> 1.5.9-1
+- update to ceph-deploy-1.5.9
+
+* Mon Jul 14 2014 Federico Simoncelli <fsimonce at redhat.com> 1.5.8-1
+- update to ceph-deploy-1.5.8
+
+* Wed Jul 2 2014 Federico Simoncelli <fsimonce at redhat.com> 1.5.7-1
+- fix python sitelib macros
+- update to ceph-deploy-1.5.7
+
+* Tue Jul 1 2014 Federico Simoncelli <fsimonce at redhat.com> 1.5.6-1
+- initial build
diff --git a/sources b/sources
index e69de29..55707be 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6b7db2a0832cfb50ed89eae2666606d8  ceph-deploy-1.5.9.tar.xz


More information about the scm-commits mailing list