From 8ed1c9e5ae0b0dd63b6bf93f64a1e0d86e78081a Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Nov 16 2021 08:52:17 +0000 Subject: centos-release-gluster-legacy deprecating Gluster <= 8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e7a9c13 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.rpm diff --git a/README.md b/README.md new file mode 100644 index 0000000..b0fa1bf --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +`centos-release-gluster-legacy` removes unmaintained versions of +`centos-release-gluster*` packages from the system.. + +This package needs to get build by the CentOS core team that maintains the +Extras repository. + +Building the package can be done like this: + + $ rpmbuild -bs \ + --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \ + --define "dist .el8s.centos" \ + SPECS/centos-release-gluster-legacy.spec + + $ cbs build --scratch \ + storage8s-gluster-10-el8s \ + centos-release-gluster-legacy-8-1.el8s.centos.src.rpm + diff --git a/SOURCES/README.warn b/SOURCES/README.warn new file mode 100644 index 0000000..c46eba6 --- /dev/null +++ b/SOURCES/README.warn @@ -0,0 +1,11 @@ +Presence of this README indicates that an unmaintained version of Gluster was +enabled on this system. The centos-release-gluster-legacy package caused the +removal of centos-release-gluster* versions that do not receive updates +anymore. + +It is strongly recommended to follow the releases for Gluster deployments and +plan for upgrades accordingly. An announcement is sent to the CentOS Announce +and Gluster Announce mailinglists when a new version becomes available. + +More details about the versions and their End-Of-Life dates are on +https://www.gluster.org/community/release-schedule diff --git a/SPECS/centos-release-gluster-legacy.spec b/SPECS/centos-release-gluster-legacy.spec new file mode 100644 index 0000000..aa21885 --- /dev/null +++ b/SPECS/centos-release-gluster-legacy.spec @@ -0,0 +1,83 @@ +Summary: Disable unmaintained Gluster repositories from the CentOS Storage SIG +Name: centos-release-gluster-legacy +Version: 8 +Release: 1%{?dist} +License: GPLv2 +URL: http://wiki.centos.org/SpecialInterestGroup/Storage +BuildArch: noarch +Source0: README.warn + +# WARN: only have a single Provides: to work around rhbz#1657753 +Provides: centos-release-gluster = 8 + +Obsoletes: centos-release-gluster8 = 8 +Conflicts: centos-release-gluster8 = 8 + +Obsoletes: centos-release-gluster7 = 7 +Conflicts: centos-release-gluster7 = 7 + +Obsoletes: centos-release-gluster6 = 6 +Conflicts: centos-release-gluster6 = 6 + +Obsoletes: centos-release-gluster5 = 5 +Conflicts: centos-release-gluster5 = 5 + +Obsoletes: centos-release-gluster41 = 4.1 +Conflicts: centos-release-gluster41 = 4.1 + +Obsoletes: centos-release-gluster40 = 4.0 +Conflicts: centos-release-gluster40 = 4.0 + +# only deprecate LTM releases, STM should get upgraded with the next LTM +#Provides: centos-release-gluster = 3.12 +Obsoletes: centos-release-gluster312 = 3.12 +Conflicts: centos-release-gluster312 = 3.12 + +#Provides: centos-release-gluster = 3.10 +Obsoletes: centos-release-gluster310 = 3.10 +Conflicts: centos-release-gluster310 = 3.10 + +#Provides: centos-release-gluster = 3.8 +Obsoletes: centos-release-gluster38 = 3.8 +Conflicts: centos-release-gluster38 = 3.8 + +#Provides: centos-release-gluster = 3.7 +Obsoletes: centos-release-gluster37 = 3.7 +Conflicts: centos-release-gluster37 = 3.7 + +#Provides: centos-release-gluster = 3.6 +Obsoletes: centos-release-gluster36 = 3.6 +Conflicts: centos-release-gluster36 = 3.6 + + +%description +When this package is installed, an unmaintained Gluster version was available +on this system. In order to prevent problems when the YUM repository +disappears, this package removed the old .repo files. + +It is recommended to deploy Gluster environments with planning for timely +upgrades to keep using a maintained version. For more details about the +maintenance and release schedule, see +https://www.gluster.org/community/release-schedule + +%install +install -m 0644 -D %{SOURCE0} %{buildroot}/%{_docdir}/README + +%files +%doc %{_docdir}/README + +%changelog +* Tue Nov 16 2021 Niels de Vos - 8-1 +- Deprecate Gluster 8 and below + +* Mon Dec 10 2018 Niels de Vos - 4.0-2 +- Drop unneeded Provides: to work around YUM bug (rhbz#1657753) + +* Wed Dec 5 2018 Niels de Vos - 4.0-1 +- Deprecate centos-release-gluster40 + +* Fri Nov 2 2018 Niels de Vos - 3.12-1 +- Deprecate centos-release-gluster312 + +* Mon Jun 25 2018 Niels de Vos - 3.10-1 +- Remove unmaintained centos-release-gluster* <= 3.10 versions