]> git.pld-linux.org Git - packages/libselinux.git/commitdiff
- pass LIBDIR for install-pywrap, PYTHON for pywrap auto/th/libselinux-2.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 15 Oct 2016 15:03:00 +0000 (17:03 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 15 Oct 2016 15:03:00 +0000 (17:03 +0200)
libselinux.spec

index 9fc51dc456c1ba64e07ef66502491689f6a86a2c..1e140f483dd196bbed19210f4ebb40f2c3dd0e23 100644 (file)
@@ -172,6 +172,7 @@ Wiązania języka Ruby do biblioteki SELinux.
        LDFLAGS="%{rpmldflags} -lpcre -lpthread" \
        LIBDIR=%{_libdir} \
        PYPREFIX=python2 \
+       PYTHON=%{__python} \
        %{?with_ruby:RUBYINC="$(pkg-config --cflags ruby-%{ruby_abi})"}
 
 %if %{with python3}
@@ -180,7 +181,8 @@ Wiązania języka Ruby do biblioteki SELinux.
        CFLAGS="%{rpmcppflags} %{rpmcflags} -D_FILE_OFFSET_BITS=64" \
        LDFLAGS="%{rpmldflags} -lpthread" \
        LIBDIR=%{_libdir} \
-       PYPREFIX=python3
+       PYPREFIX=python3 \
+       PYTHON=%{__python3}
 %endif
 
 %install
@@ -207,6 +209,7 @@ ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libselinux.so.*) \
 %if %{with python3}
 %{__make} -C src install-pywrap \
        DESTDIR=$RPM_BUILD_ROOT \
+       LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
        PYPREFIX=python3 \
        PYTHON=%{__python3}
 
This page took 0.165286 seconds and 4 git commands to generate.