This repository has been archived by the owner on Feb 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
centos-release-gluster41.spec
69 lines (54 loc) · 2.46 KB
/
centos-release-gluster41.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Summary: Gluster 4.1 (Long Term Stable) packages from the CentOS Storage SIG repository
Name: centos-release-gluster41
Version: 1.0
Release: 3%{?dist}
License: GPLv2
URL: http://wiki.centos.org/SpecialInterestGroup/Storage
Source0: CentOS-Gluster-4.1.repo
BuildArch: noarch
%if 0%{?centos} >= 7
# $contentdir for altarch support was added with CentOS-7.5
Requires: centos-release >= 7-5.1804.el7.centos.2
%endif
# This provides the public key to verify the RPMs
Requires: centos-release-storage-common
Provides: centos-release-gluster = 4.1
# Obsoletes: for 4.0 only, 4.0 is EOL when 4.1 is released
Obsoletes: centos-release-gluster40
# No Conflicts:, possibly older repositories contain additional tools and those
# are still expected to be working.
%description
yum configuration for Gluster 4.1 packages from the CentOS Storage SIG.
Gluster 4.1 is a Long Term Stable release and will receive updates for
approximately 12 months. For more details about the Long Term Stable and Short
Term Stable release schedule, see
https://www.gluster.org/community/release-schedule
%install
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Gluster-4.1.repo
%if 0%{?centos} < 7
sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Gluster-4.1.repo
%endif
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Gluster-4.1.repo
%changelog
* Tue Jul 31 2018 Niels de Vos <[email protected]> - 1.0-3
- Correct handling of altarch repositories on CentOS-6
* Tue Jul 31 2018 Niels de Vos <[email protected]> - 1.0-2
- Add support for altarch repositories
* Fri Jun 15 2018 Niels de Vos <[email protected]> - 1.0-1
- Disable centos-gluster41-test, enable centos-gluster41 repo
* Wed Jun 6 2018 Niels de Vos <[email protected]> - 0.9-2
- Drop the .centos extension from the dist macro (Bug 14907)
* Sat Jun 2 2018 Niels de Vos <[email protected]> - 0.9-1
- Initial version based on centos-release-gluster40
- Only the centos-gluster41-test repo is enabled during Beta
* Thu Mar 15 2018 Niels de Vos <[email protected]> - 1.0-3
- Fix altarch detection for .el6/i686
* Thu Mar 15 2018 Niels de Vos <[email protected]> - 1.0-2
- Correct the repository URL
* Wed Mar 7 2018 Niels de Vos <[email protected]> - 1.0-1
- Disable centos-gluster40-test, enable centos-gluster40 repo
* Fri Jan 12 2018 Niels de Vos <[email protected]> - 0.9-1
- Initial version based on centos-release-gluster313
- Only the centos-gluster40-test repo is enabled during Beta