[libstoragemgmt] Move command line python files to python package

tasleson tasleson at fedoraproject.org
Thu Dec 4 21:52:59 UTC 2014


commit ded0b223cc3c3f2b1fc71a2b199c34044c8f290f
Author: Tony Asleson <tasleson at redhat.com>
Date:   Wed Oct 8 09:56:33 2014 -0500

    Move command line python files to python package
    
    We cannot have files that have a py extension in packages that are
    not in noarch rpm.  This is to prevent a user from installing both
    32bit and 64bit packages on the same system from having signature
    conflicts for the compiled python files (pyc).
    
    Signed-off-by: Tony Asleson <tasleson at redhat.com>

 libstoragemgmt.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libstoragemgmt.spec b/libstoragemgmt.spec
index c648711..e60e089 100644
--- a/libstoragemgmt.spec
+++ b/libstoragemgmt.spec
@@ -208,9 +208,6 @@ getent passwd libstoragemgmt >/dev/null || \
 %{_bindir}/lsmcli
 %{_bindir}/lsmd
 %{_bindir}/simc_lsmplugin
-%{python_sitelib}/lsm/lsmcli/__init__.*
-%{python_sitelib}/lsm/lsmcli/data_display.*
-%{python_sitelib}/lsm/lsmcli/cmdline.*
 
 %{_unitdir}/*
 
@@ -241,6 +238,9 @@ getent passwd libstoragemgmt >/dev/null || \
 %{python_sitelib}/lsm/plugin/sim/__init__.*
 %{python_sitelib}/lsm/plugin/sim/simulator.*
 %{python_sitelib}/lsm/plugin/sim/simarray.*
+%{python_sitelib}/lsm/lsmcli/__init__.*
+%{python_sitelib}/lsm/lsmcli/data_display.*
+%{python_sitelib}/lsm/lsmcli/cmdline.*
 %{_bindir}/sim_lsmplugin
 
 %files smis-plugin


More information about the scm-commits mailing list