Create terra-release (#422)

This commit is contained in:
lleyton
2023-05-06 22:56:36 -07:00
committed by GitHub
parent ae01016584
commit 92bdd83b1b
3 changed files with 44 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "terra-release.spec"
}
}
+28
View File
@@ -0,0 +1,28 @@
Name: terra-release
Version: 38
Release: 1
Summary: Release package for Terra
License: MIT
URL: https://terra.fyralabs.com
Source0: terra.repo
BuildArch: noarch
Requires: system-release(%{version})
%description
Release package for Terra, containing the Terra repository configuration.
%prep
%build
%install
install -D -p -m 0644 -t %{buildroot}%{_sysconfdir}/yum.repos.d %{SOURCE0}
%files
%config(noreplace) %{_sysconfdir}/yum.repos.d/terra.repo
%changelog
* Sat May 6 2023 Lleyton Gray <lleyton@fyralabs.com> - 38-1
- Initial package
+11
View File
@@ -0,0 +1,11 @@
[terra]
name=Terra $releasever
baseurl=https://repos.fyralabs.com/terra$releasever
metadata_expire=6h
type=rpm
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc
repo_gpgcheck=1
enabled=1
enabled_metadata=1