99621e
Summary: Gluster 5 packages from the CentOS Storage SIG repository
99621e
Name: centos-release-gluster5
99621e
Version: 1.0
99621e
Release: 1%{?dist}
99621e
License: GPLv2
99621e
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
99621e
Source0: CentOS-Gluster-5.repo
99621e
BuildArch: noarch
99621e
99621e
%if 0%{?centos} >= 7
99621e
# $contentdir for altarch support was added with CentOS-7.5
99621e
Requires: centos-release >= 7-5.1804.el7.centos.2
99621e
%endif
99621e
# This provides the public key to verify the RPMs
99621e
Requires: centos-release-storage-common
99621e
99621e
Provides: centos-release-gluster = 5
99621e
99621e
%description
99621e
yum configuration for Gluster 5 packages from the CentOS Storage SIG.  Gluster
99621e
5 will receive updates for approximately 12 months. For more details about the
99621e
release and maintenance schedule, see
99621e
https://www.gluster.org/community/release-schedule
99621e
99621e
%install
99621e
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Gluster-5.repo
99621e
%if 0%{?centos} < 7
99621e
sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Gluster-5.repo
99621e
%endif
99621e
99621e
%files
99621e
%defattr(-,root,root)
99621e
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Gluster-5.repo
99621e
99621e
%changelog
99621e
* Fri Oct 19 2018 Niels de Vos <ndevos@redhat.com> - 1.0-1
99621e
- Use mirrorlist.c.o for the main repository
99621e
- Disable centos-gluster5-test, enable centos-gluster5 repository
99621e
99621e
* Mon Sep 17 2018 Niels de Vos <ndevos@redhat.com> - 0.9-1
99621e
- Initial version based on centos-release-gluster41
99621e
- Only the centos-gluster5-test repo is enabled during pre-release