diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-06-24 08:58:41 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-06-26 16:19:01 +0200 |
commit | a331b7f127c11fa0ecc6931660a906e2d906658b (patch) | |
tree | ba3aaa021b331c96d506f974c3cf49022bf9c827 /gbp/command_wrappers.py | |
parent | 5f9e72a6205467be0d26680722055353919dcfe7 (diff) |
Add spec file taken from git-buildpackage-rpm
Minimal changes only to get it to build (like removing the bb package
and yet missing manpages of the *-rpm tools).
Due to changes in Debian's dist- vs. site-packages you need to do a:
cat <<EOF >> ~/.rpmmacros
%python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib().replace('dist-', 'site-'))")
%python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1).replace('dist-', 'site-'))")
EOF
to build the RPMs on Debian.
Diffstat (limited to 'gbp/command_wrappers.py')
0 files changed, 0 insertions, 0 deletions