Skip to content

Commit 42a5bcd

Browse files
committed
Fix pg_ivm.spec take2
1 parent 575e8ff commit 42a5bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rpm/pg_ivm.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ are computed and applied on views rather than recomputing.
2929
%setup -q -n %{sname}-%{version}
3030

3131
%build
32-
PG_CONFIG=%{pginstdir}/bin/pg_config %{__make} %{?_smp_mflags}
32+
PATH=%{pginstdir}/bin:$PATH %{__make} %{?_smp_mflags}
3333

3434
%install
3535
%{__rm} -rf %{buildroot}
36-
PG_CONFIG=%{pginstdir}/bin/pg_config %{__make} %{?_smp_mflags} INSTALL_PREFIX=%{buildroot} DESTDIR=%{buildroot} install
36+
PATH=%{pginstdir}/bin:$PATH %{__make} %{?_smp_mflags} INSTALL_PREFIX=%{buildroot} DESTDIR=%{buildroot} install
3737

3838
# Install documentation with a better name:
3939
%{__mkdir} -p %{buildroot}%{pginstdir}/doc/extension

0 commit comments

Comments
 (0)