Skip to content

Commit

Permalink
feat(release): terra-extras repo file
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Nov 28, 2024
1 parent 0bb7071 commit 7fc5127
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
26 changes: 26 additions & 0 deletions anda/terra/release/terra-extras.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[terra-extras]
name=Terra $releasever (Extras)
#baseurl=https://repos.fyralabs.com/terra$releasever-extras
metalink=https://tetsudou.fyralabs.com/metalink?repo=terra$releasever-extras&arch=$basearch
metadata_expire=6h
type=rpm
gpgcheck=1
gpgkey=https://repos.fyralabs.com/terra$releasever-extras/key.asc
repo_gpgcheck=1
enabled=1
enabled_metadata=1
countme=1
priority=150

[terra-extras-source]
name=Terra $releasever (Extras) - Source
#baseurl=https://repos.fyralabs.com/terra$releasever-extras-source
metalink=https://tetsudou.fyralabs.com/metalink?repo=terra$releasever-extras-source&arch=$basearch
metadata_expire=6h
type=rpm
gpgcheck=1
gpgkey=https://repos.fyralabs.com/terra$releasever-extras-source/key.asc
repo_gpgcheck=1
enabled=0
enabled_metadata=0
priority=150
19 changes: 18 additions & 1 deletion anda/terra/release/terra-release.spec
Original file line number Diff line number Diff line change
@@ -1,29 +1,46 @@
Name: terra-release
Version: 41
Release: 2
Release: 3
Summary: Release package for Terra

License: MIT
URL: https://terra.fyralabs.com
Source0: terra.repo
Source1: terra-extras.repo
BuildArch: noarch

Requires: system-release(%{version})

%description
Release package for Terra, containing the Terra repository configuration.

%package extras
Summary: Release package for Terra Extra
Obsoletes: terra-release-extra < 41-3
Provides: terra-release-extra = %version-%release

%description extras
Release package for Terra Extra, which is a repository with packages that might cause
conflict with Fedora.

%prep

%build

%install
install -D -p -m 0644 -t %{buildroot}%{_sysconfdir}/yum.repos.d %{SOURCE0}
install -Dpm644 -t %buildroot%_sysconfdir/yum.repos.d %SOURCE1

%files
%config(noreplace) %{_sysconfdir}/yum.repos.d/terra.repo

%files extras
%config(noreplace) %{_sysconfdir}/yum.repos.d/terra-extras.repo

%changelog
* Fri Oct 25 2024 madonuko <[email protected]> - 41-3
- Add terra-release-extra

* Thu Nov 16 2023 Lleyton Gray <[email protected]> - 41-1
- Update for Terra 41 (in this case rawhide)

Expand Down

0 comments on commit 7fc5127

Please sign in to comment.