Apply patches on new upstream 3.4

This commit is contained in:
su-fang 2023-02-17 16:06:15 +08:00
parent d913ea308e
commit 5df6c4b864
1 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
From: Laurent Bigonville <bigon@debian.org>
Date: Sat, 14 May 2022 01:18:46 +0800
Subject: Fix installation layout for debian-like distributions
Forwarded: no
---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index 7f5a5d7..e42d612 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -173,7 +173,7 @@ install: all
ln -sf --relative $(DESTDIR)$(SHLIBDIR)/$(LIBSO) $(DESTDIR)$(LIBDIR)/$(TARGET)
install-pywrap: pywrap
- $(PYTHON) setup.py install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
+ $(PYTHON) setup.py install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --install-layout=deb
install -m 644 $(SWIGPYOUT) $(DESTDIR)$(PYTHONLIBDIR)/selinux/__init__.py
ln -sf --relative $(DESTDIR)$(PYTHONLIBDIR)/selinux/_selinux$(PYCEXT) $(DESTDIR)$(PYTHONLIBDIR)/_selinux$(PYCEXT)