Minor rpm changes to make RedHat happy.
This commit is contained in:
parent
52fa3e3869
commit
482bbc7396
2 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
# bird.init Starts the Internet Routing Daemon.
|
# bird Starts the Internet Routing Daemon.
|
||||||
#
|
#
|
||||||
# Author: Ondrej Feela Filip, <feela@network.cz>
|
# Author: Ondrej Feela Filip, <feela@network.cz>
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Summary: BIRD Internet Routing Daemon
|
Summary: BIRD Internet Routing Daemon
|
||||||
Name: bird
|
Name: bird
|
||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Release: 1
|
Release: 2
|
||||||
Copyright: GPL
|
Copyright: GPL
|
||||||
Group: Networking/Daemons
|
Group: Networking/Daemons
|
||||||
Source: ftp://bird.network.cz/pub/bird/bird-%{version}.tar.gz
|
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
|
cd $RPM_BUILD_ROOT
|
||||||
install -c -d etc/rc.d/init.d
|
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
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
/sbin/chkconfig --add bird.init
|
/sbin/chkconfig --add bird
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ] ; then
|
if [ $1 = 0 ] ; then
|
||||||
/sbin/chkconfig --del bird.init
|
/sbin/chkconfig --del bird
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%attr(755,root,root) /usr/sbin/bird
|
%attr(755,root,root) /usr/sbin/bird
|
||||||
%attr(755,root,root) /usr/sbin/birdc
|
%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
|
%config /etc/bird.conf
|
||||||
|
|
Loading…
Reference in a new issue