Enable tracing via systemtap

This commit is contained in:
Tom Lane 2009-03-08 20:29:14 +00:00
parent e1e05110f8
commit 14d34333dd

View File

@ -73,6 +73,7 @@
%{!?uuid:%define uuid 1} %{!?uuid:%define uuid 1}
%{!?xml:%define xml 1} %{!?xml:%define xml 1}
%{!?pam:%define pam 1} %{!?pam:%define pam 1}
%{!?sdt:%define sdt 1}
%{!?pgfts:%define pgfts 1} %{!?pgfts:%define pgfts 1}
%{!?runselftest:%define runselftest 1} %{!?runselftest:%define runselftest 1}
@ -83,7 +84,7 @@
Summary: PostgreSQL client programs and libraries Summary: PostgreSQL client programs and libraries
Name: postgresql Name: postgresql
Version: 8.3.6 Version: 8.3.6
Release: 2%{?dist} Release: 3%{?dist}
License: BSD License: BSD
Group: Applications/Databases Group: Applications/Databases
Url: http://www.postgresql.org/ Url: http://www.postgresql.org/
@ -157,6 +158,10 @@ BuildRequires: libxml2-devel libxslt-devel
BuildRequires: pam-devel BuildRequires: pam-devel
%endif %endif
%if %sdt
BuildRequires: systemtap-sdt-devel
%endif
# main package requires -libs subpackage # main package requires -libs subpackage
Requires: postgresql-libs = %{version}-%{release} Requires: postgresql-libs = %{version}-%{release}
@ -440,6 +445,9 @@ LDFLAGS="-Wl,--as-needed"; export LDFLAGS
%if %nls %if %nls
--enable-nls \ --enable-nls \
%endif %endif
%if %sdt
--enable-dtrace \
%endif
%if %pgfts %if %pgfts
--enable-thread-safety \ --enable-thread-safety \
%endif %endif
@ -863,6 +871,10 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Sun Mar 8 2009 Tom Lane <tgl@redhat.com> 8.3.6-3
- Enable tracing via systemtap
Resolves: #488941
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.6-2 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild