-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport 24-main/osg-release changes to 23-main (SOFTWARE-5986)
Namely: - Use osg-htc.org instead of opensciencegrid.org - Use "distrepo" repos for minefield - Drop osg-next repo files also delete unused GPG key files git-svn-id: https://vdt.cs.wisc.edu/svn/native/redhat/branches/23-main@28038 4e558342-562e-0410-864c-e07659590f8c
- Loading branch information
1 parent
e4e0dfb
commit 3ddc252
Showing
10 changed files
with
57 additions
and
146 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
%define series 23 | ||
|
||
Name: osg-release | ||
Version: 23 | ||
Release: 5%{?dist} | ||
Version: %{series} | ||
Release: 6%{?dist} | ||
Summary: OSG Software for Enterprise Linux repository configuration | ||
|
||
License: GPL | ||
URL: https://repo.opensciencegrid.org/ | ||
URL: https://repo.osg-htc.org/ | ||
|
||
# This is a OSG Software maintained package which is specific to | ||
# our distribution. Thus the source is only available from | ||
|
@@ -15,20 +17,19 @@ Source0: generate-repo-files.sh | |
Source1: repoinfo.txt | ||
Source2: template.repo.standard | ||
Source3: template.repo.basic | ||
Source4: template.repo.koji | ||
Source4: template.repo.kojira | ||
Source5: template.repo.direct | ||
Source6: template.repo.contrib | ||
Source7: template.repo.distrepo | ||
|
||
Source41: RPM-GPG-KEY-OSG-23-auto | ||
Source42: RPM-GPG-KEY-OSG-23-developer | ||
Source41: RPM-GPG-KEY-OSG-%{series}-auto | ||
Source42: RPM-GPG-KEY-OSG-%{series}-developer | ||
|
||
|
||
BuildArch: noarch | ||
|
||
Requires: redhat-release >= %{rhel} | ||
|
||
Obsoletes: vdt-release | ||
|
||
%description | ||
This package contains the OSG Software for Enterprise Linux repository | ||
configuration for yum. | ||
|
@@ -43,27 +44,30 @@ exit 0 | |
|
||
%install | ||
|
||
#GPG Key | ||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg | ||
install -pm 644 %{SOURCE41} \ | ||
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-OSG-23-auto | ||
install -pm 644 %{SOURCE42} \ | ||
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-OSG-23-developer | ||
# GPG Key | ||
install -D -pm 644 %{SOURCE41} \ | ||
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-OSG-%{series}-auto | ||
install -D -pm 644 %{SOURCE42} \ | ||
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-OSG-%{series}-developer | ||
|
||
# yum | ||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d | ||
|
||
install -m 644 *.repo $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d | ||
sed -i -e 's/gpgcheck=1/gpgcheck=0/' $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/*-minefield.repo | ||
|
||
%files | ||
%defattr(-,root,root,-) | ||
%config(noreplace) /etc/yum.repos.d/* | ||
/etc/pki/rpm-gpg/RPM-GPG-KEY-OSG-23-auto | ||
/etc/pki/rpm-gpg/RPM-GPG-KEY-OSG-23-developer | ||
/etc/pki/rpm-gpg/RPM-GPG-KEY-OSG-%{series}-auto | ||
/etc/pki/rpm-gpg/RPM-GPG-KEY-OSG-%{series}-developer | ||
|
||
|
||
%changelog | ||
* Tue Sep 24 2024 Mátyás Selmeci <[email protected]> - 23-6 | ||
- Use osg-htc.org (SOFTWARE-5986) | ||
- Use "distrepo" repos for minefield (SOFTWARE-5986) | ||
- Drop osg-next repo files (SOFTWARE-5986) | ||
|
||
* Wed Oct 18 2023 Mátyás Selmeci <[email protected]> - 23-5 | ||
- Use 'auto' key for prerelease repo | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[{YUMREPO}] | ||
name=OSG Software for Enterprise Linux {EL} {TITLE} $basearch | ||
baseurl=https://koji.osg-htc.org/mnt/koji/repos-dist/osg-{SERIES}-el{EL}-{REPO}/latest/$basearch/ | ||
priority=98 | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/{GPGKEY} | ||
|
||
[{YUMREPO}-source] | ||
name=OSG Software for Enterprise Linux {EL} {TITLE} $basearch - Source | ||
baseurl=https://koji.osg-htc.org/mnt/koji/repos-dist/osg-{SERIES}-el{EL}-{REPO}/latest/src/ | ||
priority=98 | ||
enabled=0 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/{GPGKEY} | ||
|
2 changes: 1 addition & 1 deletion
2
osg-release/osg/template.repo.koji → osg-release/osg/template.repo.kojira
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters