%global base_version 1.3 %global patch_version 6 %global engine_version 1.3.4 Name: rhproxy Version: 1.3.5 Release: 1.20241105183812347352.main.9.gfff8878%{?dist} Summary: Insights proxy Service v%{version} License: GPLv3 URL: https://github.com/RedHatInsights/rhproxy Source0: rhproxy-1.3.5.tar.gz BuildArch: noarch Requires: bash Requires: podman >= 4.9.4 %description This RPM installs the Insights proxy Service on the System. The rhproxy service controller installs and manages the Insights proxy via a systemd quadlet service. %prep %autosetup -n rhproxy-1.3.5 %install mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_datadir}/%{name}/bin cp bin/%{name} %{buildroot}/%{_bindir}/%{name} cp bin/rhproxy-configure %{buildroot}/%{_datadir}/%{name}/bin/rhproxy-configure mkdir -p %{buildroot}/%{_datadir}/%{name}/config cp config/*.container %{buildroot}/%{_datadir}/%{name}/config/ mkdir -p %{buildroot}/%{_datadir}/%{name}/env cp env/*.env %{buildroot}/%{_datadir}/%{name}/env/ cp env/*.servers %{buildroot}/%{_datadir}/%{name}/env/ mkdir -p %{buildroot}/%{_datadir}/%{name}/download/bin cp download/bin/*.template %{buildroot}/%{_datadir}/%{name}/download/bin/ # Let's make sure we pick the major.minor released version of the engine sed -i 's/{{RHPROXY_ENGINE_RELEASE_TAG}}/%{engine_version}/' %{buildroot}/%{_datadir}/%{name}/config/rhproxy.container %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_datadir}/%{name}/bin/rhproxy-configure %{_datadir}/%{name}/config/rhproxy.container %{_datadir}/%{name}/env/rhproxy.env %{_datadir}/%{name}/env/redhat.servers %{_datadir}/%{name}/env/epel.servers %{_datadir}/%{name}/env/mirror.servers %{_datadir}/%{name}/download/bin/configure-client.sh.template %changelog * Tue Nov 05 2024 Packit - 1.3.5-1.20241105183812347352.main.9.gfff8878 - Bumping to 1.3.6 - Using 1.3.4 rhproxy engine which includes cleanup - Default DNS Server to 1.1.1.1 to be consistent with the rhproxy engine - Dynamically fetch EPEL versions and architectures - Used the mirrorlist endpoint to Fetch EPEL mirrors (similar to metalink) - Fetch servers from all Geo locations (Alberto Bellotti) - Updated github checkout action to use the latest (and related node16). (Alberto Bellotti) - Preferring to dynamically getting the list of epel versions and architectures, followed by only querying the advertised repos. (Alberto Bellotti) - Updated the EPEL script and list of servers to include mirrors from all geo locations. (Alberto Bellotti) - Be consistent with the rhproxy-engine container and default the DNS server to 1.1.1.1 if not specified. (Alberto Bellotti) - - preferring to use lxml - Include EPEL-5 and later. - include RPEL versions and architectures queried in the output (Alberto Bellotti) - Enhanced EPEL Servers list - Using metalink endpoint used by dnf - Requesting EPEL servers based on EPEL versions and architectures (Alberto Bellotti) * Tue Nov 05 2024 Alberto Bellotti - 1.3.6 - Using 1.3.4 rhproxy engine which includes cleanup of the source - Default DNS Server to 1.1.1.1 to be consistent with the rhproxy engine - Dynamically fetch EPEL versions and architectures - Used the mirrorlist endpoint to Fetch EPEL mirrors (similar to metalink) - Fetch servers from all Geo locations * Fri Nov 01 2024 Alberto Bellotti - 1.3.5 - Using 1.3.3 rhproxy engine which is built with included sources - Enabling user lingering upon rhproxy install - Disabling user lingering upon rhproxy uninstall - Require the specific x.y.z patched versions of the rhproxy engine * Thu Oct 24 2024 Alberto Bellotti - 1.3.4 - Adding podman requirement to the RPM spec * Fri Oct 18 2024 Alberto Bellotti - 1.3.3 - Adding support for EPEL server via epel.servers - Adding support for optional mirror servers via mirror.servers * Thu Oct 17 2024 Alberto Bellotti - 1.3.2 - Now using URL based Source in the RPM spec * Wed Sep 18 2024 Alberto Bellotti - 1.3.1 - Sharing rhproxy env directory with the rhproxy-engine - No longer the need to create an env variable for the list of servers - Now supporting redhat.servers and mirror.servers * Tue Sep 17 2024 Alberto Bellotti - 1.3.0 - Moving to major.minor.patch version of the RPM. - Moving to major.minor released versions of the container engine. * Wed Aug 21 2024 Alberto Bellotti - 1.3 - Renaming to rhproxy * Tue Jul 02 2024 Alberto Bellotti - 1.2 - Additional enhancements * Fri Jun 28 2024 Alberto Bellotti - 1.1 - Initial prototype