]> git.pld-linux.org Git - packages/setools.git/commitdiff
- fix python bindings install auto/th/setools-3.3.8-5
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 5 May 2016 09:09:59 +0000 (11:09 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 5 May 2016 09:09:59 +0000 (11:09 +0200)
- rel 5

python-prefix.patch [new file with mode: 0644]
setools.spec

diff --git a/python-prefix.patch b/python-prefix.patch
new file mode 100644 (file)
index 0000000..920b4e0
--- /dev/null
@@ -0,0 +1,11 @@
+--- setools-3.3.8/python/setools/Makefile.am~  2013-01-16 17:36:22.000000000 +0100
++++ setools-3.3.8/python/setools/Makefile.am   2016-05-05 11:07:24.558491996 +0200
+@@ -25,7 +25,7 @@
+       LIBS="$(QPOL_LIB_FLAG) $(APOL_LIB_FLAG)" INCLUDES="$(QPOL_CFLAGS) $(APOL_CFLAGS)" $(PYTHON) setup.py build
+ install-exec-hook:
+-      $(PYTHON) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
++      $(PYTHON) setup.py install --prefix=$(prefix) `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
+ uninstall-hook: 
+       $(PYTHON) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
index 52ea280ec3dd3b51d76985fbb776e080113ccc27..022e2f6c6a236eba7f21648af453a657b76eddbe 100644 (file)
@@ -7,7 +7,7 @@ Summary:        Policy analysis tools for SELinux
 Summary(pl.UTF-8):     Narzędzia do analizy polityk SELinuksa
 Name:          setools
 Version:       3.3.8
-Release:       4
+Release:       5
 License:       GPL v2+ (tools), LGPL v2.1+ (libraries)
 Group:         Applications/System
 #Source0Download: http://oss.tresys.com/projects/setools/wiki/download
@@ -24,6 +24,7 @@ Patch6:               %{name}-x32.patch
 Patch7:                %{name}-swig-version.patch
 Patch8:                %{name}-sepol.patch
 Patch9:                %{name}-selinux.patch
+Patch10:       python-prefix.patch
 URL:           https://github.com/TresysTechnology/setools3/wiki
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
@@ -273,6 +274,7 @@ Ten pakiet zawiera wiązania Tcl-a do bibliotek uruchomieniowych:
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 %build
 %{__libtoolize}
This page took 0.752252 seconds and 4 git commands to generate.