File: 0018-Fix-python3-install.patch

package info (click to toggle)
crmsh 4.4.1-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,600 kB
  • sloc: python: 40,980; sh: 1,130; exp: 249; xml: 226; makefile: 205; awk: 23
file content (16 lines) | stat: -rw-r--r-- 525 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix build failure with new version of setuptools
 Files get installed in /usr/local.
Author: Valentin Vidic <vvidic@debian.org>
Last-Update: 2022-10-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile.am
+++ b/Makefile.am
@@ -69,6 +69,7 @@
 	$(PYTHON) $(srcdir)/setup.py install \
 		--root $(DESTDIR)/// \
 		$(python_prefix) \
+		--install-layout=deb \
 		--record $(DESTDIR)$(pkgpythondir)/install_files.txt \
 		--verbose
 	$(INSTALL) -d -m 770 $(DESTDIR)$(CRM_CACHE_DIR)