43 lines
1.1 KiB
RPMSpec
43 lines
1.1 KiB
RPMSpec
Summary: Infomaas Fedora extras release
|
|
Name: ims-fedora-extras-release
|
|
Version: 41
|
|
Release: 1%{?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
|
|
|
|
Requires: dnf
|
|
|
|
%description
|
|
Infomaas Fedora extras repository
|
|
|
|
|
|
%install
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
|
|
|
|
install -pm 644 %{SOURCE0} $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
|
|
install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
|
|
install -pm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
|
|
|
|
%clean
|
|
%{__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
|
|
%defattr(-,root,root,-)
|
|
%{_sysconfdir}/yum.repos.d/*
|
|
|
|
%changelog
|
|
* Wed Mar 23 2022 Zoran Pericic <zoran.pericic@netst.org>
|
|
Initial release
|