%global pulpcore_version 3.63 %global candlepin_version 4.4 %define repo_dir %{_sysconfdir}/yum.repos.d %define repo_dist %{dist} %global release 1 Name: katello-repos Version: 4.15.0 Release: %{?prerelease:0.}%{release}%{?prerelease}%{?dist} Summary: Definition of yum repositories for Katello Group: Applications/Internet License: GPLv2 URL: https://theforeman.org/plugins/katello/ Source0: katello.repo Source1: candlepin.gpg BuildArch: noarch BuildRequires: sed Requires: foreman-release %description Defines yum repositories for Katello and its sub projects, Candlepin and Pulp. %prep %build %install rm -rf %{buildroot} #prepare dir structure install -d -m 0755 %{buildroot}%{repo_dir} install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg/ install -m 644 %{SOURCE0} %{buildroot}%{repo_dir}/ install -Dpm0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-candlepin if [[ '%{release}' == *"nightly"* ]];then REPO_VERSION='nightly' REPO_NAME='Nightly' REPO_GPGCHECK=0 else # Get major.minor from the version REPO_VERSION="$(echo '%{version}' | sed 's/\([^\.]\+\.[^\.]\+\)\..\+/\1/')" REPO_NAME=$REPO_VERSION REPO_GPGCHECK=1 fi for repofile in %{buildroot}%{repo_dir}/*.repo; do trimmed_dist=`echo %{repo_dist} | sed 's/^\.//'` sed -i "s/@DIST@/${trimmed_dist}/" $repofile sed -i "s/@RHEL@/%{rhel}/" $repofile sed -i "s/@REPO_VERSION@/${REPO_VERSION}/" $repofile sed -i "s/@REPO_NAME@/${REPO_NAME}/" $repofile sed -i "s/@REPO_GPGCHECK@/${REPO_GPGCHECK}/" $repofile sed -i "s/@PULPCORE_VERSION@/%pulpcore_version/" $repofile sed -i "s/@CANDLEPIN_VERSION@/%candlepin_version/" $repofile done %clean rm -rf %{buildroot} %files %defattr(-, root, root) %config %{repo_dir}/*.repo %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-candlepin %changelog * Tue Dec 03 2024 Odilon Sousa - 4.15.0-1 - Release katello-repos 4.15.0 * Thu Nov 21 2024 Odilon Sousa - 4.15.0-0.2.rc2 - Release katello-repos 4.15.0rc2 * Mon Nov 18 2024 Odilon Sousa - 4.15.0-0.2.rc1 - Release katello-repos 4.15.0rc1 * Fri Nov 08 2024 Ian Ballou - 4.15-0.2.nightly - Use Pulpcore 3.63 * Tue Aug 20 2024 Chris Roberts - 4.15-0.1.nightly - Bump version to 4.15.0 * Mon Jun 03 2024 Evgeni Golov - 4.14-0.2.nightly - Update Candlepin 4.4 key * Tue May 28 2024 Ian Ballou - 4.14-0.1.nightly - Bump version to 4.14.0 * Fri May 03 2024 Evgeni Golov - 4.13-0.4.nightly - Disable gpgcheck when using pulpcore nightly * Wed May 01 2024 Eric D. Helms - 4.13-0.3.nightly - Use Candlepin 4.4 * Wed Apr 17 2024 Samir Jha - 4.13-0.2.nightly - Update pulpcore version to nightly * Mon Feb 26 2024 Quinn James - 4.13-0.1.nightly - Bump version to 4.13.0 * Fri Dec 01 2023 Eric D. Helms - 4.12-0.2.nightly - Use dedicated Candlepin release repository * Mon Nov 27 2023 Ian Ballou - 4.12-0.1.nightly - Bump version to 4.12.0 * Wed Nov 15 2023 Ian Ballou - 4.11-0.2.nightly - Bump Pulpcore version to 3.39 * Mon Aug 28 2023 David Moore - 4.11-0.1.nightly - Bump version to 4.11.0 * Tue Aug 15 2023 Ian Ballou - 4.10-0.2.nightly - Bump version to 4.10.0 * Wed May 24 2023 William Bradford Clark - 4.10-0.1.nightly - Bump version to 4.10.0 * Tue Feb 21 2023 Lucy Fu - 4.9-0.1.nightly - Bump version to 4.9.0 * Mon Feb 20 2023 Ian Ballou - 4.8-0.2.nightly - Bump Pulpcore version to 3.22 * Thu Nov 10 2022 Evgeni Golov - 4.8-0.1.nightly - Bump version to 4.8.0 * Wed Oct 26 2022 Samir Jha - 4.7-0.2.nightly - Bump Pulpcore version to 3.21 * Mon Aug 15 2022 Ewoud Kohl van Wijngaarden - 4.7-0.1.nightly - Update to version 4.7 * Wed May 18 2022 Ian Ballou - 4.6-0.3.nightly - Bump Pulpcore version to 3.18 * Tue May 17 2022 Eric D. Helms - 4.6-0.2.nightly - Drop use of module_hotfixes, there are modules now * Wed May 11 2022 Partha Aji - 4.6-0.1.nightly - bump to 4.6 * Thu Apr 07 2022 Ian Ballou - 4.5-0.2.nightly - Bump up Pulpcore version to 3.17 * Wed Feb 16 2022 Justin Sherrill 4.5-0.1.nightly - bump to version 4.5 * Thu Nov 18 2021 Ian Ballou 4.4-0.2.nightly - use pulp 3.16 repos * Wed Nov 17 2021 Chris Roberts 4.4-0.1.nightly - 4.4.0 version bump * Tue Oct 19 2021 Justin Sherrill 4.3-0.2.nightly - use pulp 3.15 repos * Mon Aug 09 2021 Justin Sherrill 4.3-0.1.nightly - 4.3.0 version bump * Fri Jul 2 2021 James Jeffers - 4.2-0.2.nightly - Update Pulp to 3.14 * Thu May 06 2021 Eric D. Helms - 4.2-0.1.nightly - Update to 4.2.0 * Thu Apr 08 2021 Justin Sherrill - 4.1-0.3.nightly - use 3.11 pulpcore repos * Tue Mar 23 2021 Evgeni Golov - 4.1-0.2.nightly - Consume repositories from yum.theforeman.org * Wed Mar 03 2021 Ewoud Kohl van Wijngaarden - 4.1-0.1.nightly - Bump to 4.1 - Remove Pulp 2 and qpid copr repository definitions - Always GPG check pulpcore repositories * Mon Jan 11 2021 Ian Ballou - 4.0-0.3.nightly - use pulpcore 3.9 repos * Wed Nov 25 2020 Evgeni Golov - 4.0-0.2.nightly - add qpid copr * Wed Nov 04 2020 Jonathon Turel - 4.0-0.1.nightly - Bump version to 4.0.0 * Thu Oct 29 2020 Justin Sherrill 3.18-0.5.nightly - use pulpcore 3.7 repos * Thu Sep 24 2020 Evgeni Golov - 3.18-0.4.nightly - Only enable Pulp2 repos on EL7 * Wed Sep 16 2020 Evgeni Golov - 3.18-0.3.nightly - load pulpcore gpg keys from the server * Mon Aug 31 2020 Evgeni Golov - 3.18-0.2.nightly - Use the new pulpcore repos * Tue Aug 11 2020 Eric D. Helms - 3.18-0.1.nightly - Bump to 3.18.0 * Thu May 14 2020 Eric D. Helms - 4.0.0-0.1.nightly - Update to 4.0 * Wed Apr 22 2020 Eric D. Helms - 3.15.0-0.4.nightly - Add module_hotfixes to repo files * Fri Dec 13 2019 Evgeni Golov - 3.15.0-0.3.nightly - Add pulpcore repository * Mon Nov 18 2019 Evgeni Golov - 3.15.0-0.2.nightly - Unify prerelease macro handling * Fri Nov 01 2019 Jonathon Turel - 3.15.0-0.1.nightly - Bump version to 3.15.0 * Mon Oct 21 2019 Evgeni Golov - 3.14.0-0.4.nightly - Use RPM-GPG-KEY-foreman from foreman-release * Mon Oct 21 2019 Evgeni Golov - 3.14.0-0.3.nightly - Automatically set gpgcheck=1 for release versions * Tue Oct 08 2019 Partha Aji - 3.14.0-0.2.nightly - Adding pulp 2.21 GA * Wed Aug 07 2019 Evgeni Golov - 3.14.0-0.1.nightly - Bump version to 3.14 * Thu Aug 1 2019 Justin Sherrill - 3.13.0-0.2.nightly - use pulp 2.20 * Tue Apr 23 2019 Evgeni Golov - 3.13.0-0.1.nightly - Bump version to 3.13-nightly * Sat Apr 06 2019 Partha Aji - 3.12.0-0.2.nightly - use stable pulp 2.19 repository * Wed Jan 16 2019 Eric D. Helms - 3.12.0-0.1.nightly - Bump version to 3.12 * Tue Jan 15 2019 Justin Sherrill - 3.11.0-0.2.nightly - use stable pulp 2.18 repository * Fri Nov 30 2018 Eric D. Helms - 3.11.0-0.1.nightly - Bump version to 3.11 * Mon Nov 26 2018 John Mitsch - 3.10.0-0.4.nightly - Switch to Pulp 2-18 beta * Wed Oct 24 2018 John Mitsch - 3.10.0-0.3.nightly - Switch to Pulp nightly * Mon Oct 22 2018 Eric D. Helms - 3.10.0-0.2.nightly - Drop client repos * Thu Oct 18 2018 Eric D. Helms - 3.10.0-0.1.nightly - Bump version to 3.10 * Fri Aug 17 2018 Partha Aji - 3.9.0-0.4.nightly - Switch to Pulp 2.17 beta * Wed Jul 25 2018 Eric D. Helms - 3.9.0-0.3.nightly - Add nightly back to release * Tue Jul 24 2018 Eric D. Helms - 3.9.0-2 - Add prerelease macro support * Wed Jul 18 2018 Eric D. Helms 3.9.0-1.nightly - Bump * Wed Jun 27 2018 Jonathon Turel 3.8.0-2.nightly - remove gofer-copr.repo * Thu Apr 19 2018 Eric D. Helms 3.7.0-3.nightly - Switch to using Pulp 2.16 stable (ericdhelms@gmail.com) * Tue Jan 30 2018 Eric D. Helms 3.7.0-2.nightly - Switch to using Pulp 2.15 stable (ericdhelms@gmail.com) * Tue Jan 16 2018 Eric D. Helms 3.7.0-1.nightly - Bump katello RPMs to 3.7.0 (ericdhelms@gmail.com) - Automatic commit of package [katello-repos] minor release [3.6.0-2.nightly.fm1_18]. (ericdhelms@gmail.com) * Mon Jan 15 2018 Eric D. Helms 3.6.0-2.nightly - new package built with tito * Wed Jul 05 2017 Eric D. Helms 3.5.0-1.nightly - Bump specs to 3.5.0 (ericdhelms@gmail.com) - Update katello-repos.spec so that repo files are config files (Klaas-@users.noreply.github.com) - Bumping nightly builds to 3.4.0 (jsherril@redhat.com) - Updated for fedora 24 (jomitsch@redhat.com) - Katello version bump to 3.3.0 (jomitsch@redhat.com) - allow for easier repo version setting (jsherril@redhat.com) * Thu Jul 21 2016 Justin Sherrill 3.2.0-2.nightly - Refs #13017 - include qpid-copr for client repos (jsherril@redhat.com) * Wed Jul 20 2016 Justin Sherrill 3.2.0-1.nightly - Fixes #13017 - remove priorities to use qpid from epel (jsherril@redhat.com) * Fri Mar 18 2016 Eric D Helms 3.1.0-2.nightly - Fixes #14260: Ensure the leading dot is removed from dist in repos RPM (ericdhelms@gmail.com) * Wed Mar 16 2016 Eric D Helms 3.1.0-1.nightly - Fixes #14189: Move repo definitions to be dist based (ericdhelms@gmail.com) - updating nightly to 2.5 (jsherril@redhat.com) - Fixes #11746: Correct source URL for repositories RPM (ericdhelms@gmail.com) * Fri Aug 07 2015 Eric D. Helms 2.4.0-2.nightly - Add priority back to repos. (ericdhelms@gmail.com) * Wed Jul 29 2015 Eric D. Helms 2.4.0-1.nightly - new package built with tito * Tue Mar 24 2015 Eric D. Helms 2.3.0-2 - Fixes #7760: Adds client repo (ericdhelms@gmail.com) * Tue Feb 24 2015 Eric D. Helms 2.3.0-1 - * Tue Feb 24 2015 Eric D. Helms 2.2.0-2 - Bump release to 2.2.0-2 (ericdhelms@gmail.com) - Update repo name to nightly for Katello. (ericdhelms@gmail.com) - fixing repo urls to match new format (jsherril@redhat.com) - fixes #7959 - use https for yum repos and local gpg key (jsherril@redhat.com) - fixes #7739 - combine three katello repo files into one (jsherril@redhat.com) * Tue Feb 24 2015 Eric D. Helms - Update repo name to nightly for Katello. (ericdhelms@gmail.com) - fixing repo urls to match new format (jsherril@redhat.com) - fixes #7959 - use https for yum repos and local gpg key (jsherril@redhat.com) - fixes #7739 - combine three katello repo files into one (jsherril@redhat.com) * Fri Dec 19 2014 David Davis 2.2.0-1 - Merge pull request #39 from ehelms/fixes-7442 (eric.d.helms@gmail.com) - Fixes #7442: Change repo structure to group by version and project. (ericdhelms@gmail.com) * Fri Sep 12 2014 Justin Sherrill 2.1.0-1 - removing katello-foreman repo (mmccune@redhat.com) * Fri Oct 11 2013 Partha Aji 1.5.1-1 - Bumping package versions for 1.5 (paji@redhat.com) * Sat Apr 27 2013 Justin Sherrill 1.4.2-1 - Add 'repos/' from commit 'b3df18719d52a3a21ac88709d9d5a70e5f9be796' (jsherril@redhat.com) * Fri Apr 12 2013 Justin Sherrill 1.4.1-1 - version bump to 1.4 (jsherril@redhat.com) * Fri Apr 12 2013 Justin Sherrill 1.3.3-1 - remove old changelog entries (msuchy@redhat.com) * Tue Dec 18 2012 Miroslav Suchý 1.3.2-1 - rebuild * Thu Dec 06 2012 Eric D Helms 1.3.1-1 - Bumping package versions for 1.3. (ehelms@redhat.com) * Thu Dec 06 2012 Eric D Helms 1.2.2-1 - Do not skip our repo (msuchy@redhat.com) * Mon Oct 15 2012 Lukas Zapletal 1.2.1-1 - Bumping package versions for 1.1. * Mon Aug 20 2012 Miroslav Suchý 1.1.2-1 - replace SUBDIR also in katello-foreman.repo (msuchy@redhat.com) - add katello-foreman.repo (msuchy@redhat.com) * Fri Aug 03 2012 Miroslav Suchý 1.1.1-1 - use Katello gpg key (msuchy@redhat.com) - fedora-pulp.repo is not used any more (msuchy@redhat.com) - Bumping package versions for 1.1. (msuchy@redhat.com) * Tue Jul 31 2012 Miroslav Suchý 1.0.1-1 - bump up version to 1.0 (msuchy@redhat.com) * Mon Jul 30 2012 Miroslav Suchý 0.2.10-1 - fix typo caused by copy'n'paste' (msuchy@redhat.com) * Sun Jul 29 2012 Miroslav Suchý 0.2.9-1 - fixing urls so they don't throw a 404 (adprice@redhat.com) - point Source0 to fedorahosted.org where tar.gz are stored (msuchy@redhat.com) * Fri Jul 27 2012 Miroslav Suchý 0.2.8-1 - fix typo in repo files (msuchy@redhat.com) * Thu Jul 26 2012 Miroslav Suchý 0.2.7-1 - refactor katello-repos (msuchy@redhat.com) * Tue Jul 17 2012 Lukas Zapletal 0.2.6-1 - temporarily disabling pulp testing repo - %%defattr is not needed since rpm 4.4 * Mon Jul 16 2012 Lukas Zapletal 0.2.5-1 - correcting pulp testing URL in the repofile * Thu May 10 2012 Lukas Zapletal 0.2.4-1 - putting releasever instead of 6Server * Thu May 10 2012 Lukas Zapletal 0.2.3-1 - repos - testing rpm now has katello testing repo file - repos - fixing name of katello repos * Fri Apr 27 2012 Lukas Zapletal 0.2.2-1 - correcting pulp testing repofile url