You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.8 KiB
68 lines
1.8 KiB
Summary: Gluster 9 packages from the CentOS Storage SIG repository
|
|
Name: centos-release-gluster9
|
|
Version: 1.0
|
|
Release: 2%{?dist}
|
|
License: GPLv2
|
|
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
|
|
Source0: CentOS-Gluster-9.repo
|
|
Source1: 75-gluster.preset
|
|
%if 0%{?centos} >= 8
|
|
BuildRequires: systemd
|
|
%endif
|
|
BuildArch: noarch
|
|
|
|
%if 0%{?centos} >= 8
|
|
# $contentdir for altarch support was added with CentOS-7.5
|
|
Requires: centos-release >= 8.1
|
|
Requires(post): systemd
|
|
Requires(preun): systemd
|
|
Requires(postun): systemd
|
|
%endif
|
|
# This provides the public key to verify the RPMs
|
|
Requires: centos-release-storage-common
|
|
|
|
Provides: centos-release-gluster = 9
|
|
|
|
%description
|
|
DNF configuration for Gluster 9 packages from the CentOS Storage SIG. Gluster
|
|
9 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-9.repo
|
|
%if 0%{?centos} < 8
|
|
sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Gluster-9.repo
|
|
%endif
|
|
%if 0%{?centos} >= 8
|
|
install -D -m 644 %{SOURCE1} %{buildroot}%{_presetdir}/$(basename %{SOURCE1})
|
|
%endif
|
|
|
|
%if 0%{?centos} >= 8
|
|
%post
|
|
%systemd_post glusterd.service
|
|
|
|
%preun
|
|
%systemd_preun glusterd.service
|
|
|
|
%postun
|
|
%systemd_postun glusterd.service
|
|
%endif
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Gluster-9.repo
|
|
%if 0%{?centos} >= 8
|
|
%{_presetdir}/75-gluster.preset
|
|
%endif
|
|
|
|
%changelog
|
|
* Wed Aug 07 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0-2
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
* Tue Mar 1 2022 Niels de Vos <ndevos@redhat.com> - 1.0-2
|
|
- Correct mirrorlist/metalink URL in .repo file
|
|
|
|
* Mon Jan 31 2022 Niels de Vos <ndevos@redhat.com> - 1.0-1
|
|
- Initial version based on centos-release-gluster8
|