]> git.pld-linux.org Git - packages/radvd.git/commitdiff
- release 2: Prereq: /sbin/chkconfig
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 25 Sep 2001 12:50:50 +0000 (12:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    radvd.spec -> 1.21

radvd.spec

index 35d10ace6bade00bb74c98df729048ea400d3b74..dcc5dce42ec6464a4600a8efd2db4ca8555a5609 100644 (file)
@@ -2,11 +2,13 @@ Summary:      Router Advertisement Daemon
 Summary(pl):   Demon og³aszania routerów
 Name:          radvd
 Version:       0.6.2pl4
-Release:       1
+Release:       2
 License:       GPL
 Group:         Networking
 Group(de):     Netzwerkwesen
+Group(es):     Red
 Group(pl):     Sieciowe
+Group(pt_BR):  Rede
 Source0:       http://v6web.litech.org/radvd/%{name}-%{version}.tar.gz
 Source1:       %{name}.conf
 Source2:       %{name}.init
@@ -16,6 +18,7 @@ BuildRequires:        bison
 BuildRequires: automake
 BuildRequires: autoconf
 Prereq:                rc-scripts >= 0.2.0
+Prereq:                /sbin/chkconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,9 +45,8 @@ Og
 %prep
 %setup  -q
 
-
 %build
-rm missing
+rm -f missing
 aclocal
 autoconf
 automake -a -c
@@ -63,9 +65,11 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/radvd
 
 gzip -9nf README TODO CHANGES
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 /sbin/chkconfig --add radvd
-
 if [ -f /var/lock/subsys/radvd ]; then
        /etc/rc.d/init.d/radvd restart >&2
 else
@@ -80,11 +84,6 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del radvd
 fi
 
-%postun
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc *.gz INTRO.html 
This page took 0.093694 seconds and 4 git commands to generate.