Blame SPECS/centos-repos.spec

5bfb02
Name:           centos-repos
5bfb02
Version:        8
5bfb02
Release:        1%{?dist}
5bfb02
Summary:        CentOS package repositories
161103
License:        GPLv2
5bfb02
URL:            https://centos.org
5bfb02
BuildArch:      noarch
5bfb02
5bfb02
Source100:      LICENSE
5bfb02
Source101:      RPM-GPG-KEY-centosofficial
5bfb02
Source102:      RPM-GPG-KEY-centostesting
5bfb02
5bfb02
# CentOS Linux repos
5bfb02
Source200:      CentOS-Linux-BaseOS.repo
5bfb02
Source201:      CentOS-Linux-AppStream.repo
5bfb02
Source202:      CentOS-Linux-PowerTools.repo
5bfb02
Source203:      CentOS-Linux-Extras.repo
5bfb02
Source204:      CentOS-Linux-Plus.repo
5bfb02
5bfb02
# CentOS Linux add-on repos
5bfb02
Source210:      CentOS-Linux-HighAvailability.repo
5bfb02
5bfb02
# CentOS Linux special repos
5bfb02
Source220:      CentOS-Linux-Media.repo
5bfb02
Source221:      CentOS-Linux-Debuginfo.repo
5bfb02
Source222:      CentOS-Linux-Sources.repo
5bfb02
Source223:      CentOS-Linux-Devel.repo
5bfb02
Source224:      CentOS-Linux-ContinuousRelease.repo
5bfb02
Source225:      CentOS-Linux-FastTrack.repo
5bfb02
5bfb02
# CentOS Stream repos
5bfb02
Source300:      CentOS-Stream-BaseOS.repo
5bfb02
Source301:      CentOS-Stream-AppStream.repo
5bfb02
Source302:      CentOS-Stream-PowerTools.repo
5bfb02
Source303:      CentOS-Stream-Extras.repo
5bfb02
Source304:      CentOS-Stream-Plus.repo
5bfb02
5bfb02
# CentOS Stream add-on repos
5bfb02
Source310:      CentOS-Stream-HighAvailability.repo
5bfb02
Source311:      CentOS-Stream-RealTime.repo
5bfb02
5bfb02
# CentOS Stream special repos
5bfb02
Source320:      CentOS-Stream-Media.repo
5bfb02
Source321:      CentOS-Stream-Debuginfo.repo
5bfb02
161103
161103
%description
5bfb02
This package provides the package repository files for CentOS.
5bfb02
5bfb02
5bfb02
%package -n centos-linux-repos
5bfb02
Summary:        CentOS Linux package repositories
5bfb02
Requires:       system-release(releasever) = %{version}
5bfb02
Requires:       centos-gpg-keys = 1:%{version}-%{release}
5bfb02
Provides:       centos-repos(%{version})
5bfb02
5bfb02
# files previously located in other packages
5bfb02
Conflicts:      centos-release < 8.0-0.1905.0.10
5bfb02
Conflicts:      centos-repos < 8.2-3
5bfb02
5bfb02
# conflict with virtual provide so only one repos package is installed
5bfb02
Conflicts:      centos-repos(%{version})
5bfb02
5bfb02
# give dnf a hint to resolve this package on CentOS Linux
5bfb02
Enhances:       centos-linux-release
5bfb02
5bfb02
5bfb02
%description -n centos-linux-repos
5bfb02
This package provides the package repository files for CentOS Linux.
5bfb02
5bfb02
5bfb02
%package -n centos-stream-repos
5bfb02
Summary:        CentOS Stream package repositories
5bfb02
Requires:       system-release(releasever) = %{version}
5bfb02
Requires:       centos-gpg-keys = 1:%{version}-%{release}
5bfb02
Provides:       centos-repos(%{version})
161103
5bfb02
# files previously located in other packages
5bfb02
Conflicts:      centos-release-stream < 8.3-4
5bfb02
5bfb02
# conflict with virtual provide so only one repos package is installed
5bfb02
Conflicts:      centos-repos(%{version})
5bfb02
5bfb02
# give dnf a hint to resolve this package on CentOS Stream
5bfb02
Enhances:       centos-stream-release
5bfb02
5bfb02
5bfb02
%description -n centos-stream-repos
5bfb02
This package provides the package repository files for CentOS Stream.
161103
161103
161103
%package -n centos-gpg-keys
5bfb02
Summary:        CentOS RPM keys
161103
5bfb02
# upgrade path from 8.2 (the version as a centos-release subpackage) to 8 (the version here)
5bfb02
Epoch:          1
5bfb02
5bfb02
# upgrade path from centos-release
5bfb02
Conflicts:      centos-release < 8.0-0.1905.0.10
161103
161103
5bfb02
%description -n centos-gpg-keys
5bfb02
This package provides the RPM signature keys for CentOS.
5bfb02
161103
161103
%install
5bfb02
# copy license here for %%license macro
5bfb02
cp %{SOURCE100} .
161103
161103
# copy GPG keys
5bfb02
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
5bfb02
install -p -m 0644 %{_sourcedir}/RPM-GPG-KEY-* %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
161103
161103
# copy yum repos
5bfb02
install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d
5bfb02
install -p -m 0644 %{_sourcedir}/*.repo %{buildroot}%{_sysconfdir}/yum.repos.d/
5bfb02
5bfb02
# dnf variables
5bfb02
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
5bfb02
echo "stock" > %{buildroot}%{_sysconfdir}/dnf/vars/infra
5bfb02
echo "centos" >%{buildroot}%{_sysconfdir}/dnf/vars/contentdir
5bfb02
echo "%{version}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
5bfb02
5bfb02
5bfb02
%files -n centos-linux-repos
5bfb02
%license LICENSE
5bfb02
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Linux-*.repo
5bfb02
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
5bfb02
%config(noreplace) %{_sysconfdir}/dnf/vars/infra
5bfb02
5bfb02
5bfb02
%files -n centos-stream-repos
5bfb02
%license LICENSE
5bfb02
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-*.repo
5bfb02
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
5bfb02
%config(noreplace) %{_sysconfdir}/dnf/vars/infra
5bfb02
%config(noreplace) %{_sysconfdir}/dnf/vars/stream
5bfb02
161103
161103
%files -n centos-gpg-keys
5bfb02
%{_sysconfdir}/pki/rpm-gpg/
5bfb02
161103
161103
%changelog
5bfb02
* Fri Sep 11 2020 Carl George <carl@george.computer> - 8-1
5bfb02
- Convert to centos-repos
5bfb02
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
161103
* Wed May  8 2019 Pablo Greco <pablo@fliagreco.com.ar> 8-0.el7
161103
- Initial setup for CentOS-8