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
20
20
deps << "build-essential"
21
21
end
22
22
when "rocky+epel-9" , "redhat" , "fedora"
23
- [
24
- "postgresql-#{ postgres_major_version } " ,
25
- "postgresql-server-devel-#{ postgres_major_version } " ,
26
- "postgresql-common"
27
- ]
23
+ [ ]
28
24
end
29
25
end
30
26
@@ -33,7 +29,7 @@ def dependencies
33
29
when "debian" , "ubuntu"
34
30
[ "postgresql-#{ postgres_major_version } " ]
35
31
when "rocky+epel-9" , "redhat" , "fedora"
36
- [ "postgresql- #{ postgres_major_version } " ]
32
+ [ ]
37
33
end
38
34
end
39
35
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ def summary
25
25
end
26
26
27
27
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
29
33
end
30
34
31
35
def build_dependencies
@@ -51,8 +55,11 @@ def build_steps
51
55
case Pgpm ::OS . in_scope . class . name
52
56
when "debian" , "ubuntu"
53
57
[ "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
+ ]
56
63
end
57
64
end
58
65
You can’t perform that action at this time.
0 commit comments