2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-07-31 18:19:40 +00:00
Files
xcat-core/xCAT-release/xCAT-release.spec
T
Vinícius Ferrão 99d76dae6c fix: capitalize xCAT
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2026-07-17 15:09:09 -03:00

36 lines
1.1 KiB
RPMSpec

Summary: xCAT DNF repository configuration
Name: xCAT-release
Version: %{?version:%{version}}%{!?version:%(cat Version)}
Release: %{?release:%{release}}%{!?release:%(cat Release)}
License: EPL
URL: https://xcat.org/
Source0: xCAT-release-%{version}.tar.gz
BuildArch: noarch
Requires: dnf
%description
Installs the xCAT core and dependency DNF repository definitions and the public
signing key used to verify their packages and repository metadata.
%prep
%setup -q -n xCAT-release
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sysconfdir}/yum.repos.d
mkdir -p %{buildroot}%{_sysconfdir}/pki/rpm-gpg
install -m 0644 xcat-core.repo %{buildroot}%{_sysconfdir}/yum.repos.d/xcat-core.repo
install -m 0644 xcat-dep.repo %{buildroot}%{_sysconfdir}/yum.repos.d/xcat-dep.repo
install -m 0644 RPM-GPG-KEY-xCAT %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-xCAT
%files
%config(noreplace) %{_sysconfdir}/yum.repos.d/xcat-core.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/xcat-dep.repo
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-xCAT
%changelog
* Sat Jul 11 2026 xCAT Project <xcat-user@lists.sourceforge.net>
- Add the xCAT repository bootstrap package