summaryrefslogtreecommitdiffstats
path: root/ufo
diff options
context:
space:
mode:
authorPeter Portante <peter.portante@redhat.com>2012-11-08 12:31:10 -0500
committerPeter Portante <peter.portante@redhat.com>2013-04-29 16:35:56 -0400
commit7dfa6c54778bae6c935662ad15202a9d2026dcb3 (patch)
tree02f045f07d9b61eaa2645655fae262788b020441 /ufo
parentc48dcdceb5c296d8d8f55ff77ec52676b8245e01 (diff)
object-storage: enforce RPM package dependencies
We now have access to openstack-swift-* packages that work with these sources so we can enforce the dependencies and what gets obsoleted. Change-Id: I83f442f3eb2424d176a2257f3498ed39eed32251 BUG: 870589 Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/4223 Reviewed-by: Mohammed Junaid <junaid@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'ufo')
-rw-r--r--ufo/gluster-swift-ufo.spec28
1 files changed, 10 insertions, 18 deletions
diff --git a/ufo/gluster-swift-ufo.spec b/ufo/gluster-swift-ufo.spec
index 55b192a..ce13517 100644
--- a/ufo/gluster-swift-ufo.spec
+++ b/ufo/gluster-swift-ufo.spec
@@ -14,9 +14,9 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif
-%define _confdir /etc/swift
+%define _confdir %{_sysconfdir}/swift
%define _ufo_version 1.1
-%define _ufo_release 1
+%define _ufo_release 2
Summary : GlusterFS Unified File and Object Storage.
Name : gluster-swift-ufo
@@ -31,14 +31,13 @@ BuildArch: noarch
Requires : memcached
Requires : openssl
Requires : python
-#Requires : openstack-swift >= 1.4.8
-#Requires : openstack-swift-account >= 1.4.8
-#Requires : openstack-swift-auth >= 1.4.8
-#Requires : openstack-swift-container >= 1.4.8
-#Requires : openstack-swift-object >= 1.4.8
-#Requires : openstack-swift-proxy >= 1.4.8
-#Obsoletes: gluster-swift
-#Obsoletes: gluster-swift-plugin
+Requires : openstack-swift >= 1.4.8
+Requires : openstack-swift-account >= 1.4.8
+Requires : openstack-swift-container >= 1.4.8
+Requires : openstack-swift-object >= 1.4.8
+Requires : openstack-swift-proxy >= 1.4.8
+Obsoletes: gluster-swift
+Obsoletes: gluster-swift-plugin
%description
Gluster Unified File and Object Storage unifies NAS and object storage
@@ -69,16 +68,9 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{python_sitelib}/gluster
-#%{python_sitelib}/gluster/swift/*.py*
-#%{python_sitelib}/gluster/swift/common/*.py*
-#%{python_sitelib}/gluster/swift/common/middleware
-#%{python_sitelib}/gluster/swift/proxy
-#%{python_sitelib}/gluster/swift/obj
-#%{python_sitelib}/gluster/swift/container
-#%{python_sitelib}/gluster/swift/account
%{python_sitelib}/gluster_swift_ufo-%{version}-*.egg-info
%{_bindir}/gluster-swift-gen-builders
-%dir %{_sysconfdir}/swift
+%dir %{_confdir}
%config %{_confdir}/account-server/1.conf-gluster
%config %{_confdir}/container-server/1.conf-gluster
%config %{_confdir}/object-server/1.conf-gluster