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

patch in wrong place

parent a7d09f90
No related branches found
No related tags found
No related merge requests found
......@@ -8,20 +8,35 @@ add {
spec_change {
file {
name: "ROCKY-use-rocky-syspurposes.patch"
type: Patch
add: true
add_to_prep: true
n_path: 1
# 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
# }
search_and_replace {
any: true
find: "Source0: %{name}-%{version}.tar.gz"
replace: "Source0: %{name}-%{version}.tar.gz\nPatch1: ROCKY-use-rocky-syspurposes.patch\nPatch2: 0001-subscription-manager-rocky-remove-redhat-refs.patch"
n: 1
}
file {
name: "0001-subscription-manager-rocky-remove-redhat-refs.patch"
type: Patch
add: true
add_to_prep: true
n_path: 1
search_and_replace {
any: true
find: "%setup -q"
replace: "%setup -q\n%patch1 -p1\n%patch2 -p1\n"
n: 1
}
search_and_replace {
......
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