1. 26 Jun, 2015 1 commit
    • Guido Günther's avatar
      Add spec file taken from git-buildpackage-rpm · a331b7f1
      Guido Günther authored
      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.
      a331b7f1