diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-03-26 18:16:24 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-03-26 18:16:24 +0000 |
commit | f398a5a7cdfc1e7c3fe52676603c0bf0cd711eb6 (patch) | |
tree | 37525023e2dce4ee93680825ff56785384542b6e | |
parent | 3422e6d25ae6de598c40973c6ed5258641bb53b6 (diff) | |
download | sos-f398a5a7cdfc1e7c3fe52676603c0bf0cd711eb6.tar.gz |
updates
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@871 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r-- | MANIFEST.in | 12 | ||||
-rw-r--r-- | setup.py | 9 | ||||
-rw-r--r-- | sos.spec | 2 |
3 files changed, 6 insertions, 17 deletions
diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 4e1cc6fe..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,12 +0,0 @@ -recursive-include po *.mo -recursive-include extras * -recursive-include test * -include sosreport* -include README* -include LICENSE -include TODO -include ChangeLog -include gpgkeys/*.pub -include sos.conf -include docs/*.rst -include docs/conf.py @@ -18,7 +18,7 @@ builddir = None data_files = [ ('/etc', [ 'sos.conf']), ('share/sos/', ['gpgkeys/rhsupport.pub']), - ('share/man/man1', ['sosreport.1'])] + ('share/man/man1', ['man/en/sosreport.1'])] class refresh_translations(Command): @@ -81,7 +81,7 @@ class install(_install): locale = self.install_base + "/share/locale" class install_lib(_install_lib): - """ custom install_lib command to place locale/docs location into library""" + """ custom install_lib command to place locale location into library""" def run(self): for initfile in [ "sos/__init__.py" ]: @@ -103,7 +103,7 @@ class install_data(_install_data): print "Installing %s to %s" % (src_path, install_path) toadd = (install_path, [src_path]) # Add these to the datafiles list - datafiles.append(toadd) + data_files.append(toadd) class TestBaseCommand(Command): user_options = [] @@ -133,7 +133,7 @@ class TestSOS(TestBaseCommand): def initialize_options(self): TestBaseCommand.initialize_options(self) - test.testfile = None + self.testfile = None def finalize_options(self): TestBaseCommand.finalize_options(self) @@ -160,6 +160,7 @@ setup( url = 'http://fedorahosted.org/sos', description = 'SOS - son of sysreport', packages = ['sos'], + scripts = ["sosreport"], data_files = data_files, cmdclass = { 'test': TestSOS, @@ -52,7 +52,7 @@ rm -rf ${RPM_BUILD_ROOT} %config(noreplace) %{_sysconfdir}/sos.conf %changelog -* Fir Mar 26 2010 Adam Stokes <ajs at redhat dot com> = 1.9-3 +* Fri Mar 26 2010 Adam Stokes <ajs at redhat dot com> = 1.9-3 - fix setup.py to autocompile translations and man pages * Fri Mar 19 2010 Adam Stokes <ajs at redhat dot com> = 1.9-2 |