Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
subscription-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
staging
patch
subscription-manager
Compare revisions
37827ce544bb29d2aaf789c7d1aba1a6be4eca88 to 6252a7294af96ca6b94a20a3db7ea7d71b60aff3
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
staging/patch/subscription-manager
Select target project
No results found
6252a7294af96ca6b94a20a3db7ea7d71b60aff3
Select Git revision
Branches
r10
r10-beta
r10s
r8
r8-beta
r8s
r9
r9-beta
r9s
Swap
Target
staging/patch/subscription-manager
Select target project
staging/patch/subscription-manager
1 result
37827ce544bb29d2aaf789c7d1aba1a6be4eca88
Select Git revision
Branches
r10
r10-beta
r10s
r8
r8-beta
r8s
r9
r9-beta
r9s
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
change patch number
· d35236ff
Louis Abel
authored
1 year ago
Verified
d35236ff
stop gimping subman
· 6252a729
Louis Abel
authored
1 year ago
Verified
6252a729
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ROCKY/CFG/subscription-manager.cfg
+3
-86
3 additions, 86 deletions
ROCKY/CFG/subscription-manager.cfg
with
3 additions
and
86 deletions
ROCKY/CFG/subscription-manager.cfg
View file @
6252a729
...
...
@@ -7,24 +7,6 @@ add {
}
spec_change
{
# srpmproc does weird stuff
# file {
# name: "ROCKY-use-rocky-syspurposes.patch"
# type: Patch
# add: true
# add_to_prep: true
# n_path: 1
# }
# file {
# name: "0001-subscription-manager-rocky-remove-redhat-refs.patch"
# type: Patch
# add: true
# add_to_prep: true
# n_path: 1
# }
append
{
field:
"Release"
value:
".rocky.0.1"
...
...
@@ -42,79 +24,14 @@ spec_change {
search_and_replace
{
any:
true
find:
"Source0:
%{name}-%{version}.tar.gz"
replace:
"Source0:
%{name}-%{version}.tar.gz\nPatch
1
:
ROCKY-use-rocky-syspurposes.patch\nPatch
2
:
0001-subscription-manager-rocky-remove-redhat-refs.patch"
replace:
"Source0:
%{name}-%{version}.tar.gz\nPatch
9998
:
ROCKY-use-rocky-syspurposes.patch\nPatch
9999
:
0001-subscription-manager-rocky-remove-redhat-refs.patch"
n:
1
}
search_and_replace
{
any:
true
find:
"%setup
-q"
replace:
"%setup
-q\n%patch1
-p1\n%patch2
-p1\n"
n:
1
}
search_and_replace
{
any:
true
find:
"touch
%{buildroot}%{_sysconfdir}/yum.repos.d/redhat.repo"
replace:
"
# redhat repo not required"
n:
1
}
search_and_replace
{
any:
true
find:
"mkdir
%{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com"
replace:
"
# remove cdn.redhat.com"
n:
1
}
search_and_replace
{
any:
true
find:
"install
-m
644
%{_builddir}/%{buildsubdir}/src/content_plugins/redhat-entitlement-authority.pem
%{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt"
replace:
"
# remove redhat entitlement"
n:
1
}
search_and_replace
{
any:
true
find:
"install
-m
644
%{_builddir}/%{buildsubdir}/etc-conf/redhat-entitlement-authority.pem
%{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem"
replace:
"rm
%{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem"
#replace: "# remove redhat entitlement"
n:
1
}
search_and_replace
{
any:
true
find:
"install
-m
644
%{_builddir}/%{buildsubdir}/etc-conf/redhat-uep.pem
%{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-uep.pem"
#replace: "rm %{_builddir}/%{buildsubdir}/etc-conf/redhat-uep.pem %{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-uep.pem"
replace:
"
# remove redhat uep"
n:
1
}
search_and_replace
{
any:
true
find:
"%attr(755,root,root)
%dir
%{_sysconfdir}/docker/certs.d/cdn.redhat.com"
replace:
"
# remove cdn.redhat.com"
n:
1
}
search_and_replace
{
any:
true
find:
"%attr(644,root,root)
%{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt"
replace:
"
# remove redhat entitlement"
n:
1
}
search_and_replace
{
any:
true
find:
"%attr(644,root,root)
%{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem"
replace:
"
# remove redhat entitlement authority"
n:
1
}
search_and_replace
{
any:
true
find:
"%attr(644,root,root)
%{_sysconfdir}/rhsm/ca/redhat-uep.pem"
replace:
"
# remove redhat entitlement authority"
replace:
"%setup
-q\n%patch9998
-p1\n%patch2
-p9999\n"
n:
1
}
...
...
@@ -135,6 +52,6 @@ spec_change {
changelog
{
author_name:
"Release
Engineering"
author_email:
"releng@rockylinux.org"
message:
"Remove
Red
Hat
specific
references
and
certificates
"
message:
"Remove
Red
Hat
specific
references"
}
}
This diff is collapsed.
Click to expand it.