| |
@@ -739,6 +739,8 @@
|
| |
|
| |
%prep
|
| |
%if 0%{?facebook} && %{with upstream}
|
| |
+ # For systemd-cd (https://gitlab.com/CentOS/Hyperscale/releng/systemd-releng) builds,
|
| |
+ # we want to allow certain patches to accelerate internal projects.
|
| |
|
| |
# Call autosetup but disable patch management, we'll do that with autopatch below
|
| |
%if %{defined branch}
|
| |
@@ -749,12 +751,6 @@
|
| |
%autosetup -N -n %{name}-%{version_no_tilde}
|
| |
%endif
|
| |
|
| |
- # systemd-cd build defines autopatch as true to disable autopatch so undo this
|
| |
- # https://gitlab.com/CentOS/Hyperscale/releng/systemd-releng
|
| |
- %if 0%{?autopatch}
|
| |
- %undefine autopatch
|
| |
- %endif
|
| |
-
|
| |
# Now only install only patches in the specific Meta-only range
|
| |
%autopatch -m 1001 -M 1100 -p1
|
| |
|
| |
We recently fixed systemd-cd repo with: https://gitlab.com/CentOS/Hyperscale/releng/systemd-releng/-/merge_requests/22
So this hack is no longer necessary.