From 6016e85067c401a415e80fe29c9dd0f33aafac28ebbba5745d12974c1328de1e Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Fri, 19 Mar 2010 15:43:05 +0000 Subject: [PATCH] specfile cleanup OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=19 --- freeradius-server.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/freeradius-server.spec b/freeradius-server.spec index fd93438..b275a11 100644 --- a/freeradius-server.spec +++ b/freeradius-server.spec @@ -137,7 +137,7 @@ Authors: %package utils License: GPLv2 ; LGPLv2.1 -Group: Productivity/Networking/Radius/Servers +Group: Productivity/Networking/Radius/Clients Summary: FreeRADIUS Clients Requires: %{name}-libs = %{version} @@ -246,7 +246,8 @@ export CFLAGS="$CFLAGS -fPIC -DPIC" %endif export LDFLAGS="-pie" %configure \ - --disable-static --with-pic\ + --disable-static \ + --with-pic \ --libdir=%{_libdir}/freeradius \ --disable-ltdl-install \ --enable-strict-dependencies \ @@ -331,7 +332,7 @@ chgrp radiusd /etc/raddb/certs/* %postun %restart_on_update freeradius -%insserv_cleanup +%{insserv_cleanup} %clean rm -rf $RPM_BUILD_ROOT @@ -383,7 +384,7 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/raddb/sql/ndb/README %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sql/*/*.conf %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sql/*/*.sql -%{_sysconfdir}/raddb/sql/*/*.txt +%{_sysconfdir}/raddb/sql/oracle/msqlippool.txt %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/users %attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/experimental.conf %dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/certs @@ -404,7 +405,6 @@ rm -rf $RPM_BUILD_ROOT %attr(700,radiusd,radiusd) %dir %{_localstatedir}/run/radiusd/ # binaries %defattr(-,root,root) -# %{_sbindir}/check-radiusd-config %{_sbindir}/checkrad %{_sbindir}/radiusd %{_sbindir}/radmin @@ -432,13 +432,14 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/* %files libs +%defattr(-,root,root) # RADIUS shared libs %attr(755,root,root) %dir %{_libdir}/freeradius %attr(755,root,root) %{_libdir}/freeradius/lib*.so* %if %{_oracle_support} == 1 %files oracle -%defattr(-,root,root) +%defattr(-,radiusd,radiusd) %attr(755,root,root) %dir %{_libdir}/freeradius %attr(755,root,root) %{_libdir}/freeradius/rlm_sql_oracle*.so* %endif