Blame SPECS/centos-repos.spec

b759b1
Name:           centos-repos
b759b1
Version:        8
d38ea6
Release:        5%{?dist}
b759b1
Summary:        CentOS package repositories
161103
License:        GPLv2
b759b1
URL:            https://centos.org
b759b1
BuildArch:      noarch
b759b1
b759b1
Source100:      LICENSE
b759b1
Source101:      RPM-GPG-KEY-centosofficial
b759b1
Source102:      RPM-GPG-KEY-centostesting
d38ea6
Source103:      RPM-GPG-KEY-CentOS-SIG-Extras
b759b1
b759b1
# CentOS Linux repos
b759b1
Source200:      CentOS-Linux-BaseOS.repo
b759b1
Source201:      CentOS-Linux-AppStream.repo
b759b1
Source202:      CentOS-Linux-PowerTools.repo
b759b1
Source203:      CentOS-Linux-Extras.repo
b759b1
Source204:      CentOS-Linux-Plus.repo
b759b1
b759b1
# CentOS Linux add-on repos
b759b1
Source210:      CentOS-Linux-HighAvailability.repo
b759b1
b759b1
# CentOS Linux special repos
b759b1
Source220:      CentOS-Linux-Media.repo
b759b1
Source221:      CentOS-Linux-Debuginfo.repo
b759b1
Source222:      CentOS-Linux-Sources.repo
b759b1
Source223:      CentOS-Linux-Devel.repo
b759b1
Source224:      CentOS-Linux-ContinuousRelease.repo
b759b1
Source225:      CentOS-Linux-FastTrack.repo
b759b1
b759b1
# CentOS Stream repos
b759b1
Source300:      CentOS-Stream-BaseOS.repo
b759b1
Source301:      CentOS-Stream-AppStream.repo
b759b1
Source302:      CentOS-Stream-PowerTools.repo
b759b1
Source303:      CentOS-Stream-Extras.repo
b759b1
b759b1
# CentOS Stream add-on repos
b759b1
Source310:      CentOS-Stream-HighAvailability.repo
b759b1
Source311:      CentOS-Stream-RealTime.repo
11643f
Source312:      CentOS-Stream-ResilientStorage.repo
Brian Stinson f812d9
Source313:      CentOS-Stream-NFV.repo
b759b1
b759b1
# CentOS Stream special repos
b759b1
Source320:      CentOS-Stream-Media.repo
b759b1
Source321:      CentOS-Stream-Debuginfo.repo
11643f
Source322:      CentOS-Stream-Sources.repo
b759b1
161103
161103
%description
b759b1
This package provides the package repository files for CentOS.
b759b1
b759b1
b759b1
%package -n centos-linux-repos
b759b1
Summary:        CentOS Linux package repositories
b759b1
Requires:       system-release(releasever) = %{version}
b759b1
Requires:       centos-gpg-keys = 1:%{version}-%{release}
b759b1
Provides:       centos-repos(%{version})
b759b1
b759b1
# files previously located in other packages
b759b1
Conflicts:      centos-release < 8.0-0.1905.0.10
b759b1
Conflicts:      centos-repos < 8.2-3
b759b1
b759b1
# conflict with virtual provide so only one repos package is installed
b759b1
Conflicts:      centos-repos(%{version})
b759b1
b759b1
# give dnf a hint to resolve this package on CentOS Linux
b759b1
Enhances:       centos-linux-release
b759b1
b759b1
b759b1
%description -n centos-linux-repos
b759b1
This package provides the package repository files for CentOS Linux.
b759b1
b759b1
b759b1
%package -n centos-stream-repos
b759b1
Summary:        CentOS Stream package repositories
b759b1
Requires:       system-release(releasever) = %{version}
b759b1
Requires:       centos-gpg-keys = 1:%{version}-%{release}
b759b1
Provides:       centos-repos(%{version})
161103
b759b1
# files previously located in other packages
b759b1
Conflicts:      centos-release-stream < 8.3-4
b759b1
b759b1
# conflict with virtual provide so only one repos package is installed
b759b1
Conflicts:      centos-repos(%{version})
b759b1
b759b1
# give dnf a hint to resolve this package on CentOS Stream
b759b1
Enhances:       centos-stream-release
b759b1
b759b1
b759b1
%description -n centos-stream-repos
b759b1
This package provides the package repository files for CentOS Stream.
161103
161103
161103
%package -n centos-gpg-keys
b759b1
Summary:        CentOS RPM keys
161103
b759b1
# upgrade path from 8.2 (the version as a centos-release subpackage) to 8 (the version here)
b759b1
Epoch:          1
b759b1
b759b1
# upgrade path from centos-release
b759b1
Conflicts:      centos-release < 8.0-0.1905.0.10
161103
161103
b759b1
%description -n centos-gpg-keys
b759b1
This package provides the RPM signature keys for CentOS.
b759b1
161103
161103
%install
b759b1
# copy license here for %%license macro
b759b1
cp %{SOURCE100} .
161103
161103
# copy GPG keys
b759b1
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
b759b1
install -p -m 0644 %{_sourcedir}/RPM-GPG-KEY-* %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
161103
161103
# copy yum repos
b759b1
install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d
b759b1
install -p -m 0644 %{_sourcedir}/*.repo %{buildroot}%{_sysconfdir}/yum.repos.d/
b759b1
b759b1
# dnf variables
b759b1
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
b759b1
echo "stock" > %{buildroot}%{_sysconfdir}/dnf/vars/infra
b759b1
echo "centos" >%{buildroot}%{_sysconfdir}/dnf/vars/contentdir
b759b1
echo "%{version}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
b759b1
b759b1
b759b1
%files -n centos-linux-repos
b759b1
%license LICENSE
11643f
%dir %{_sysconfdir}/yum.repos.d
b759b1
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Linux-*.repo
b759b1
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
b759b1
%config(noreplace) %{_sysconfdir}/dnf/vars/infra
b759b1
b759b1
b759b1
%files -n centos-stream-repos
b759b1
%license LICENSE
11643f
%dir %{_sysconfdir}/yum.repos.d
b759b1
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-*.repo
b759b1
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
b759b1
%config(noreplace) %{_sysconfdir}/dnf/vars/infra
b759b1
%config(noreplace) %{_sysconfdir}/dnf/vars/stream
b759b1
161103
161103
%files -n centos-gpg-keys
b759b1
%{_sysconfdir}/pki/rpm-gpg/
b759b1
161103
161103
%changelog
d38ea6
* Tue Mar 15 2022 Fabian Arrotin <arrfab@centos.org> - 8-5
d38ea6
- Added new extras-common repo and dedicated SIG Extras key
d38ea6
Brian Stinson f812d9
* Wed Jan 19 2022 bstinson@redhat.com - 8-4
Brian Stinson f812d9
- Add the NFV addon to CentOS Stream 8
Brian Stinson f812d9
11643f
* Tue Sep 14 2021 Carl George <carl@george.computer> - 8-3
11643f
- Add resilientstorage repo to centos-stream-repos
11643f
- Add source repos to centos-stream-repos
11643f
- Add powertools-source repo to centos-linux-repos
11643f
edbe8c
* Mon Sep 28 2020 Carl George <carl@george.computer> - 8-2
edbe8c
- Remove plus repo file from centos-stream-repos
edbe8c
b759b1
* Fri Sep 11 2020 Carl George <carl@george.computer> - 8-1
b759b1
- Convert to centos-repos
b759b1
161103
* Fri May 15 2020 Pablo Greco <pgreco@centosproject.org> - 8-2.0.1
161103
- Relax dependency for centos-repos
161103
- Remove update_boot, it was never used in 8
161103
- Add rootfs_expand to aarch64
161103
- Bump release for 8.2
161103
161103
* Thu Mar 12 2020 bstinson@centosproject.org - 8-1.0.9
161103
- Add the Devel repo to centos-release
161103
- Install os-release(5) content to /usr/lib and have /etc/os-release be a symlink (ngompa)pr#9
161103
161103
* Thu Jan 02 2020 Brian Stinson <bstinson@centosproject.org> - 8-1.0.8
161103
- Add base module platform Provides so DNF can auto-discover modular platform (ngompa)pr#6
161103
- Switched CR repo to mirrorlist to spread the load (arrfab)pr#5
161103
161103
* Thu Dec 19 2019 bstinson@centosproject.org - 8-1.0.7
161103
- Typo fixes
161103
- Disable the HA repo by default
161103
161103
* Wed Dec 18 2019 Pablo Greco <pgreco@centosproject.org> - 8-1.el8
161103
- Fix requires in armhfp
161103
161103
* Tue Dec 17 2019 bstinson@centosproject.org - 8-1.el8
161103
- Add the HighAvailability repository
161103
161103
* Wed Aug 14 2019 Neal Gompa <ngompa@centosproject.org> 8-1.el8
161103
- Split repositories and GPG keys out into subpackages
161103
161103
* Sat Aug 10 2019 Fabian Arrotin <arrfab@centos.org> 8-0.el8
161103
- modified baseurl paths, even if disabled
161103
161103
* Sat Aug 10 2019 Fabian Arrotin <arrfab@centos.org> 8-0.el8
161103
- Enabled Extras by default.
161103
- Fixed sources paths for BaseOS/AppStream
161103
161103
* Sat Aug 10 2019 Brian Stinson <bstinson@centosproject.org> 8-0.el7
161103
- Update Debuginfo and fasttrack to use releasever
161103
- Fix CentOS-media.repo to include appstream
161103
b759b1
* Wed May 08 2019 Pablo Greco <pablo@fliagreco.com.ar> 8-0.el7
161103
- Initial setup for CentOS-8