[openstack-sahara/epel7] fixing alembic migrations

Michael McCune mimccune at fedoraproject.org
Wed Apr 30 18:00:00 UTC 2014


commit 3c701c581ad67acbd6c89d19ec7841eae4aa9f6c
Author: Michael McCune <mimccune at redhat.com>
Date:   Wed Apr 30 12:39:20 2014 -0400

    fixing alembic migrations
    
    * adding copy to install for alembic migration stuff

 openstack-sahara.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/openstack-sahara.spec b/openstack-sahara.spec
index 64460bd..0e99d4e 100644
--- a/openstack-sahara.spec
+++ b/openstack-sahara.spec
@@ -24,7 +24,7 @@
 
 Name:          openstack-sahara
 Version:       2014.1.0
-Release:       4%{?dist}
+Release:       5%{?dist}
 Provides:      openstack-savanna = %{version}-%{release}
 Obsoletes:     openstack-savanna <= 2014.1.b3-3
 Summary:       Apache Hadoop cluster management on OpenStack
@@ -169,6 +169,11 @@ mkdir -p -m0755 %{buildroot}/%{_localstatedir}/log/sahara
 mkdir -p %{buildroot}/%{_pkgdocdir}
 cp -rp html %{buildroot}/%{_pkgdocdir}
 
+# Copy the migrations
+# these files do not get installed by setup.py because they are outside the
+# package definitions, but they are needed by sahara-api.
+cp -rp sahara/db/migration/alembic_migrations %{buildroot}%{python_sitelib}/sahara/db/migration/
+
 
 %check
 # Building on koji with virtualenv requires test-requirements.txt and this
@@ -251,6 +256,9 @@ fi
 
 
 %changelog
+* Wed Apr 30 2014 Michael McCune <mimccune at redhat> - 2014.1.0-5
+- Adding alembic migration files
+
 * Wed Apr 30 2014 Michael McCune <mimccune at redhat> - 2014.1.0-4
 - Correcting bug with rhel6 init script
 - Adding local variable for rhel6 tests


More information about the scm-commits mailing list