[scitools/el6: 2/2] Removed deps on PyX, pygrace and veusz, don't exist in EL6

Sergio Pascual sergiopr at fedoraproject.org
Sun Dec 9 00:55:58 UTC 2012


commit edc3012f3a090992b3f831b742632cf2da99aa65
Merge: bbd3e68 767a271
Author: Pasrario <harenawer at zoho.com>
Date:   Sun Dec 9 01:55:31 2012 +0100

    Removed deps on PyX, pygrace and veusz, don't exist in EL6
    
    - Exclude Arch ppc64, scipy missing

 scitools.spec |   38 ++++++++++++++++----------------------
 sources       |    2 +-
 2 files changed, 17 insertions(+), 23 deletions(-)
---
diff --cc scitools.spec
index 34a51a5,57f0fbf..8f9cf43
--- a/scitools.spec
+++ b/scitools.spec
@@@ -1,6 -1,12 +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.6
- Release:    4%{?dist}
+ Version:    0.9.0
 -Release:    1%{?dist}
++Release:    2%{?dist}
  Summary:    A Python library for scientific computing
  
  Group:      Applications/Engineering
@@@ -32,14 -34,13 +37,9 @@@ such as NumPy, SciPy, ScientificPython
  Summary:    Provides extra functionality to scitools
  Group:      Applications/Engineering
  
 -# Pygrace is not currently in RHEL 4
  Requires:   %{name} = %{version}-%{release}
- Requires:   numpy
- Requires:   python-numarray 
- Requires:   vtk-python
- Requires:   python-matplotlib 
- 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
++Requires:   blt dx python-pmw
  
  %description extras
  Installs all packages scitools was designed to work with. For full
@@@ -77,14 -71,11 +70,15 @@@ rm -rf %{buildroot}/%{_mandir
  %{python_sitelib}/%{name}
  
  %files extras
- %defattr(-,root,root,-)
- 
  
  %changelog
- * Sun Dec 09 2012 Sergio Pascual <sergiopr at fedoraproject.org> 0.6-4
++* Sun Dec 09 2012 Sergio Pascual <sergiopr at fedoraproject.org> 0.9.0-2
 +- Removed deps on PyX, pygrace and veusz, don't exist in EL6
 +- Exclude Arch ppc64, scipy missing
 +
+ * Tue Jun 26 2012 Sergio Pascual <sergio.pasra at gmail.com> - 0.9.0-1
+ - New upstream source
+ 
  * Tue Sep 29 2009 Peter Robinson <pbrobinson at gmail.com> 0.6-3
  - Update -extras to depend on numpy like the main package
  


More information about the scm-commits mailing list