elevate-release/SPECS/elevate-release.spec

52 lines
1.3 KiB
RPMSpec
Raw Permalink Normal View History

2023-03-14 17:01:46 +00:00
Summary: ELevate project packages from the AlmaLinux Migration SIG repository
Name: elevate-release
Version: 1.0
2023-03-14 17:16:23 +00:00
Release: 2%{?dist}
2023-03-14 17:01:46 +00:00
License: ASL 2.0
URL: https://wiki.almalinux.org/sigs/Migration
Source0: RPM-GPG-KEY-ELevate
BuildArch: noarch
Provides: elevate-release = 1
%description
yum configuration for ELevate project packages from the AlmaLinux Migration SIG.
2023-03-14 17:16:23 +00:00
2023-03-14 18:49:37 +00:00
%prep
2023-03-14 17:16:23 +00:00
cat <<EOF > ELevate.repo
# ELevate project repo for el%{rhel}
[elevate]
name=ELevate
baseurl=https://repo.almalinux.org/elevate/el%{rhel}/\$basearch/
gpgcheck=1
enabled=1
2023-03-17 11:15:44 +00:00
priority=90
2023-03-14 17:16:23 +00:00
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ELevate
## Sources
[elevate-source]
name=name=ELevate - Source
baseurl=https://repo.almalinux.org/elevate/el%{rhel}/SRPMS/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ELevate
EOF
2023-03-14 17:01:46 +00:00
%install
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-ELevate
2023-03-14 17:16:23 +00:00
install -D -m 644 ELevate.repo %{buildroot}%{_sysconfdir}/yum.repos.d/ELevate.repo
2023-03-14 17:01:46 +00:00
%files
%defattr(-,root,root)
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-ELevate
%config(noreplace) %{_sysconfdir}/yum.repos.d/ELevate.repo
%changelog
2023-03-14 17:16:23 +00:00
* Mon Mar 14 2023 Andrew Lukoshko <alukoshko@almalinux.org> - 1.0-2
- Updated RPM-GPG-KEY-ELevate to match EL9 requirements
- Added support for EL8
2023-03-14 17:01:46 +00:00
* Tue Sep 28 2021 Andrew Lukoshko <alukoshko@almalinux.org> - 1.0-1
- Initial version