]> git.pld-linux.org Git - packages/bircd.git/blobdiff - bircd.spec
- {group,user}{add,del} do not belong to this package - don't use this
[packages/bircd.git] / bircd.spec
index 570f3ed79c7c2cb9fa5e23c4114732d519e57ccd..72bf739f04b84b3a017ad0c70bf8931c3b2225fa 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Internet Relay Chat Server
 Summary(pl):   Serwer IRC (Internet Relay Chat)
 Name:          bircd
 Version:       2.0.3rc6
-Release:       0.1
+Release:       1
 License:       GPL
 Group:         Daemons
 Source0:       http://www.onthanet.nl/~borg/download/%{name}%{version}.tgz
@@ -23,11 +23,11 @@ Requires(post):     fileutils
 Requires(post,preun):  /sbin/chkconfig
 Requires(postun):      /usr/sbin/userdel
 Requires(postun):      /usr/sbin/groupdel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     ircd
 Obsoletes:     ircd6
 Obsoletes:     ircd-hybrid
 Obsoletes:     ircd-ptlink
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/ircd
 %define                _localstatedir  /var/lib/ircd
@@ -36,7 +36,6 @@ Obsoletes:    ircd-ptlink
 bIRCd is a small, simple and very fast IRC server. It is easy to
 configure and use. It also has support for IPv6.
 
-
 %description -l pl
 bIRCd jest ma³ym, prostym i bardzo szybkim serwerem IRC. Jest bardzo
 prosty w konfiguracji i u¿ytkowaniu. Posiada równie¿ wsparcie dla
@@ -88,7 +87,7 @@ if [ -n "`getgid ircd`" ]; then
                exit 1
        fi
 else
-       %{_sbindir}/groupadd -f -g 75 ircd 2> /dev/null
+       /usr/sbin/groupadd -f -g 75 ircd 2> /dev/null
 fi
 if [ -n "`id -u ircd 2>/dev/null`" ]; then
        if [ "`id -u ircd`" != "75" ]; then
@@ -96,7 +95,7 @@ if [ -n "`id -u ircd 2>/dev/null`" ]; then
                exit 1
        fi
 else
-       %{_sbindir}/useradd -g ircd -d /etc/ircd -u 75 -s /bin/true -c "IRC Service account" ircd 2> /dev/null
+       /usr/sbin/useradd -g ircd -d /etc/ircd -u 75 -s /bin/true -c "IRC Service account" ircd 2> /dev/null
 fi
 
 %post
@@ -122,8 +121,8 @@ fi
 %postun
 # If package is being erased for the last time.
 if [ "$1" = "0" ]; then
-       %{_sbindir}/userdel ircd 2> /dev/null
-       %{_sbindir}/groupdel ircd 2> /dev/null
+       /usr/sbin/userdel ircd 2> /dev/null
+       /usr/sbin/groupdel ircd 2> /dev/null
 fi
 
 %files
This page took 0.067081 seconds and 4 git commands to generate.