add macro for shipping a release candidate (relc)
This commit is contained in:
parent
80ce3fd074
commit
63e05e4993
@ -4,6 +4,9 @@
|
|||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
#uncomment next line for a release candidate or a beta
|
||||||
|
#global relc rc1
|
||||||
|
|
||||||
Name: numpy
|
Name: numpy
|
||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 6%{?dist}
|
Release: 6%{?dist}
|
||||||
@ -13,7 +16,7 @@ Summary: A fast multidimensional array facility for Python
|
|||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://numeric.scipy.org/
|
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
|
Patch0: numpy-1.0.1-f2py.patch
|
||||||
Patch1: numpy_doublefree.patch
|
Patch1: numpy_doublefree.patch
|
||||||
|
|
||||||
@ -86,7 +89,7 @@ This package includes a version of f2py that works properly with NumPy.
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}%{?relc}
|
||||||
%patch0 -p1 -b .f2py
|
%patch0 -p1 -b .f2py
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
%patch2 -p1 -b .remove-PyOS_ascii_strtod
|
%patch2 -p1 -b .remove-PyOS_ascii_strtod
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user