From 63e05e4993bdbc19d41c6714332093fb61dd8fa2 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Oct 26 2010 13:27:14 +0000 Subject: add macro for shipping a release candidate (relc) --- diff --git a/numpy.spec b/numpy.spec index b5753b5..41a9a20 100644 --- a/numpy.spec +++ b/numpy.spec @@ -4,6 +4,9 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif +#uncomment next line for a release candidate or a beta +#global relc rc1 + Name: numpy Version: 1.4.1 Release: 6%{?dist} @@ -13,7 +16,7 @@ Summary: A fast multidimensional array facility for Python Group: Development/Languages License: BSD URL: http://numeric.scipy.org/ -Source0: http://downloads.sourceforge.net/numpy/%{name}-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/numpy/%{name}-%{version}%{?relc}.tar.gz Patch0: numpy-1.0.1-f2py.patch Patch1: numpy_doublefree.patch @@ -86,7 +89,7 @@ This package includes a version of f2py that works properly with NumPy. %endif # with_python3 %prep -%setup -q -n %{name}-%{version} +%setup -q -n %{name}-%{version}%{?relc} %patch0 -p1 -b .f2py %patch1 -p0 %patch2 -p1 -b .remove-PyOS_ascii_strtod