Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Install the README when building the RPM. Use the bzip2-compressed

tarball for RPM. Don't install the LICENSE file, Debian doesn't like
that. Add a fix for RPM gzipping manual pages when installing.
  • Loading branch information...
commit 9f28017a11e83b9eee33ccb013e203791f5a89a6 1 parent aba49ba
Jan Urbański authored

Showing 3 changed files with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 0  fix-rpm-compressing-files
  2. +3 0  setup.cfg
  3. +1 1  setup.py
2  fix-rpm-compressing-files
... ... @@ -0,0 +1,2 @@
  1 +python setup.py install --root="$RPM_BUILD_ROOT" --record=INSTALLED_FILES
  2 +sed -i -e 's/.*man.*\.[0-9]$/&.gz/' INSTALLED_FILES
3  setup.cfg
@@ -6,6 +6,9 @@ release = 1
6 6 build_requires = python >= 2.4
7 7 requires = python >= 2.4
8 8 provides = flvlib
  9 +doc_files = README
  10 +use_bzip2 = 1
  11 +install_script = fix-rpm-compressing-files
9 12
10 13 [install]
11 14 optimize = 1
2  setup.py
@@ -18,7 +18,7 @@
18 18 if sys.platform == 'linux2':
19 19 data_files = [('share/man/man1', ['man/debug-flv.1', 'man/index-flv.1']),
20 20 ('share/doc/flvlib-%s' % __versionstr__,
21   - ['README', 'LICENSE'])]
  21 + ['README'])]
22 22 else:
23 23 data_files = []
24 24

0 comments on commit 9f28017

Please sign in to comment.
Something went wrong with that request. Please try again.