File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,7 @@ def build_dependencies
2020 deps << "build-essential"
2121 end
2222 when "rocky+epel-9" , "redhat" , "fedora"
23- [
24- "postgresql-#{ postgres_major_version } " ,
25- "postgresql-server-devel-#{ postgres_major_version } " ,
26- "postgresql-common"
27- ]
23+ [ ]
2824 end
2925 end
3026
@@ -33,7 +29,7 @@ def dependencies
3329 when "debian" , "ubuntu"
3430 [ "postgresql-#{ postgres_major_version } " ]
3531 when "rocky+epel-9" , "redhat" , "fedora"
36- [ "postgresql- #{ postgres_major_version } " ]
32+ [ ]
3733 end
3834 end
3935
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ def summary
2525 end
2626
2727 def dependencies
28- super
28+ deps = case Pgpm ::OS . in_scope . class . name
29+ when "rocky+epel-9" , "redhat" , "fedora"
30+ [ "openssl" ]
31+ end
32+ super + deps
2933 end
3034
3135 def build_dependencies
@@ -51,8 +55,11 @@ def build_steps
5155 case Pgpm ::OS . in_scope . class . name
5256 when "debian" , "ubuntu"
5357 [ "dh_auto_build" ]
54- else
55- super
58+ when "rocky+epel-9" , "redhat" , "fedora"
59+ [
60+ "./bootstrap -DPG_CONFIG=$PG_CONFIG #{ bootstrap_flags . map { |f | "-D#{ f } " } . join ( " " ) } " ,
61+ "cmake --build build --parallel"
62+ ]
5663 end
5764 end
5865
You can’t perform that action at this time.
0 commit comments