From 042fb11fa107718a831d468d16188e02f6ae3712 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 18 Jan 2008 16:20:36 -0500 Subject: 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 --- ipa-client/ipaclient/Makefile.am | 2 +- ipa-client/ipaclient/__init__.py | 1 - ipa-client/ipaclient/ipadiscovery.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'ipa-client/ipaclient') diff --git a/ipa-client/ipaclient/Makefile.am b/ipa-client/ipaclient/Makefile.am index 290ffef8d..1d7df5266 100644 --- a/ipa-client/ipaclient/Makefile.am +++ b/ipa-client/ipaclient/Makefile.am @@ -1,6 +1,6 @@ NULL = -appdir = $(IPA_DATA_DIR)/ipaclient +appdir = $(pythondir)/ipaclient app_PYTHON = \ __init__.py \ ipachangeconf.py \ diff --git a/ipa-client/ipaclient/__init__.py b/ipa-client/ipaclient/__init__.py index ba14d3c4c..3eabc0f37 100644 --- a/ipa-client/ipaclient/__init__.py +++ b/ipa-client/ipaclient/__init__.py @@ -1,4 +1,3 @@ -#! /usr/bin/python -E # Authors: Simo Sorce # # Copyright (C) 2007 Red Hat diff --git a/ipa-client/ipaclient/ipadiscovery.py b/ipa-client/ipaclient/ipadiscovery.py index 939d41056..c3a1fc7d6 100644 --- a/ipa-client/ipaclient/ipadiscovery.py +++ b/ipa-client/ipaclient/ipadiscovery.py @@ -1,4 +1,3 @@ -#! /usr/bin/python -E # Authors: Simo Sorce # # Copyright (C) 2007 Red Hat -- cgit