1 This is to get similar results as with the setup.py build style
4 --- system-config-printer-1.5.18/configure.orig
5 +++ system-config-printer-1.5.18/configure
8 from distutils import sysconfig
9 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
10 -sys.stdout.write(sitedir)"`
11 +sys.stdout.write(sitedir)" | sed -e 's/site-packages/vendor-packages/g'`
13 case $am_cv_python_pythondir in
17 from distutils import sysconfig
18 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
19 -sys.stdout.write(sitedir)"`
20 +sys.stdout.write(sitedir)" | sed -e 's/site-packages/vendor-packages/g'`
22 case $am_cv_python_pyexecdir in
24 --- system-config-printer-1.5.18/Makefile.am.orig
25 +++ system-config-printer-1.5.18/Makefile.am
28 # Use distutils to install the module.
29 install-exec-local: .stamp-distutils-in-builddir
30 - $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
31 + $(PYTHON) setup.py install --root $(DESTDIR) --install-lib=$(pythondir) --skip-build
33 # Uninstall the module, crossing our fingers that we know enough
34 # about how distutils works to do this. Unfortunately, distutils