[Cython] update to 0.17
Neal Becker
nbecker at fedoraproject.org
Mon Sep 3 21:04:47 UTC 2012
commit e8e734a49bee46fe4ab69c6de0a32ef58384624e
Author: Neal Becker <ndbecker2 at gmail.com>
Date: Mon Sep 3 17:04:43 2012 -0400
update to 0.17
.gitignore | 1 +
Cython.spec | 17 ++++++++++++-----
sources | 2 +-
3 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b0c2358..aeefa69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ Cython-0.12.1.tar.gz
/Cython-0.15.1.tar.gz
/Cython-0.16.tar.gz
/Cython-0.17b3.tar.gz
+/Cython-0.17.tar.gz
diff --git a/Cython.spec b/Cython.spec
index cf8de6c..6adc23b 100644
--- a/Cython.spec
+++ b/Cython.spec
@@ -1,15 +1,16 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%define run_check 0%{!?_without_check:1}
Name: Cython
Version: 0.17
-Release: 4.b3%{?dist}
-##Release: 3%{?dist}
+##Release: 4.b3%{?dist}
+Release: 1%{?dist}
Summary: A language for writing Python extension modules
-##%%define upstreamversion %{version}
-%define upstreamversion %{version}b3
+%define upstreamversion %{version}
+##%define upstreamversion %{version}b3
Group: Development/Tools
License: Python
@@ -18,8 +19,9 @@ Source: http://www.cython.org/Cython-%{upstreamversion}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel python-setuptools
-# only for check!
+%if 0%{run_check}
BuildRequires: numpy libtool
+%endif
Requires: python
%description
@@ -50,8 +52,10 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%if 0%{run_check}
%check
%{__python} runtests.py -x numpy
+%endif
%files
%defattr(-,root,root,-)
@@ -67,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Sep 3 2012 Neal Becker <ndbecker2 at gmail.com> - 0.17-1
+- Update to 0.17
+
* Tue Aug 28 2012 Neal Becker <ndbecker2 at gmail.com> - 0.17-3.b3
- Turn on check (temporarily)
- Add br numpy from check
diff --git a/sources b/sources
index bec85ed..2cfdbff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6c04d06829a03f7299401c2a5e0e6643 Cython-0.17b3.tar.gz
+d6b669956b25babf7dd86db0a98539e4 Cython-0.17.tar.gz
More information about the scm-commits
mailing list