From 26e18f13dd00c449a46b91203f4084d472ba3afa Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Nov 25 2022 14:13:03 +0000 Subject: Gluster 11 pre-release available for testing Signed-off-by: Niels de Vos --- diff --git a/README.md b/README.md index 4d62f69..0f20be8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -centos-release-gluster10 provides the YUM repository file for the -CentOS Storage SIG that provide GlusterFS 10. +centos-release-gluster11 provides the YUM repository file for the +CentOS Storage SIG that provide GlusterFS 11. This package needs to get built against the following targets so that the packages land at the right tag for inclusion in CentOS Extras: @@ -13,8 +13,8 @@ Building the package can be done like this: $ rpmbuild -bs \ --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \ --define "dist .el8s.centos" \ - SPECS/centos-release-gluster10.spec + SPECS/centos-release-gluster11.spec $ cbs build core8s-extras-common-el8s.centos \ - centos-release-gluster10-1.0-1.el8s.centos.src.rpm + centos-release-gluster11-0.1-1.el8s.centos.src.rpm diff --git a/SOURCES/CentOS-Gluster-10.repo b/SOURCES/CentOS-Gluster-10.repo deleted file mode 100644 index 6ce56e3..0000000 --- a/SOURCES/CentOS-Gluster-10.repo +++ /dev/null @@ -1,20 +0,0 @@ -# CentOS-Gluster-10.repo -# -# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more -# information - -[centos-gluster10] -name=CentOS-$stream - Gluster 10 -mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=$stream&repo=storage-gluster-10 -#baseurl=http://mirror.centos.org/$contentdir/$stream/storage/$basearch/gluster-10/ -gpgcheck=1 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-gluster10-test] -name=CentOS-$stream - Gluster 10 Testing -baseurl=http://buildlogs.centos.org/centos/$stream/storage/$basearch/gluster-10/ -gpgcheck=0 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - diff --git a/SOURCES/CentOS-Gluster-11.repo b/SOURCES/CentOS-Gluster-11.repo new file mode 100644 index 0000000..2d4f444 --- /dev/null +++ b/SOURCES/CentOS-Gluster-11.repo @@ -0,0 +1,20 @@ +# CentOS-Gluster-11.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-gluster11] +name=CentOS-$stream - Gluster 11 +mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=$stream&repo=storage-gluster-11 +#baseurl=http://mirror.centos.org/$contentdir/$stream/storage/$basearch/gluster-11/ +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-gluster11-test] +name=CentOS-$stream - Gluster 11 Testing +baseurl=http://buildlogs.centos.org/centos/$stream/storage/$basearch/gluster-11/ +gpgcheck=0 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + diff --git a/SPECS/centos-release-gluster10.spec b/SPECS/centos-release-gluster10.spec deleted file mode 100644 index de66505..0000000 --- a/SPECS/centos-release-gluster10.spec +++ /dev/null @@ -1,61 +0,0 @@ -Summary: Gluster 10 packages from the CentOS Storage SIG repository -Name: centos-release-gluster10 -Version: 1.0 -Release: 1%{?dist} -License: GPLv2 -URL: http://wiki.centos.org/SpecialInterestGroup/Storage -Source0: CentOS-Gluster-10.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 = 10 - -%description -DNF configuration for Gluster 10 packages from the CentOS Storage SIG. Gluster -10 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-10.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-10.repo -%{_presetdir}/75-gluster.preset - -%changelog -* Fri Nov 12 2021 Niels de Vos - 1.0-1 -- Gluster 10 GA - -* Tue Oct 26 2021 Niels de Vos - 0.1-1 -- Gluster 10 pre-release - -* Mon Jun 21 2021 Kaleb S. KEITHLEY - 1.0-2 -- c8stream - -* Fri Jan 22 2021 Niels de Vos - 1.0-1 -- Initial version based on centos-release-gluster8 diff --git a/SPECS/centos-release-gluster11.spec b/SPECS/centos-release-gluster11.spec new file mode 100644 index 0000000..8131c50 --- /dev/null +++ b/SPECS/centos-release-gluster11.spec @@ -0,0 +1,53 @@ +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 - 0.1-1 +- Gluster 10 pre-release +- Initial version based on centos-release-gluster10