Skip to content
Snippets Groups Projects
Verified Commit f927c6d1 authored by Louis Abel's avatar Louis Abel :tv:
Browse files

stop gimping subman

parent 51a0b151
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ add {
spec_change {
append {
field: "Release"
value: ".rocky.0.1"
value: ".rocky.0.2"
}
disable_auto_align: true
# Hacky workaround: unfortunately default file/patch add comand sticks the patches in the middle of an ifdef SUSE block
......@@ -28,7 +28,7 @@ spec_change {
replace: "%setup -q\n%patch9998 -p1\n%patch9999 -p1\n"
n: 1
}
search_and_replace {
any: true
find: "Supplements: initial-setup-gui"
......@@ -36,73 +36,16 @@ spec_change {
n: 1
}
# Remove random red hat references
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}/etc-conf/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"
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: "rm %{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt"
n: 1
}
search_and_replace {
any: true
find: "%files -f rhsm.lang"
replace: "sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscription-manager.conf\n%files -f rhsm.lang"
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
find: "the Red Hat"
replace: "an"
n: -1
}
search_and_replace {
any: true
find: "a Enterprise Linux"
find: "a Red Hat"
replace: "a"
n: -1
}
......@@ -110,6 +53,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"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment