Blame SPECS/centos-repos.spec

5975bc
Name:           centos-repos
5975bc
Version:        8
5975bc
Release:        1%{?dist}
5975bc
Summary:        CentOS package repositories
161103
License:        GPLv2
5975bc
URL:            https://centos.org
5975bc
BuildArch:      noarch
5975bc
5975bc
Source100:      LICENSE
5975bc
Source101:      RPM-GPG-KEY-centosofficial
5975bc
Source102:      RPM-GPG-KEY-centostesting
5975bc
5975bc
# CentOS Linux repos
5975bc
Source200:      CentOS-Linux-BaseOS.repo
5975bc
Source201:      CentOS-Linux-AppStream.repo
5975bc
Source202:      CentOS-Linux-PowerTools.repo
5975bc
Source203:      CentOS-Linux-Extras.repo
5975bc
Source204:      CentOS-Linux-Plus.repo
5975bc
5975bc
# CentOS Linux add-ons repos
5975bc
Source210:      CentOS-Linux-HA.repo
5975bc
5975bc
# CentOS Linux special repos
5975bc
Source220:      CentOS-Linux-Media.repo
5975bc
Source221:      CentOS-Linux-Sources.repo
5975bc
Source222:      CentOS-Linux-Debuginfo.repo
5975bc
Source223:      CentOS-Linux-Devel.repo
5975bc
Source224:      CentOS-Linux-CR.repo
5975bc
Source225:      CentOS-Linux-FastTrack.repo
5975bc
5975bc
# CentOS Stream repos
5975bc
Source300:      CentOS-Stream-BaseOS.repo
5975bc
Source301:      CentOS-Stream-AppStream.repo
5975bc
Source302:      CentOS-Stream-PowerTools.repo
5975bc
Source303:      CentOS-Stream-Extras.repo
5975bc
Source304:      CentOS-Stream-Plus.repo
5975bc
5975bc
# CentOS Stream add-ons repos
5975bc
Source310:      CentOS-Stream-HA.repo
5975bc
Source311:      CentOS-Stream-RT.repo
5975bc
5975bc
# CentOS Stream special repos
5975bc
Source320:      CentOS-Stream-Media.repo
5975bc
Source321:      CentOS-Stream-Sources.repo
5975bc
Source322:      CentOS-Stream-Debuginfo.repo
5975bc
Source323:      CentOS-Stream-Devel.repo
161103
161103
161103
%description
5975bc
This package provides the package repository files for CentOS.
5975bc
161103
5975bc
%package -n centos-linux-repos
5975bc
Summary:        CentOS Linux package repositories
5975bc
Requires:       system-release(releasever) = %{version}
161103
Requires:       centos-gpg-keys = %{version}-%{release}
5975bc
Provides:       centos-repos(%{version}) = %{version}-%{release}
5975bc
5975bc
# upgrade path from centos-release
5975bc
Conflicts:      centos-release < 8.0-0.1905.0.10
5975bc
5975bc
# upgrade path from centos-repos
5975bc
Obsoletes:      centos-repos < 8.2-3
5975bc
5975bc
5975bc
%description -n centos-linux-repos
5975bc
This package provides the package repository files for CentOS Linux.
5975bc
5975bc
5975bc
%package -n centos-stream-repos
5975bc
Summary:        CentOS Stream package repositories
5975bc
Requires:       system-release(releasever) = %{version}
5975bc
Requires:       centos-gpg-keys = %{version}-%{release}
5975bc
Provides:       centos-repos(%{version}) = %{version}-%{release}
5975bc
5975bc
# upgrade path from centos-release-stream
5975bc
Conflicts:      centos-release-stream < 8.3-4
5975bc
5975bc
5975bc
%description -n centos-stream-repos
5975bc
This package provides the package repository files for CentOS Stream.
161103
161103
161103
%package -n centos-gpg-keys
5975bc
Summary:        CentOS RPM keys
161103
5975bc
# upgrade path from centos-release
5975bc
Conflicts:      centos-release < 8.0-0.1905.0.10
161103
161103
5975bc
%description -n centos-gpg-keys
5975bc
This package provides the RPM signature keys for CentOS.
5975bc
161103
161103
%install
5975bc
# copy license here for %%license macro
5975bc
cp %{SOURCE100} .
161103
161103
# copy GPG keys
5975bc
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
5975bc
install -m 0644 %{_sourcedir}/RPM-GPG-KEY-* %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
161103
161103
# copy yum repos
5975bc
install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d
5975bc
install -m 0644 %{_sourcedir}/*.repo %{buildroot}%{_sysconfdir}/yum.repos.d/
5975bc
5975bc
# dnf variables
5975bc
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
5975bc
echo "stock" > %{buildroot}%{_sysconfdir}/dnf/vars/infra
5975bc
echo "centos" >%{buildroot}%{_sysconfdir}/dnf/vars/contentdir
5975bc
echo "%{version}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
5975bc
5975bc
5975bc
%files -n centos-linux-repos
5975bc
%license LICENSE
5975bc
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Linux-*.repo
5975bc
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
5975bc
%config(noreplace) %{_sysconfdir}/dnf/vars/infra
5975bc
5975bc
5975bc
%files -n centos-stream-repos
5975bc
%license LICENSE
5975bc
%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-*.repo
5975bc
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
5975bc
%config(noreplace) %{_sysconfdir}/dnf/vars/infra
5975bc
%config(noreplace) %{_sysconfdir}/dnf/vars/stream
5975bc
161103
161103
%files -n centos-gpg-keys
5975bc
%{_sysconfdir}/pki/rpm-gpg/
5975bc
161103
161103
%changelog
5975bc
* Fri Sep 11 2020 Carl George <carl@george.computer> - 8-1
5975bc
- Convert to centos-repos
5975bc
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
161103