diff --git a/postgresql.spec b/postgresql.spec index 384216d..423de25 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -70,7 +70,7 @@ Provides: postgresql-server-noarch = %version-%release Requires: postgresql-server-implementation Recommends: %defaultpackage-server Provides: postgresql-init = %version-%release -Obsoletes: postgresql-init < %version +Obsoletes: postgresql-init < %version-%release %if %{with systemd} BuildRequires: pkgconfig(systemd) %{?systemd_requires}