-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Add the rpminstall_sh.txt script
lp bug: https://launchpad.net/bugs/311981 fixed bzr revid: stephane@tinyerp.com-20081229102859-bgxe0btq1d315a6m
- Loading branch information
Stephane Wirtel
committed
Dec 29, 2008
1 parent
907bbe3
commit 99c6070
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include rpminstall_sh.txt | ||
include README | ||
include bin/import_xml.rng | ||
include bin/server.cert | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# This file is used by 'python setup.py bdist_rpm' | ||
# You should not execute/call this file yourself. | ||
# | ||
# This script is used as the 'install' part of the RPM .spec file. | ||
# | ||
# Need to overwrite the install-part of the RPM to append the | ||
# compression-suffix onto the filenames for the man-pages. | ||
# | ||
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES | ||
|
||
SUFFIX=gz | ||
mv INSTALLED_FILES INSTALLED_FILES.orig | ||
sed "s!\(/share/man/.*\)!\1.$SUFFIX!" INSTALLED_FILES.orig > INSTALLED_FILES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[sdist] | ||
formats=gztar | ||
|
||
[bdist] | ||
formats=rpm | ||
|
||
[bdist_rpm] | ||
release=1 | ||
|
||
requires=python >= 2.3 | ||
#build-requires=python-devel >= 2.3 | ||
|
||
#doc_files = doc/* | ||
|
||
# Need to overwrite the install-part of the RPM to patch | ||
# the filenames of the man pages. | ||
install_script=rpminstall_sh.txt |