diff --git a/postgresql12.spec b/postgresql12.spec index 3823cf3..846b4ab 100644 --- a/postgresql12.spec +++ b/postgresql12.spec @@ -127,10 +127,11 @@ BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) %endif -#!BuildIgnore: %pgname -#!BuildIgnore: %pgname-server #!BuildIgnore: postgresql-implementation #!BuildIgnore: postgresql-server-implementation +#!BuildIgnore: postgresql-devel-noarch +#!BuildIgnore: postgresql-llvmjit-devel-noarch +#!BuildIgnore: postgresql-server-devel-noarch Summary: Basic Clients and Utilities for PostgreSQL License: PostgreSQL Group: Productivity/Databases/Tools @@ -230,7 +231,7 @@ Conflicts: %pgname-devel %else Requires: %libecpg >= %version Requires: %libpq >= %version -Requires: postgresql-devel-noarch >= %version +Requires: postgresql-devel-noarch >= %pgmajor %endif # Installation of postgresql??-devel is exclusive Provides: postgresql-devel-exclusive = %pgmajor @@ -245,8 +246,8 @@ Provides: %pgname-server-devel = %version-%release %endif Provides: postgresql-server-devel = %version-%release Provides: postgresql-server-devel-implementation = %version-%release -Requires(post): postgresql-server-noarch >= %pgmajor -Requires(postun):postgresql-server-noarch >= %pgmajor +Requires(post): postgresql-server-devel-noarch >= %pgmajor +Requires(postun):postgresql-server-devel-noarch >= %pgmajor Requires: %pgname-devel = %version Requires: %pgname-server = %version-%release # Installation of postgresql??-devel is exclusive @@ -344,6 +345,7 @@ Provides: postgresql-llvmjit-devel = %version-%release Provides: postgresql-llvmjit-devel-implementation = %version-%release Requires: %pgname-server-devel = %version %if %{with llvm} +Requires: %pgname-llvmjit = %version Requires(post): postgresql-llvmjit-devel-noarch >= %pgmajor Requires(postun):postgresql-llvmjit-devel-noarch >= %pgmajor %requires_file %_bindir/llc @@ -902,10 +904,10 @@ fi %defattr(-,root,root) %pglibdir/llvm* %pglibdir/bitcode/* +%endif %files llvmjit-devel %doc README -%endif %files pltcl -f pltcl.lang %defattr(-,root,root)