spec: allow debug also for upgrade when %beta == 1
Version: 9.2.4-6
This commit is contained in:
parent
9d28c85075
commit
cb07b6b8cc
@ -29,7 +29,7 @@
|
|||||||
# The base package, the libs package, the devel package, and the server package
|
# The base package, the libs package, the devel package, and the server package
|
||||||
# always get built.
|
# always get built.
|
||||||
|
|
||||||
%global beta 0
|
%{!?beta:%global beta 0}
|
||||||
%{?beta:%global __os_install_post /usr/lib/rpm/brp-compress}
|
%{?beta:%global __os_install_post /usr/lib/rpm/brp-compress}
|
||||||
|
|
||||||
%{!?test:%global test 1}
|
%{!?test:%global test 1}
|
||||||
@ -577,6 +577,10 @@ rm -f src/tutorial/GNUmakefile
|
|||||||
./configure --build=%{_build} --host=%{_host} \
|
./configure --build=%{_build} --host=%{_host} \
|
||||||
--prefix=%{_libdir}/pgsql/postgresql-%{prevmajorversion} \
|
--prefix=%{_libdir}/pgsql/postgresql-%{prevmajorversion} \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
|
%if %beta
|
||||||
|
--enable-debug \
|
||||||
|
--enable-cassert \
|
||||||
|
%endif
|
||||||
--with-system-tzdata=/usr/share/zoneinfo
|
--with-system-tzdata=/usr/share/zoneinfo
|
||||||
|
|
||||||
make %{?_smp_mflags} all
|
make %{?_smp_mflags} all
|
||||||
|
Loading…
Reference in New Issue
Block a user