Disable freeipa, frr and strongswan in main fedora repos.

This commit is contained in:
Zoran Peričić
2022-12-09 15:31:46 +01:00
parent c35d1d91d0
commit 3205795a29

View File

@@ -28,6 +28,11 @@ install -pm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%post
dnf config-manager --save --setopt='*.excludepkgs="freeipa* frr* strongswan*"' fedora*
dnf config-manager --save --setopt='*.excludepkgs="freeipa* frr* strongswan*"' updates*
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_sysconfdir}/yum.repos.d/* %{_sysconfdir}/yum.repos.d/*