[packages/norm] - pass libdir (fixes x32 build) - verbose make - py_postclean
qboosh
qboosh at pld-linux.org
Fri Jul 31 22:57:18 CEST 2015
commit 0ce1c97e824e9e9788cd34c2cf1b6272c3f07ca0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jul 31 22:59:00 2015 +0200
- pass libdir (fixes x32 build)
- verbose make
- py_postclean
norm.spec | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/norm.spec b/norm.spec
index 29e9e59..b23c033 100644
--- a/norm.spec
+++ b/norm.spec
@@ -72,17 +72,20 @@ extra; pozwalają one na wykorzystanie NORM na wyższym poziomie.
%build
%waf configure \
--prefix=%{_prefix} \
+ --libdir=%{_libdir} \
%{?with_java:--build-java} \
%{?with_python:--build-python}
-%waf
+%waf \
+ --verbose
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_includedir}
%waf install \
- --destdir=$RPM_BUILD_ROOT
+ --destdir=$RPM_BUILD_ROOT \
+ --verbose
cp -p include/*.h $RPM_BUILD_ROOT%{_includedir}
@@ -90,6 +93,10 @@ cp -p include/*.h $RPM_BUILD_ROOT%{_includedir}
install -D build/norm.jar $RPM_BUILD_ROOT%{_javadir}/norm.jar
%endif
+%if %{with python}
+%py_postclean
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/norm.git/commitdiff/0ce1c97e824e9e9788cd34c2cf1b6272c3f07ca0
More information about the pld-cvs-commit
mailing list