From 14d34333ddbba64725fcfd8e042ee847585acef6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 8 Mar 2009 20:29:14 +0000 Subject: [PATCH] Enable tracing via systemtap --- postgresql.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/postgresql.spec b/postgresql.spec index 6f2c2a3..061c123 100755 --- a/postgresql.spec +++ b/postgresql.spec @@ -73,6 +73,7 @@ %{!?uuid:%define uuid 1} %{!?xml:%define xml 1} %{!?pam:%define pam 1} +%{!?sdt:%define sdt 1} %{!?pgfts:%define pgfts 1} %{!?runselftest:%define runselftest 1} @@ -83,7 +84,7 @@ Summary: PostgreSQL client programs and libraries Name: postgresql Version: 8.3.6 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD Group: Applications/Databases Url: http://www.postgresql.org/ @@ -157,6 +158,10 @@ BuildRequires: libxml2-devel libxslt-devel BuildRequires: pam-devel %endif +%if %sdt +BuildRequires: systemtap-sdt-devel +%endif + # main package requires -libs subpackage Requires: postgresql-libs = %{version}-%{release} @@ -440,6 +445,9 @@ LDFLAGS="-Wl,--as-needed"; export LDFLAGS %if %nls --enable-nls \ %endif +%if %sdt + --enable-dtrace \ +%endif %if %pgfts --enable-thread-safety \ %endif @@ -863,6 +871,10 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Sun Mar 8 2009 Tom Lane 8.3.6-3 +- Enable tracing via systemtap +Resolves: #488941 + * Thu Feb 26 2009 Fedora Release Engineering - 8.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild