0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Minor rpm changes to make RedHat happy.

This commit is contained in:
Ondrej Filip 2000-09-09 19:21:01 +00:00
parent 52fa3e3869
commit 482bbc7396
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# bird.init Starts the Internet Routing Daemon.
# bird Starts the Internet Routing Daemon.
#
# Author: Ondrej Feela Filip, <feela@network.cz>
#

View File

@ -1,7 +1,7 @@
Summary: BIRD Internet Routing Daemon
Name: bird
Version: 1.0.4
Release: 1
Release: 2
Copyright: GPL
Group: Networking/Daemons
Source: ftp://bird.network.cz/pub/bird/bird-%{version}.tar.gz
@ -27,19 +27,19 @@ make install prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc localstat
cd $RPM_BUILD_ROOT
install -c -d etc/rc.d/init.d
install -c $RPM_SOURCE_DIR/bird.init etc/rc.d/init.d/
install -c $RPM_SOURCE_DIR/bird.init etc/rc.d/init.d/bird
%post
/sbin/ldconfig
/sbin/chkconfig --add bird.init
/sbin/chkconfig --add bird
%preun
if [ $1 = 0 ] ; then
/sbin/chkconfig --del bird.init
/sbin/chkconfig --del bird
fi
%files
%attr(755,root,root) /usr/sbin/bird
%attr(755,root,root) /usr/sbin/birdc
%attr(755,root,root) /etc/rc.d/init.d/bird.init
%attr(755,root,root) /etc/rc.d/init.d/bird
%config /etc/bird.conf