Revert "Fix %patch macro usage in RPM spec." master
authorBo Peng <pengbo@sraoss.co.jp>
Fri, 21 Nov 2025 05:10:37 +0000 (14:10 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Fri, 21 Nov 2025 05:10:37 +0000 (14:10 +0900)
This reverts commit d8ddc3f47b59e98242043f28743398b44481edbb.

The change from `%patchN` to `%patch N` breaks builds on
Rocky Linux 8 / RHEL 8 where this newer %patch syntax is not supported.

src/pgpool.spec

index 947727dfdf8dbe5ef99bf8b40d29aaa318a36315..c93eb37a36b814ce710d69a3c50c8cd79b3cfd82 100644 (file)
@@ -105,11 +105,11 @@ PostgreSQL extensions libraries and sql files for pgpool-II.
 %prep
 %setup -q -n %{archive_name}
 %if %{pgsql_ver} >=94 && %{rhel} >= 7
-%patch 1 -p0
-%patch 2 -p0
+%patch1 -p0
+%patch2 -p0
 %endif
-%patch 3 -p0
-%patch 4 -p0
+%patch3 -p0
+%patch4 -p0
 
 %build
 %configure --with-pgsql=%{pghome} \