diff options
author | Peter Portante <peter.portante@redhat.com> | 2012-11-08 12:31:10 -0500 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-12-07 03:13:22 -0800 |
commit | 7f9adbed0535f1d23a9b47a54d59c708b5ef5caa (patch) | |
tree | 3703337f2b1675de1aaae643e2a1785b3785cc89 | |
parent | a8d59075bfff1428c34ade2ad2e13fa51e3f6dbb (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>
-rw-r--r-- | ufo/gluster-swift-ufo.spec | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/ufo/gluster-swift-ufo.spec b/ufo/gluster-swift-ufo.spec index 55b192a27ed..ce13517699d 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 |