- Use --enable-cached-man-pages configure option on SLES-11, where
rst2man is not available and removed prebuilt man pages. OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=153
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 26 10:48:34 UTC 2013 - mt@suse.de
|
||||
|
||||
- Use --enable-cached-man-pages configure option on SLES-11, where
|
||||
rst2man is not available and removed prebuilt man pages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 22 20:54:14 UTC 2013 - andreas.stieger@gmx.de
|
||||
|
||||
|
12
rsyslog.spec
12
rsyslog.spec
@@ -165,6 +165,9 @@ BuildRequires: libuuid-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1200
|
||||
BuildRequires: python-docutils
|
||||
%bcond_without rst2man
|
||||
%else
|
||||
%bcond_with rst2man
|
||||
%endif
|
||||
%if %{with systemd}
|
||||
%{?systemd_requires}
|
||||
@@ -176,8 +179,6 @@ Source1: rsyslog.sysconfig
|
||||
Source2: rsyslog.conf.in
|
||||
Source4: rsyslog.d.remote.conf.in
|
||||
Source5: rsyslog-service-prepare.in
|
||||
Source10: rscryutil.1.gz
|
||||
Source11: rsgtutil.1.gz
|
||||
# PATCH-FIX-OPENSUSE rsyslog-unit.patch crrodriguez@opensuse.org Customize upstream systemd unit for openSUSE needs.
|
||||
Patch0: rsyslog-unit.patch
|
||||
|
||||
@@ -477,10 +478,6 @@ for file in rsyslog-service-prepare; do
|
||||
done
|
||||
%endif
|
||||
dos2unix doc/*.html
|
||||
# v7.3.14 does not ship them pre-built
|
||||
for m in rscryutil.1 rsgtutil.1 ; do
|
||||
test -f tools/${m} || gunzip -c "$RPM_SOURCE_DIR/${m}.gz" > tools/${m}
|
||||
done
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../../grammar"
|
||||
@@ -490,6 +487,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -W -Wall -I../grammar -I../..
|
||||
# --enable-gui \
|
||||
%configure \
|
||||
--with-moddirs=%{rsyslog_module_dir_withdeps} \
|
||||
%if ! %{with rst2man}
|
||||
--enable-cached-man-pages \
|
||||
%endif
|
||||
--enable-option-checking \
|
||||
--enable-largefile \
|
||||
--enable-regexp \
|
||||
|
Reference in New Issue
Block a user