]> git.pld-linux.org Git - packages/boa.git/blobdiff - boa.spec
Massive attack. We use -O0 instead -O flags while debug enabled.
[packages/boa.git] / boa.spec
index afb03b1b4a8755c87e6d6fd1dec6cffc4caa7dff..4144b57ec73fba9fb99e6cb8ea5fb628e466118e 100644 (file)
--- a/boa.spec
+++ b/boa.spec
@@ -1,8 +1,8 @@
 Summary:       Boa high speed HTTP server
 Summary(pl):   Boa - szybki serwer HTTP
 Name:          boa
-Version:       0.94.8.2
-Release:       2
+Version:       0.94.8.3
+Release:       1
 License:       GPL
 Group:         Networking/Daemons
 Group(de):     Netzwerkwesen/Server
@@ -18,11 +18,13 @@ Prereq:             %{_sbindir}/groupdel
 Prereq:                %{_sbindir}/useradd
 Prereq:                %{_sbindir}/userdel
 BuildRequires: flex
+BuildRequires: sgml-tools
 Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define                _sysconfdir     /etc/httpd
 Obsoletes:     apache
 
+%define                _sysconfdir     /etc/httpd
+
 %description
 A high speed, lightweight web server (HTTP protocol). Based on direct
 use of the select(2) system call, it internally multiplexes all
@@ -42,7 +44,7 @@ systemowych.
 
 %build
 cd src
-CFLAGS="$RPM_OPT_FLAGS -DINET6"
+CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -DINET6"
 %configure
 %{__make}
 (cd ../docs; make boa.html )
@@ -65,7 +67,7 @@ install docs/boa.8 $RPM_BUILD_ROOT%{_mandir}/man8/
 
 touch $RPM_BUILD_ROOT/var/log/httpd/{access_log,agent_log,error_log,referer_log}
 
-gzip -9nf README $RPM_BUILD_ROOT%{_mandir}/man*/*
+gzip -9nf README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.065745 seconds and 4 git commands to generate.