[packages/python-Cython] - build package in build stage
qboosh
qboosh at pld-linux.org
Sun Feb 16 13:38:06 CET 2014
commit 7f7a7361f5fff17344ca8858ab4b68a57abe9bf3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Feb 16 13:40:14 2014 +0100
- build package in build stage
python-Cython.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/python-Cython.spec b/python-Cython.spec
index 1b3d65f..528a0e3 100644
--- a/python-Cython.spec
+++ b/python-Cython.spec
@@ -45,6 +45,11 @@ Pakiet zawierający przykładowe programy napisane w języku Cython.
%prep
%setup -q -n %{module}-%{version}
+%build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+%{__python} setup.py build
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-Cython.git/commitdiff/7f7a7361f5fff17344ca8858ab4b68a57abe9bf3
More information about the pld-cvs-commit
mailing list