[scitools/f17] New upstream source

Sergio Pascual sergiopr at fedoraproject.org
Tue Jun 26 21:53:08 UTC 2012


commit bb853491161f5161acc4eee24515aa338d9b6004
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Tue Jun 26 23:53:03 2012 +0200

    New upstream source

 .gitignore    |    1 +
 scitools.spec |   33 ++++++++++++++++-----------------
 sources       |    2 +-
 3 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f6a06b0..8c9ffa3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 scitools-0.6.tar.gz
 /scitools-0.8.tar.gz
+/scitools-0.9.0.tar.gz
diff --git a/scitools.spec b/scitools.spec
index 52a7e4f..28b6dee 100644
--- a/scitools.spec
+++ b/scitools.spec
@@ -1,6 +1,12 @@
+%if 0%{?fedora} > 12 || 0%{?rhel} > 6
+%global with_python3 1
+%else
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
+
 Name:       scitools
-Version:    0.8
-Release:    3%{?dist}
+Version:    0.9.0
+Release:    1%{?dist}
 Summary:    A Python library for scientific computing
 
 Group:      Applications/Engineering
@@ -30,37 +36,28 @@ Group:      Applications/Engineering
 
 # Pygrace is not currently in RHEL 4
 Requires:   %{name} = %{version}-%{release}
-Requires:   numpy
-Requires:   vtk-python,
-Requires:   python-matplotlib 
-Requires:   PyX 
-Requires:   veusz 
-Requires:   blt
-Requires:   dx
-Requires:   python-pmw
+Requires:   numpy vtk-python python-matplotlib 
+Requires:   PyX veusz blt dx python-pmw
 %if 0%{?rhel} != 4
 Requires: pygrace
 %endif
 
-%description    extras
+%description extras
 Installs all packages scitools was designed to work with. For full
 functionality you will need to install the scitools-extras package. 
 Please see the website, http://code.google.com/p/scitools/wiki/Installation,
 or details.
 
-
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
-
 %prep
 %setup -q -n %{name}-%{version}
 cp -p %{SOURCE1} .
 
 %build
+%{__python} setup.py build
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install --root %{buildroot}
+%{__python} setup.py install --skip-build --root  %{buildroot}
 
 # The bin directory is really code to interact with the upstream 
 # author's book.  The package works fine without it for normal use.
@@ -75,8 +72,10 @@ rm -rf %{buildroot}/%{_mandir}
 
 %files extras
 
-
 %changelog
+* Tue Jun 26 2012 Sergio Pascual <sergio.pasra at gmail.com> - 0.9.0-1
+- New upstream source
+
 * Wed Feb 08 2012 Sergio Pascual <sergio.pasra at gmail.com> - 0.8-3
 - Spec cleanup
 - Removed python-numarray from dependencies
diff --git a/sources b/sources
index 6c1fb00..56303b3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8b8d0cc938616ef444f6b3cdb8cd26a8  scitools-0.8.tar.gz
+731e7ef3a708e2222f32cba726bfdb68  scitools-0.9.0.tar.gz


More information about the scm-commits mailing list