rel-eng/packages/spacecmd | 2 +-
spacecmd/spacecmd.spec | 46 ++++++++++++++++++++++++++++++++++++++--------
spacecmd/src/bin/spacecmd | 2 --
3 files changed, 39 insertions(+), 11 deletions(-)
New commits:
commit 19a60df3240ff36a8619503d86370c30038a8f1f
Author: Aron Parsons <aparsons(a)redhat.com>
Date: Thu Jul 22 18:06:11 2010 -0400
Automatic commit of package [spacecmd] release [0.5.2-1].
diff --git a/rel-eng/packages/spacecmd b/rel-eng/packages/spacecmd
index 2325f30..2beed93 100644
--- a/rel-eng/packages/spacecmd
+++ b/rel-eng/packages/spacecmd
@@ -1 +1 @@
-0.5.1-1 spacecmd/
+0.5.2-1 spacecmd/
diff --git a/spacecmd/spacecmd.spec b/spacecmd/spacecmd.spec
index 611739e..299dfc8 100644
--- a/spacecmd/spacecmd.spec
+++ b/spacecmd/spacecmd.spec
@@ -4,7 +4,7 @@
%endif
Name: spacecmd
-Version: 0.5.1
+Version: 0.5.2
Release: 1%{?dist}
Summary: Command-line interface to Spacewalk and Satellite servers
@@ -59,6 +59,32 @@ touch %{buildroot}/%{python_sitelib}/spacecmd/__init__.py
%doc %{_mandir}/man1/spacecmd.1.gz
%changelog
+* Thu Jul 22 2010 Aron Parsons <aparsons(a)redhat.com> 0.5.2-1
+- move python files in site-packages (aparsons(a)redhat.com)
+- fixes to spacecmd.spec per Fedora package review (aparsons(a)redhat.com)
+- fixed report_kernels not grabbing the correct value for each system (thanks
+ to James Tanner) (aparsons(a)redhat.com)
+- don't print an empty line if there are no results from package_search
+ (aparsons(a)redhat.com)
+- temporarily update the command prompt to tell the user when caches are being
+ generated (aparsons(a)redhat.com)
+- rename kickstart_getfile to kickstart_getcontents (aron(a)redhat.com)
+- remove a false statement (aron(a)redhat.com)
+- remove references to closed Bugzillas (aron(a)redhat.com)
+- remove unused binary file support from configchannel_addfile
+ (aron(a)redhat.com)
+- update kickstart_getfile to use the new
+ kickstart.profile.downloadRenderedKickstart method (aron(a)redhat.com)
+- remove reference to 584860 since it has been fixed in spacewalk
+ (aron(a)redhat.com)
+- implemented configchannel_listsystems (aron(a)redhat.com)
+- moved global variables out of shell.py and into more appropriate locations
+ (aron(a)redhat.com)
+- session_file didn't need to be global (aron(a)redhat.com)
+- make sure ~/.spacecmd/<server> exists before writing the session cache
+ (aron(a)redhat.com)
+- only store one session in the cache (aron(a)redhat.com)
+
* Mon Jul 19 2010 Aron Parsons <aparsons(a)redhat.com> 0.5.1-1
- new package built with tito
commit 160708741ba060dd5f4e46c49552e7b7e997f9d8
Author: Aron Parsons <aparsons(a)redhat.com>
Date: Thu Jul 22 18:00:35 2010 -0400
move python files in site-packages
diff --git a/spacecmd/spacecmd.spec b/spacecmd/spacecmd.spec
index 39d724a..611739e 100644
--- a/spacecmd/spacecmd.spec
+++ b/spacecmd/spacecmd.spec
@@ -1,4 +1,7 @@
-%global rhnroot %{_datadir}/rhn
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
Name: spacecmd
Version: 0.5.1
@@ -14,6 +17,8 @@ BuildArch: noarch
Requires: python
+BuildRequires: python-devel
+
%description
spacecmd is a command-line interface to Spacewalk and Satellite servers
@@ -32,14 +37,14 @@ spacecmd is a command-line interface to Spacewalk and Satellite
servers
%{__mkdir_p} %{buildroot}/%{_sysconfdir}/bash_completion.d
%{__install} -m0644 src/misc/spacecmd-bash-completion
%{buildroot}/%{_sysconfdir}/bash_completion.d/spacecmd
-%{__mkdir_p} %{buildroot}/%{rhnroot}/spacecmd
-%{__install} -m0644 src/lib/*.py %{buildroot}/%{rhnroot}/spacecmd/
+%{__mkdir_p} %{buildroot}/%{python_sitelib}/spacecmd
+%{__install} -m0644 src/lib/*.py %{buildroot}/%{python_sitelib}/spacecmd/
%{__mkdir_p} %{buildroot}/%{_mandir}/man1
%{__gzip} -c src/doc/spacecmd.1 > %{buildroot}/%{_mandir}/man1/spacecmd.1.gz
-touch %{buildroot}/%{rhnroot}/spacecmd/__init__.py
-%{__chmod} 0644 %{buildroot}/%{rhnroot}/spacecmd/__init__.py
+touch %{buildroot}/%{python_sitelib}/spacecmd/__init__.py
+%{__chmod} 0644 %{buildroot}/%{python_sitelib}/spacecmd/__init__.py
%clean
%{__rm} -rf %{buildroot}
@@ -47,8 +52,7 @@ touch %{buildroot}/%{rhnroot}/spacecmd/__init__.py
%files
%defattr(-,root,root,-)
%{_bindir}/spacecmd
-%dir %{rhnroot}
-%{rhnroot}/spacecmd/
+%{python_sitelib}/spacecmd/
%dir %{_sysconfdir}/bash_completion.d
%{_sysconfdir}/bash_completion.d/spacecmd
%doc src/doc/README src/doc/COPYING
diff --git a/spacecmd/src/bin/spacecmd b/spacecmd/src/bin/spacecmd
index 13d2153..2057da7 100755
--- a/spacecmd/src/bin/spacecmd
+++ b/spacecmd/src/bin/spacecmd
@@ -25,8 +25,6 @@ import logging, os, re, sys, xmlrpclib
from ConfigParser import SafeConfigParser, NoOptionError
from optparse import Option, OptionParser
from pwd import getpwuid
-
-sys.path.append('/usr/share/rhn')
from spacecmd.shell import SpacewalkShell
if __name__ == '__main__':
Show replies by date