summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-09-09 19:21:01 +0000
committerOndrej Filip <feela@network.cz>2000-09-09 19:21:01 +0000
commit482bbc7396268fce66e8ecb59f248bc51229cdc9 (patch)
tree19c18db083a73d998854d3605c01216f87a3a3d2
parent52fa3e386948b13b928ff9be778a7de62a00ceb3 (diff)
Minor rpm changes to make RedHat happy.
-rwxr-xr-xmisc/bird.init2
-rw-r--r--misc/bird.spec10
2 files changed, 6 insertions, 6 deletions
diff --git a/misc/bird.init b/misc/bird.init
index 2417f3f4..1cd43346 100755
--- a/misc/bird.init
+++ b/misc/bird.init
@@ -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>
#
diff --git a/misc/bird.spec b/misc/bird.spec
index e963d9a6..ea5efd96 100644
--- a/misc/bird.spec
+++ b/misc/bird.spec
@@ -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