[packages/xcb-proto] simplify install
atler
atler at pld-linux.org
Tue Apr 7 02:23:15 CEST 2020
commit b3f9ec0ad7ce94bf8bda12dc3232533a00039cde
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Apr 7 02:22:33 2020 +0200
simplify install
xcb-proto.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/xcb-proto.spec b/xcb-proto.spec
index 1c05aab..1704c67 100644
--- a/xcb-proto.spec
+++ b/xcb-proto.spec
@@ -85,14 +85,11 @@ PYTHON=%{__python} \
rm -rf $RPM_BUILD_ROOT
%if %{with python3}
-cd build3
-%{__make} install \
+%{__make} -C build3 install \
DESTDIR=$RPM_BUILD_ROOT
-cd ..
%endif
-cd build2
-%{__make} install \
+%{__make} -C build2 install \
DESTDIR=$RPM_BUILD_ROOT
%py_comp $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xcb-proto.git/commitdiff/b3f9ec0ad7ce94bf8bda12dc3232533a00039cde
More information about the pld-cvs-commit
mailing list