PostgreSQL 13, 14 and 15: sysvinit dependency is only for SLES 12
authorDevrim Gunduz <devrim@gunduz.org>
Tue, 14 Oct 2025 21:31:48 +0000 (00:31 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Tue, 14 Oct 2025 21:31:48 +0000 (00:31 +0300)
rpm/redhat/main/non-common/postgresql-13/main/postgresql-13.spec
rpm/redhat/main/non-common/postgresql-14/main/postgresql-14.spec
rpm/redhat/main/non-common/postgresql-15/main/postgresql-15.spec

index cd17fd208b602ec85f6c4efe1fb04735596c38bf..18a6022e88174157ce5df4462bef326db5951e8c 100644 (file)
@@ -248,7 +248,7 @@ BuildRequires:              systemd, systemd-devel
 # We require this to be present for %%{_prefix}/lib/tmpfiles.d
 Requires:              systemd
 %if 0%{?suse_version}
-%if 0%{?suse_version} >= 1315
+%if 0%{?suse_version} <= 1315
 Requires(post):                systemd-sysvinit
 %endif
 %else
index d059cec36511db0c67747dd18139ca0a35c40767..ea2d09b6158c7e886a0909d2fdf202899d8ed268 100644 (file)
@@ -265,7 +265,7 @@ BuildRequires:              systemd, systemd-devel
 # We require this to be present for %%{_prefix}/lib/tmpfiles.d
 Requires:              systemd
 %if 0%{?suse_version}
-%if 0%{?suse_version} >= 1315
+%if 0%{?suse_version} <= 1315
 Requires(post):                systemd-sysvinit
 %endif
 %else
index 3c1939ddc20339c5160eee37056bc14043c25a78..33acf297080d175c2a5f02abe8a34a6dea4ecb59 100644 (file)
@@ -276,7 +276,7 @@ BuildRequires:              systemd, systemd-devel
 # We require this to be present for %%{_prefix}/lib/tmpfiles.d
 Requires:              systemd
 %if 0%{?suse_version}
-%if 0%{?suse_version} >= 1315
+%if 0%{?suse_version} <= 1315
 Requires(post):                systemd-sysvinit
 %endif
 %else