preliminary 3.3.1-10

This commit is contained in:
Kaleb S. KEITHLEY 2013-02-12 14:37:35 -05:00
parent 5faf13508c
commit 7c5ca427b7

View File

@ -1,4 +1,5 @@
%global _for_fedora_koji_builds 1
# if you wish to compile an rpm without rdma support, compile like this...
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without rdma
@ -23,23 +24,39 @@
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
%global SWIFTVER 1.7.4
%if 0%{_for_fedora_koji_builds}
%global UFOVER 1.1
%else
%global UFOVER @PACKAGE_VERSION@
%endif
%global _with_ufo true
%endif
%if ( 0%{?fedora} && 0%{?fedora} > 16 ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
%global _with_systemd true
%endif
Summary: Cluster File System
%if 0%{_for_fedora_koji_builds}
Name: glusterfs
Version: 3.3.1
Release: 9%{?dist}
Release: 10%{?dist}
%else
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
%endif
License: GPLv3+ and (GPLv2 or LGPLv3+)
Group: System Environment/Base
%if 0%{_for_fedora_koji_builds}
Vendor: Red Hat
%endif
URL: http://www.gluster.org//docs/index.php/GlusterFS
#Source0: http://download.gluster.org/pub/gluster/glusterfs/3.3/%{version}/glusterfs-%{version}.tar.gz
%if 0%{_for_fedora_koji_builds}
Source0: http://bits.gluster.com/pub/gluster/glusterfs/src/glusterfs-%{version}.tar.gz
%else
Source0: @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
%endif
Source1: glusterd.sysconfig
Source2: glusterfsd.sysconfig
Source3: umount.glusterfs
@ -51,9 +68,14 @@ Patch1: %{name}-3.3.0.libglusterfs.Makefile.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Source10: glusterd.service
Source11: glusterfsd.service
Source12: glusterd.init
Source13: glusterfsd.init
%if 0%{?_with_systemd:1}
Source7: glusterd.service
Source8: glusterfsd.service
%global glusterd_service %{S:%{SOURCE10}}
%global glusterfsd_service %{S:%{SOURCE11}}
BuildRequires: systemd-units
Requires(post): systemd-units
Requires(preun): systemd-units
@ -71,8 +93,10 @@ Requires(postun): systemd-units
%define _init_gluster_swift_container %{_unitdir}/gluster-swift-container.service
%define _init_gluster_swift_proxy %{_unitdir}/gluster-swift-proxy.service
%else
Source7: glusterd.init
Source8: glusterfsd.init
%if 0%{_for_fedora_koji_builds}
%global glusterd_service %{S:%{SOURCE12}}
%global glusterfsd_service %{S:%{SOURCE13}}
%endif
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/service
Requires(preun): /sbin/chkconfig
@ -229,61 +253,70 @@ Group: Applications/System
License: ASL 2.0
BuildArch: noarch
Source10: http://launchpad.net/swift/folsom/%{SWIFTVER}/+download/swift-%{SWIFTVER}.tar.gz
%if ( 0%{?fedora} && 0%{?fedora} > 17 ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
# these first appeared in openstack-swift-1.7.4-1.fc18 and -1.7.4-2.el6
Source100: account-server.conf
Source101: container-server.conf
Source102: object-server.conf
Source103: proxy-server.conf
Source104: swift.conf
%endif
%if 0%{?_with_systemd:1}
Source11: gluster-swift-account.service
Source12: gluster-swift-account@.service
Source13: gluster-swift-container.service
Source14: gluster-swift-container@.service
Source15: gluster-swift-object.service
Source16: gluster-swift-object@.service
Source17: gluster-swift-proxy.service
Source18: gluster-swift.tmpfs
%if ( 0%{?fedora} && 0%{?fedora} > 18 )
# these first appeared in openstack-swift-1.7.4-2.fc19
Source110: gluster-swift-account-replicator.service
Source111: gluster-swift-account-replicator@.service
Source112: gluster-swift-account-auditor.service
Source113: gluster-swift-account-auditor@.service
Source114: gluster-swift-account-reaper.service
Source115: gluster-swift-account-reaper@.service
Source116: gluster-swift-container-replicator.service
Source117: gluster-swift-container-replicator@.service
Source118: gluster-swift-container-auditor.service
Source119: gluster-swift-container-auditor@.service
Source120: gluster-swift-container-updater.service
Source121: gluster-swift-container-updater@.service
Source122: gluster-swift-object-replicator.service
Source123: gluster-swift-object-replicator@.service
Source124: gluster-swift-object-auditor.service
Source125: gluster-swift-object-auditor@.service
Source126: gluster-swift-object-updater.service
Source127: gluster-swift-object-updater@.service
Source128: gluster-swift-object-expirer.service
Source129: gluster-swift-object-expirer@.service
%endif
%if 0%{_for_fedora_koji_builds}
Source20: http://launchpad.net/swift/folsom/%{SWIFTVER}/+download/swift-%{SWIFTVER}.tar.gz
%else
Source11: gluster-swift-account.init
Source12: gluster-swift-container.init
Source13: gluster-swift-object.init
Source14: gluster-swift-proxy.init
Source18: gluster-swift-functions
Source20: swift-%{SWIFTVER}.tar.gz
%endif
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
Patch10: 0001-Use-updated-parallel-install-versions-of-epel-packag.patch
Patch11: 0002-Add-fixes-for-building-the-doc-package.patch
%endif
Patch12: glusterfs-3.3.1.swift.constraints.backport-1.7.4.patch
Source30: gluster-swift-account.service
Source31: gluster-swift-container.service
Source32: gluster-swift-object.service
Source33: gluster-swift-proxy.service
Source34: gluster-swift-account@.service
Source35: gluster-swift-container@.service
Source36: gluster-swift-object@.service
Source37: gluster-swift.tmpfs
Source40: gluster-swift-account.init
Source41: gluster-swift-container.init
Source42: gluster-swift-object.init
Source43: gluster-swift-proxy.init
Source44: gluster-swift-functions
# these first appeared in openstack-swift-1.7.4-2.fc19
Source50: gluster-swift-account-replicator.service
Source51: gluster-swift-account-replicator@.service
Source52: gluster-swift-account-auditor.service
Source53: gluster-swift-account-auditor@.service
Source54: gluster-swift-account-reaper.service
Source55: gluster-swift-account-reaper@.service
Source56: gluster-swift-container-replicator.service
Source57: gluster-swift-container-replicator@.service
Source58: gluster-swift-container-auditor.service
Source59: gluster-swift-container-auditor@.service
Source60: gluster-swift-container-updater.service
Source61: gluster-swift-container-updater@.service
Source62: gluster-swift-object-replicator.service
Source63: gluster-swift-object-replicator@.service
Source64: gluster-swift-object-auditor.service
Source65: gluster-swift-object-auditor@.service
Source66: gluster-swift-object-updater.service
Source67: gluster-swift-object-updater@.service
Source68: gluster-swift-object-expirer.service
Source69: gluster-swift-object-expirer@.service
# these first appeared in openstack-swift-1.7.4-1.fc18 and -1.7.4-2.el6
Source70: account-server.conf
Source71: container-server.conf
Source72: object-server.conf
Source73: proxy-server.conf
Source74: swift.conf
Patch20: 0001-Use-updated-parallel-install-versions-of-epel-packag.patch
Patch21: 0002-Add-fixes-for-building-the-doc-package.patch
Patch22: glusterfs-3.3.1.swift.constraints.backport-1.7.4.patch
#BuildRoot: %(mktemp -ud %{_tmppath}/swift-%{SWIFTVER}-%{release}-XXXXXX)
%if 0%{?_with_systemd:1}
%global glusterswiftaccount_service %{S:%{SOURCE30}}
%global glusterswiftcontainer_service %{S:%{SOURCE31}}
%global glusterswiftobject_service %{S:%{SOURCE32}}
%global glusterswiftproxy_service %{S:%{SOURCE33}}
%else
%global glusterswiftaccount_service %{S:%{SOURCE40}}
%global glusterswiftcontainer_service %{S:%{SOURCE41}}
%global glusterswiftobject_service %{S:%{SOURCE42}}
%global glusterswiftproxy_service %{S:%{SOURCE43}}
%endif
BuildRequires: dos2unix
BuildRequires: python-devel
BuildRequires: python-setuptools
@ -413,8 +446,13 @@ Requires: openssl
Requires: python
Obsoletes: glusterfs-swift-plugin < 3.3.1-4
Obsoletes: glusterfs-swift-ufo <= 3.3.1-4
Source20: http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/UFO/gluster-swift-ufo-%{UFOVER}.tar.gz
Patch20: %{name}-3.3.1.ufo.gluster.swift.common.DiskFile-1.7.4.patch
%if 0%{_for_fedora_koji_builds}
Source15: http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/UFO/gluster-swift-ufo-%{UFOVER}.tar.gz
%else
Source15: gluster-swift-ufo-@PACKAGE_VERSION@.tar.gz
%endif
Patch15: %{name}-3.3.1.ufo.gluster.swift.common.DiskFile-1.7.4.patch
%description ufo
Gluster Unified File and Object Storage unifies NAS and object storage
@ -427,21 +465,25 @@ storage costs.
%prep
%setup -q -n %{name}-%{version}
%if 0%{?_with_ufo:1}
# swift-1.4.8
%setup -q -T -D -n %{name}-%{version} -a 10
# gluster ufo
# unpack swift-1.x.y
%setup -q -T -D -n %{name}-%{version} -a 20
# unpack gluster ufo
%setup -q -T -D -n %{name}-%{version} -a 15
%if 0%{_for_fedora_koji_builds}
#%patch0 -p0
%patch1 -p0
%endif
cd swift-%{SWIFTVER}
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
%patch10 -p1
%patch11 -p1
%endif
%patch12 -p1
dos2unix LICENSE
cd ../ufo
%patch20 -p1
%patch21 -p1
%endif
%patch22 -p1
dos2unix LICENSE
%if 0%{_for_fedora_koji_builds}
cd ../ufo
%patch15 -p1
%endif
%endif
%build
@ -485,8 +527,19 @@ cd ..
%{__mkdir_p} %{buildroot}%{_includedir}/glusterfs/server
%{__install} -p -m 0644 xlators/protocol/server/src/*.h \
%{buildroot}%{_includedir}/glusterfs/server/
%if 0%{_for_fedora_koji_builds}
%{__install} -D -p -m 0644 %{SOURCE1} \
%{buildroot}%{_sysconfdir}/sysconfig/glusterd
%{__install} -D -p -m 0644 %{SOURCE2} \
%{buildroot}%{_sysconfdir}/sysconfig/glusterfsd
%else
%{__install} -D -p -m 0644 extras/glusterd-sysconfig \
%{buildroot}%{_sysconfdir}/sysconfig/glusterd
%endif
# We'll use our init.d
%if 0%{?_with_systemd:1}
%{__rm} -f %{buildroot}%{_sysconfdir}/init.d/glusterd
%endif
%{__mkdir_p} %{buildroot}%{_localstatedir}/log/glusterd
%{__mkdir_p} %{buildroot}%{_localstatedir}/log/glusterfs
@ -506,14 +559,13 @@ find %{buildroot}%{_libdir} -name '*.la' -delete
sed -i 's|option working-directory /etc/glusterd|option working-directory %{_sharedstatedir}/glusterd|g' \
%{buildroot}%{_sysconfdir}/glusterfs/glusterd.vol
# Install init script and sysconfig file
%_init_install %{SOURCE7} glusterd
%_init_install %{SOURCE8} glusterfsd
%{__install} -D -p -m 0644 %{SOURCE1} \
%{buildroot}%{_sysconfdir}/sysconfig/glusterd
%{__install} -D -p -m 0644 %{SOURCE2} \
%{buildroot}%{_sysconfdir}/sysconfig/glusterfsd
# Install systemd .service files. `make install` will install the init files
%if ( 0%{?_with_systemd:1} ) || ( 0%{_for_fedora_koji_builds} )
%_init_install %{glusterd_service} glusterd
%_init_install %{glusterfsd_service} glusterfsd
%endif
%if 0%{_for_fedora_koji_builds}
# Install wrapper umount script
%{__install} -D -p -m 0755 %{SOURCE3} \
%{buildroot}/sbin/umount.glusterfs
@ -527,6 +579,10 @@ sed -i 's|option working-directory /etc/glusterd|option working-directory %{_sha
# Legacy server logrotate entry
%{__install} -D -p -m 0644 %{SOURCE6} \
%{buildroot}%{_sysconfdir}/logrotate.d/glusterfsd
%else
%{__install} -D -p -m 0644 extras/glusterfs-logrotate \
%{buildroot}%{_sysconfdir}/logrotate.d/glusterfs
%endif
%if 0%{!?_without_georeplication:1}
# geo-rep ghosts
@ -571,45 +627,47 @@ touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/run/nfs.pid
%if 0%{?_with_ufo:1}
cd swift-%{SWIFTVER}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
# common swift .service or .init files
%_init_install %{glusterswiftaccount_service} gluster-swift-account
%_init_install %{glusterswiftcontainer_service} gluster-swift-container
%_init_install %{glusterswiftobject_service} gluster-swift-object
%_init_install %{glusterswiftproxy_service} gluster-swift-proxy
%if 0%{?_with_systemd:1}
# systemd .service files
%_init_install %{SOURCE11} gluster-swift-account
%_init_install %{SOURCE12} gluster-swift-account@
%_init_install %{SOURCE13} gluster-swift-container
%_init_install %{SOURCE14} gluster-swift-container@
%_init_install %{SOURCE15} gluster-swift-object
%_init_install %{SOURCE16} gluster-swift-object@
%_init_install %{SOURCE17} gluster-swift-proxy
# extra systemd .service files
%_init_install %{SOURCE34} gluster-swift-account@
%_init_install %{SOURCE35} gluster-swift-container@
%_init_install %{SOURCE36} gluster-swift-object@
%if ( 0%{?fedora} && 0%{?fedora} > 18 )
%_init_install %{SOURCE110} gluster-swift-account-replicator
%_init_install %{SOURCE111} gluster-swift-account-replicator@
%_init_install %{SOURCE112} gluster-swift-account-auditor
%_init_install %{SOURCE113} gluster-swift-account-auditor@
%_init_install %{SOURCE114} gluster-swift-account-reaper
%_init_install %{SOURCE115} gluster-swift-account-reaper@
%_init_install %{SOURCE116} gluster-swift-container-replicator
%_init_install %{SOURCE117} gluster-swift-container-replicator@
%_init_install %{SOURCE118} gluster-swift-container-auditor
%_init_install %{SOURCE119} gluster-swift-container-auditor@
%_init_install %{SOURCE120} gluster-swift-container-updater
%_init_install %{SOURCE121} gluster-swift-container-updater@
%_init_install %{SOURCE122} gluster-swift-object-replicator
%_init_install %{SOURCE123} gluster-swift-object-replicator@
%_init_install %{SOURCE124} gluster-swift-object-auditor
%_init_install %{SOURCE125} gluster-swift-object-auditor@
%_init_install %{SOURCE126} gluster-swift-object-updater
%_init_install %{SOURCE127} gluster-swift-object-updater@
%_init_install %{SOURCE128} gluster-swift-object-expirer
%_init_install %{SOURCE129} gluster-swift-object-expirer@
# more extra systemd .service files in f19
%_init_install %{SOURCE50} gluster-swift-account-replicator
%_init_install %{SOURCE51} gluster-swift-account-replicator@
%_init_install %{SOURCE52} gluster-swift-account-auditor
%_init_install %{SOURCE53} gluster-swift-account-auditor@
%_init_install %{SOURCE54} gluster-swift-account-reaper
%_init_install %{SOURCE55} gluster-swift-account-reaper@
%_init_install %{SOURCE56} gluster-swift-container-replicator
%_init_install %{SOURCE57} gluster-swift-container-replicator@
%_init_install %{SOURCE58} gluster-swift-container-auditor
%_init_install %{SOURCE59} gluster-swift-container-auditor@
%_init_install %{SOURCE60} gluster-swift-container-updater
%_init_install %{SOURCE61} gluster-swift-container-updater@
%_init_install %{SOURCE62} gluster-swift-object-replicator
%_init_install %{SOURCE63} gluster-swift-object-replicator@
%_init_install %{SOURCE64} gluster-swift-object-auditor
%_init_install %{SOURCE65} gluster-swift-object-auditor@
%_init_install %{SOURCE66} gluster-swift-object-updater
%_init_install %{SOURCE67} gluster-swift-object-updater@
%_init_install %{SOURCE68} gluster-swift-object-expirer
%_init_install %{SOURCE69} gluster-swift-object-expirer@
%endif
%else
# Init helper functions
%{__install} -p -D -m 644 %{SOURCE18} %{buildroot}%{_datarootdir}/gluster-swift/functions
%{__install} -p -D -m 644 %{SOURCE44} %{buildroot}%{_datarootdir}/gluster-swift/functions
# Init scripts
%_init_install %{SOURCE11} gluster-swift-account
%_init_install %{SOURCE12} gluster-swift-container
%_init_install %{SOURCE13} gluster-swift-object
%_init_install %{SOURCE14} gluster-swift-proxy
%_init_install %{glusterswiftaccount_service} gluster-swift-account
%_init_install %{glusterswiftcontainer_service} gluster-swift-container
%_init_install %{glusterswiftobject_service} gluster-swift-object
%_init_install %{glusterswiftproxy_service} gluster-swift-proxy
%endif
# Misc other
%{__install} -d -m 755 %{buildroot}%{_sysconfdir}/swift
@ -618,14 +676,14 @@ cd swift-%{SWIFTVER}
%{__install} -d -m 755 %{buildroot}%{_sysconfdir}/swift/object-server
%{__install} -d -m 755 %{buildroot}%{_sysconfdir}/swift/proxy-server
# Config files
%if ( 0%{?fedora} && 0%{?fedora} > 17 )
#%if ( 0%{?fedora} && 0%{?fedora} > 17 )
# these first appeared in openstack-swift-1.7.4-1.fc18
install -p -D -m 660 %{SOURCE100} %{buildroot}%{_sysconfdir}/swift/account-server.conf
install -p -D -m 660 %{SOURCE101} %{buildroot}%{_sysconfdir}/swift/container-server.conf
install -p -D -m 660 %{SOURCE102} %{buildroot}%{_sysconfdir}/swift/object-server.conf
install -p -D -m 660 %{SOURCE103} %{buildroot}%{_sysconfdir}/swift/proxy-server.conf
install -p -D -m 660 %{SOURCE104} %{buildroot}%{_sysconfdir}/swift/swift.conf
%endif
#install -p -D -m 660 %{SOURCE70} %{buildroot}%{_sysconfdir}/swift/account-server.conf
#install -p -D -m 660 %{SOURCE71} %{buildroot}%{_sysconfdir}/swift/container-server.conf
#install -p -D -m 660 %{SOURCE72} %{buildroot}%{_sysconfdir}/swift/object-server.conf
#install -p -D -m 660 %{SOURCE73} %{buildroot}%{_sysconfdir}/swift/proxy-server.conf
#install -p -D -m 660 %{SOURCE74} %{buildroot}%{_sysconfdir}/swift/swift.conf
#%endif
# Install pid directory
%{__install} -d -m 755 %{buildroot}%{_localstatedir}/run/swift
%{__install} -d -m 755 %{buildroot}%{_localstatedir}/run/swift/account-server
@ -635,7 +693,7 @@ install -p -D -m 660 %{SOURCE104} %{buildroot}%{_sysconfdir}/swift/swift.conf
%if 0%{?_with_systemd:1}
# Swift run directories
%{__mkdir_p} %{buildroot}%{_sysconfdir}/tmpfiles.d
install -p -m 0644 %{SOURCE18} %{buildroot}%{_sysconfdir}/tmpfiles.d/gluster-swift.conf
install -p -m 0644 %{SOURCE37} %{buildroot}%{_sysconfdir}/tmpfiles.d/gluster-swift.conf
%endif
# man pages
install -d -m 755 %{buildroot}%{_mandir}/man5
@ -669,14 +727,13 @@ cp ufo/bin/gluster-swift-gen-builders %{buildroot}%{_bindir}/
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING-GPLV2 COPYING-LGPLV3 INSTALL README THANKS
%config(noreplace) %{_sysconfdir}/logrotate.d/glusterd
%config(noreplace) %{_sysconfdir}/sysconfig/glusterd
%config(noreplace) %{_sysconfdir}/logrotate.d/*
%config(noreplace) %{_sysconfdir}/sysconfig/*
%{_libdir}/glusterfs
%{_libdir}/*.so.*
%{_sbindir}/glusterfs*
%{_libexecdir}/glusterfs
# %{_mandir}/man8/*gluster*.8*
%{_mandir}/man8/*gluster.8*
%{_mandir}/man8/*gluster*.8*
%dir %{_localstatedir}/log/glusterfs
%dir %{_sharedstatedir}/glusterd
%if 0%{!?_without_rdma:1}
@ -713,27 +770,35 @@ fi
%files fuse
%defattr(-,root,root,-)
%if 0%{_for_fedora_koji_builds}
%config(noreplace) %{_sysconfdir}/logrotate.d/glusterfs-fuse
%endif
%{_libdir}/glusterfs/%{version}/xlator/mount/fuse*
# %{_mandir}/man8/mount.glusterfs.8*
/sbin/mount.glusterfs
%if 0%{_for_fedora_koji_builds}
/sbin/umount.glusterfs
%endif
%if 0%{?_with_fusermount:1}
%{_bindir}/fusermount-glusterfs
%endif
%files server
%defattr(-,root,root,-)
%if 0%{_for_fedora_koji_builds}
%config(noreplace) %{_sysconfdir}/logrotate.d/glusterd
%endif
%config(noreplace) %{_sysconfdir}/sysconfig/glusterd
%config(noreplace) %{_sysconfdir}/glusterfs
# Legacy configs
%if 0%{_for_fedora_koji_builds}
%config(noreplace) %{_sysconfdir}/logrotate.d/glusterfsd
%config(noreplace) %{_sysconfdir}/sysconfig/glusterfsd
%endif
# init files
%_init_glusterd
%if ( 0%{?_with_systemd:1} ) || ( 0%{_for_fedora_koji_builds} )
%_init_glusterfsd
%endif
# binaries
%{_sbindir}/gluster
%{_sbindir}/glusterd
@ -811,9 +876,9 @@ fi
%dir %{_datarootdir}/gluster-swift/functions
%endif
%dir %{_sysconfdir}/swift
%if ( 0%{?fedora} && 0%{?fedora} > 17 )
%config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/swift.conf
%endif
#%if ( 0%{?fedora} && 0%{?fedora} > 17 )
#%config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/swift.conf
#%endif
%dir %attr(0755, swift, swift) %{_localstatedir}/run/swift
%dir %{python_sitelib}/swift
%{_bindir}/swift-account-audit
@ -847,9 +912,6 @@ fi
%{_unitdir}/gluster-swift-account*.service
%endif
%dir %attr(0755, swift, swift) %{_localstatedir}/run/swift/account-server
%if ( 0%{?fedora} && 0%{?fedora} > 17 )
%config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/account-server.conf
%endif
%dir %{_sysconfdir}/swift/account-server
%{_bindir}/swift-account-auditor
%{_bindir}/swift-account-reaper
@ -871,9 +933,6 @@ fi
%{_unitdir}/gluster-swift-container*.service
%endif
%dir %attr(0755, swift, swift) %{_localstatedir}/run/swift/container-server
%if ( 0%{?fedora} && 0%{?fedora} > 17 )
%config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/container-server.conf
%endif
%dir %{_sysconfdir}/swift/container-server
%{_bindir}/swift-container-auditor
%{_bindir}/swift-container-server
@ -899,9 +958,6 @@ fi
%{_unitdir}/gluster-swift-object*.service
%endif
%dir %attr(0755, swift, swift) %{_localstatedir}/run/swift/object-server
%if ( 0%{?fedora} && 0%{?fedora} > 17 )
%config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/object-server.conf
%endif
%dir %{_sysconfdir}/swift/object-server
%{_bindir}/swift-object-auditor
%{_bindir}/swift-object-info
@ -917,9 +973,6 @@ fi
%{_mandir}/man1/swift-proxy-server.1*
%_init_gluster_swift_proxy
%dir %attr(0755, swift, swift) %{_localstatedir}/run/swift/proxy-server
%if ( 0%{?fedora} && 0%{?fedora} > 17 )
%config(noreplace) %attr(660, root, swift) %{_sysconfdir}/swift/proxy-server.conf
%endif
%dir %{_sysconfdir}/swift/proxy-server
%{_bindir}/swift-proxy-server
%{python_sitelib}/swift/proxy
@ -931,7 +984,7 @@ fi
%files ufo
%defattr(-,root,root,-)
%{python_sitelib}/gluster
%{python_sitelib}/gluster_swift_ufo-%{UFOVER}-*.egg-info
%{python_sitelib}/gluster_swift_ufo-*-*.egg-info
%{_bindir}/gluster-swift-gen-builders
%{_sysconfdir}/swift/*-gluster
%{_sysconfdir}/swift/*/1.conf-gluster
@ -1112,6 +1165,9 @@ fi
%changelog
* Tue Feb 5 2013 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.3.1-10
- sync with glusterfs.spec(.in) from gluster.org git source
* Wed Jan 30 2013 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.3.1-9
- essex/folsom typo, glusterfs-ufo %files conflicts with glusterfs-swift-*