change exec-prefix to /

This commit is contained in:
Tomas Heinrich 2009-12-17 15:43:08 +00:00
parent b3e314acfd
commit 43287a05fb

View File

@ -1,9 +1,9 @@
%define sbindir /sbin %define _exec_prefix /
Summary: Enhanced system logging and kernel message trapping daemons Summary: Enhanced system logging and kernel message trapping daemons
Name: rsyslog Name: rsyslog
Version: 4.4.2 Version: 4.4.2
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv3+ License: GPLv3+
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://www.rsyslog.com/ URL: http://www.rsyslog.com/
@ -93,8 +93,7 @@ libtoolize && aclocal && autoconf && automake
%build %build
export CFLAGS="$RPM_OPT_FLAGS -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\"" export CFLAGS="$RPM_OPT_FLAGS -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
%configure --sbindir=%{sbindir} \ %configure --disable-static \
--disable-static \
--disable-testbench \ --disable-testbench \
--enable-mysql \ --enable-mysql \
--enable-pgsql \ --enable-pgsql \
@ -169,7 +168,7 @@ fi
%config(noreplace) %{_sysconfdir}/sysconfig/rsyslog %config(noreplace) %{_sysconfdir}/sysconfig/rsyslog
%config(noreplace) %{_sysconfdir}/logrotate.d/syslog %config(noreplace) %{_sysconfdir}/logrotate.d/syslog
%{_initrddir}/rsyslog %{_initrddir}/rsyslog
%{sbindir}/rsyslogd %{_sbindir}/rsyslogd
%{_mandir}/*/* %{_mandir}/*/*
%files mysql %files mysql
@ -198,6 +197,9 @@ fi
%{_libdir}/rsyslog/lmnsd_gtls.so %{_libdir}/rsyslog/lmnsd_gtls.so
%changelog %changelog
* Thu Dec 17 2009 Tomas Heinrich <theinric@redhat.com> 4.4.2-3
- change exec-prefix to /
* Wed Dec 09 2009 Robert Scheck <robert@fedoraproject.org> 4.4.2-2 * Wed Dec 09 2009 Robert Scheck <robert@fedoraproject.org> 4.4.2-2
- run libtoolize to avoid errors due mismatching libtool version - run libtoolize to avoid errors due mismatching libtool version