|
|
11fb7d |
Summary: Gluster 9 packages from the CentOS Storage SIG repository
|
|
|
11fb7d |
Name: centos-release-gluster9
|
|
|
8a1de3 |
Version: 1.0
|
|
|
a9677d |
Release: 2%{?dist}
|
|
|
c8add0 |
License: GPLv2
|
|
|
c8add0 |
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
|
|
|
11fb7d |
Source0: CentOS-Gluster-9.repo
|
|
|
c8add0 |
Source1: 75-gluster.preset
|
|
|
e87938 |
%if 0%{?centos} >= 8
|
|
|
c8add0 |
BuildRequires: systemd
|
|
|
c8add0 |
%endif
|
|
|
c8add0 |
BuildArch: noarch
|
|
|
c8add0 |
|
|
|
e87938 |
%if 0%{?centos} >= 8
|
|
|
c8add0 |
# $contentdir for altarch support was added with CentOS-7.5
|
|
|
a46878 |
Requires: centos-release >= 8.1
|
|
|
4cbd29 |
Requires(post): systemd
|
|
|
4cbd29 |
Requires(preun): systemd
|
|
|
4cbd29 |
Requires(postun): systemd
|
|
|
c8add0 |
%endif
|
|
|
c8add0 |
# This provides the public key to verify the RPMs
|
|
|
c8add0 |
Requires: centos-release-storage-common
|
|
|
c8add0 |
|
|
|
11fb7d |
Provides: centos-release-gluster = 9
|
|
|
c8add0 |
|
|
|
c8add0 |
%description
|
|
|
11fb7d |
DNF configuration for Gluster 9 packages from the CentOS Storage SIG. Gluster
|
|
|
11fb7d |
9 will receive updates for approximately 12 months. For more details about the
|
|
|
c8add0 |
release and maintenance schedule, see
|
|
|
c8add0 |
https://www.gluster.org/community/release-schedule
|
|
|
c8add0 |
|
|
|
c8add0 |
%install
|
|
|
11fb7d |
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Gluster-9.repo
|
|
|
e87938 |
%if 0%{?centos} < 8
|
|
|
11fb7d |
sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Gluster-9.repo
|
|
|
c8add0 |
%endif
|
|
|
e87938 |
%if 0%{?centos} >= 8
|
|
|
c8add0 |
install -D -m 644 %{SOURCE1} %{buildroot}%{_presetdir}/$(basename %{SOURCE1})
|
|
|
c8add0 |
%endif
|
|
|
c8add0 |
|
|
|
e87938 |
%if 0%{?centos} >= 8
|
|
|
c8add0 |
%post
|
|
|
694e5f |
%systemd_post glusterd.service
|
|
|
c8add0 |
|
|
|
c8add0 |
%preun
|
|
|
694e5f |
%systemd_preun glusterd.service
|
|
|
c8add0 |
|
|
|
c8add0 |
%postun
|
|
|
694e5f |
%systemd_postun glusterd.service
|
|
|
c8add0 |
%endif
|
|
|
c8add0 |
|
|
|
c8add0 |
%files
|
|
|
c8add0 |
%defattr(-,root,root)
|
|
|
11fb7d |
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Gluster-9.repo
|
|
|
e87938 |
%if 0%{?centos} >= 8
|
|
|
c8add0 |
%{_presetdir}/75-gluster.preset
|
|
|
c8add0 |
%endif
|
|
|
c8add0 |
|
|
|
c8add0 |
%changelog
|
|
|
a9677d |
* Tue Mar 1 2022 Niels de Vos <ndevos@redhat.com> - 1.0-2
|
|
|
a9677d |
- Correct mirrorlist/metalink URL in .repo file
|
|
|
a9677d |
|
|
|
c68f78 |
* Mon Jan 31 2022 Niels de Vos <ndevos@redhat.com> - 1.0-1
|
|
|
11fb7d |
- Initial version based on centos-release-gluster8
|