Files
ims-fedora-extras-release/ims-fedora-extras-release.spec
T
zpericic c4e54df0ee Exclude etcd* from Fedora repos, now provided by ims-fedora-extras
Fedora retired etcd in rawhide; ims-fedora-extras ships etcd 3.7.1
repackaged from the official upstream binaries. Add etcd* to excludepkgs
in the dnf5 override and the ims-fedora/ims-fedora-updates repos so the
older Fedora build is never picked. Bump release to 44-2.
2026-09-18 13:20:28 +02:00

56 lines
1.9 KiB
RPMSpec

Summary: InfoMaOS Fedora extras release
Name: ims-fedora-extras-release
Version: 44
Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: http://gitea.netst.org/rpms-fedora-extras/ims-fedora-extras-release
BuildArch: noarch
Source0: ims-fedora-extras.repo
Source1: ims-fedora.repo
Source2: ims-fedora-updates.repo
Source3: 50-ims-fedora-extras.repo
Requires: dnf5
%description
InfoMaOS Fedora extras repository
%install
%{__rm} -rf %{buildroot}
install -dm 755 %{buildroot}%{_sysconfdir}/yum.repos.d
install -pm 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d
install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/yum.repos.d
install -pm 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/yum.repos.d
# dnf5 distribution repo override: exclude our rebuilt packages from the
# stock fedora*/updates* repos. Replaces the former dnf4 config-manager %%post.
install -dm 755 %{buildroot}%{_datadir}/dnf5/repos.override.d
install -pm 644 %{SOURCE3} %{buildroot}%{_datadir}/dnf5/repos.override.d
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_sysconfdir}/yum.repos.d/*
%{_datadir}/dnf5/repos.override.d/50-ims-fedora-extras.repo
%changelog
* Fri Sep 18 2026 Zoran Pericic <zoran.pericic@netst.org> - 44-2
- Exclude etcd* from the fedora* and updates* repos: etcd is now packaged in
ims-fedora-extras from the official upstream binaries
* Thu Sep 10 2026 Zoran Pericic <zoran.pericic@netst.org> - 44-1
- Drop %%post scriptlet: "dnf config-manager --save" is dnf4-only and fails
with exit status 2 on dnf5, making the install transaction report an error
- Ship /usr/share/dnf5/repos.override.d/50-ims-fedora-extras.repo instead,
a declarative dnf5 override excluding freeipa*/frr*/strongswan* from
fedora* and updates* repos
- Require dnf5
* Wed Mar 23 2022 Zoran Pericic <zoran.pericic@netst.org>
Initial release