diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-01-18 16:20:36 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-01-18 16:20:36 -0500 |
commit | 042fb11fa107718a831d468d16188e02f6ae3712 (patch) | |
tree | e0e8ee6701800b8f03702cb338f8efa211b18046 /ipa-server/ipa-server.spec | |
parent | aaa3cfd58ca0c62325d7637b67c6711660624f5d (diff) | |
download | freeipa-042fb11fa107718a831d468d16188e02f6ae3712.tar.gz freeipa-042fb11fa107718a831d468d16188e02f6ae3712.tar.xz freeipa-042fb11fa107718a831d468d16188e02f6ae3712.zip |
Fix issues reported by rpmlint.
- Removing shebangs (#!) from a bunch of python libraries
- Don't use a variable name in init scripts for the lock file
- Keep the init script name consistent with the binary name, so renamed
ipa-kpasswd.init to ipa_kpasswd.init
- Add status option to the init scripts
- Move most python scripts out of /usr/share/ipa and into the python
site-packages directories (ipaserver and ipaclient)
- Remove unnecessary sys.path.append("/usr/share/ipa")
- Fix the license string in the spec files
- Rename ipa-webgui to ipa_webgui everywhere
- Fix a couple of issues reported by pychecker in ipa-python
Diffstat (limited to 'ipa-server/ipa-server.spec')
-rwxr-xr-x | ipa-server/ipa-server.spec | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/ipa-server/ipa-server.spec b/ipa-server/ipa-server.spec index 98de382cf..fc8c3fd27 100755 --- a/ipa-server/ipa-server.spec +++ b/ipa-server/ipa-server.spec @@ -1,10 +1,10 @@ Name: ipa-server Version: 0.6.0 -Release: 1%{?dist} -Summary: Ipa authentication server +Release: 2%{?dist} +Summary: IPA authentication server Group: System Environment/Base -License: GPL +License: GPLv2+ URL: http://www.freeipa.org Source0: %{name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -43,8 +43,10 @@ Requires: libcap %define httpd_conf /etc/httpd/conf.d %define plugin_dir %{_libdir}/dirsrv/plugins +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + %description -Ipa is a server for identity, policy, and audit. +IPA is a server for identity, policy, and audit. %prep %setup -q @@ -70,22 +72,22 @@ rm -rf %{buildroot} %post if [ $1 = 1 ]; then - /sbin/chkconfig --add ipa-kpasswd - /sbin/chkconfig --add ipa-webgui + /sbin/chkconfig --add ipa_kpasswd + /sbin/chkconfig --add ipa_webgui fi %preun if [ $1 = 0 ]; then - /sbin/chkconfig --del ipa-kpasswd - /sbin/chkconfig --del ipa-webgui - /sbin/service ipa-kpasswd stop >/dev/null 2>&1 || : - /sbin/service ipa-webgui stop >/dev/null 2>&1 || : + /sbin/chkconfig --del ipa_kpasswd + /sbin/chkconfig --del ipa_webgui + /sbin/service ipa_kpasswd stop >/dev/null 2>&1 || : + /sbin/service ipa_webgui stop >/dev/null 2>&1 || : fi %postun if [ "$1" -ge "1" ]; then - /sbin/service ipa-kpasswd condrestart >/dev/null 2>&1 || : - /sbin/service ipa-webgui condrestart >/dev/null 2>&1 || : + /sbin/service ipa_kpasswd condrestart >/dev/null 2>&1 || : + /sbin/service ipa_webgui condrestart >/dev/null 2>&1 || : fi %files @@ -96,13 +98,16 @@ fi %{_sbindir}/ipa-replica-manage %{_sbindir}/ipa-server-certinstall %{_sbindir}/ipa_kpasswd -%{_sbindir}/ipa-webgui -%attr(755,root,root) %{_initrddir}/ipa-kpasswd -%attr(755,root,root) %{_initrddir}/ipa-webgui +%{_sbindir}/ipa_webgui +%attr(755,root,root) %{_initrddir}/ipa_kpasswd +%attr(755,root,root) %{_initrddir}/ipa_webgui %dir %{_usr}/share/ipa %{_usr}/share/ipa/* +%dir %{python_sitelib}/ipaserver +%{python_sitelib}/ipaserver/*.py* + %attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.so %attr(755,root,root) %{plugin_dir}/libipa-memberof-plugin.so %attr(755,root,root) %{plugin_dir}/libipa-dna-plugin.so @@ -111,6 +116,10 @@ fi %dir %{_localstatedir}/cache/ipa/sysrestore %changelog +* Thu Jan 17 2008 Rob Crittenden <rcritten@redhat.com> = 0.6.0-2 +- Fixed License in specfile +- Include files from /usr/lib/python*/site-packages/ipaserver + * Fri Dec 21 2007 Karl MacMillan <kmacmill@redhat.com> - 0.6.0-1 - Version bump for release |