Blob Blame History Raw
Summary: Gluster 11 packages from the CentOS Storage SIG repository
Name: centos-release-gluster11
Version: 0.1
Release: 1%{?dist}
License: GPLv2
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
Source0: CentOS-Gluster-11.repo
Source1: 75-gluster.preset
%if 0%{?centos} >= 8
BuildRequires: systemd
%endif
BuildArch: noarch

Requires: centos-release >= 8.1
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires: centos-release-storage-common

# When in the testing phase, users installing centos-release-gluster should not
# get this version yet. Make sure to comment the Provides: out.
#Provides: centos-release-gluster = 11

%description
DNF configuration for Gluster 11 packages from the CentOS Storage SIG. Gluster
11 will receive updates for approximately 12 months. For more details about the
release and maintenance schedule, see
https://www.gluster.org/community/release-schedule

%install
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Gluster-11.repo
install -D -m 644 %{SOURCE1} %{buildroot}%{_presetdir}/$(basename %{SOURCE1})

%if 0%{?centos}
%post
%systemd_post

%preun
%systemd_preun

%postun
%systemd_postun
%endif

%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Gluster-11.repo
%{_presetdir}/75-gluster.preset

%changelog
* Fri Nov 25 2022 Niels de Vos <ndevos@redhat.com> - 0.1-1
- Gluster 10 pre-release
- Initial version based on centos-release-gluster10