]> git.pld-linux.org Git - packages/freeradius.git/blobdiff - freeradius.spec
- release 2: require DynaLoader in version available at build time
[packages/freeradius.git] / freeradius.spec
index d470fbba9f5ce7f599ad62f7dea4f7fc3aabf41f..bdc585fa0c5ac20544dab80746657ba1bb811604 100644 (file)
@@ -2,13 +2,12 @@
 %include       /usr/lib/rpm/macros.perl
 # FIXME: won't be good to include these contrib examples?
 # Source1:     http://www.ping.de/~fdc/radius/radacct-replay
-# Source2:     http://www.ping.de/~fdc/radius/radlast-0.03
 # Source3:     ftp://ftp.freeradius.org/pub/radius/contrib/radwho.cgi
 Summary:       High-performance and highly configurable RADIUS server
 Summary(pl):   Szybki i wysoce konfigurowalny serwer RADIUS
 Name:          freeradius
 Version:       1.0.1
-Release:       0.2
+Release:       2
 License:       GPL
 Group:         Networking/Daemons
 Source0:       ftp://ftp.freeradius.org/pub/radius/%{name}-%{version}.tar.gz
@@ -47,6 +46,7 @@ BuildRequires:        rpm-pythonprov
 PreReq:                rc-scripts
 Requires(post,preun):  /sbin/chkconfig
 Requires:      libtool
+Requires:      perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     cistron-radius
 
@@ -204,8 +204,9 @@ fi
 %dir %{_sysconfdir}/raddb
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/raddb/*
 
-%dir %{_var}/log/%{name}
-%dir %{_var}/log/%{name}/radacct
+%attr(771,root,radius) %dir %{_var}/log/%{name}
+%attr(771,root,radius) %dir %{_var}/log/%{name}/radacct
+%attr(775,root,radius) %dir /var/run/%{name}
 
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/*
This page took 0.077907 seconds and 4 git commands to generate.