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

stop gimping subman

parent d35236ff
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......@@ -49,72 +31,7 @@ spec_change {
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"
}
}
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