BuildRequire which

This commit is contained in:
Jose Pedro Oliveira 2005-06-22 00:30:17 +00:00
parent 7d4c2c928a
commit 1bff6a52e1
1 changed files with 10 additions and 6 deletions

View File

@ -3,7 +3,7 @@
Name: syslog-ng
Version: 1.6.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Syslog replacement daemon
Group: System Environment/Daemons
@ -16,7 +16,7 @@ Patch1: syslog-ng-1.6.7-logrotate.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libol-devel >= 0.3.16
BuildRequires: flex, tcp_wrappers
BuildRequires: flex, tcp_wrappers, which
# Requires sed v3.95 (command line option -i)
Requires: logrotate, sed >= 3.95
Requires(post): chkconfig, initscripts
@ -60,10 +60,10 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_initrddir}
install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
install -p -m 755 contrib/fedora-packaging/syslog-ng.init \
$RPM_BUILD_ROOT%{_initrddir}/syslog-ng
@ -117,6 +117,10 @@ fi
%changelog
* Wed Jun 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.8-2
- BuildRequire which, since it's not part of the default buildgroup
(Konstantin Ryabitsev).
* Fri May 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.8-1
- Update to 1.6.8.