[Mayavi] Update to latest git snapshot for VTK 6 support

Orion Poplawski orion at fedoraproject.org
Fri May 9 15:46:54 UTC 2014


commit f5925bf7fdcb836e0762ec5733756bc94a2739db
Author: Orion Poplawski <orion at nwra.com>
Date:   Fri May 9 09:47:14 2014 -0600

    Update to latest git snapshot for VTK 6 support

 .gitignore  |    1 +
 Mayavi.spec |   15 +++++++++++----
 sources     |    2 +-
 3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8f47e27..03c784e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ Mayavi-3.3.2.tar.gz
 /mayavi-4.3.0.tar.gz
 /mayavi-4.3.0-f8f2c4016cbf9172b0a3a3c132dec7539e9e51c9.tar.gz
 /mayavi-4.3.1.tar.gz
+/mayavi-4.3.2-2054fd4.tar.gz
diff --git a/Mayavi.spec b/Mayavi.spec
index 93d8e94..0c5abd4 100644
--- a/Mayavi.spec
+++ b/Mayavi.spec
@@ -1,11 +1,15 @@
+%global commit 2054fd441a79aa926afc062b17a27e1db52fab54
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
 Name:           Mayavi
-Version:        4.3.1
-Release:        1%{?dist}
+Version:        4.3.2
+Release:        0.1.20140421git%{shortcommit}%{?dist}
 Summary:        Scientific data 3-dimensional visualizer
 Group:          Applications/Engineering
 License:        BSD and EPL and LGPLv2+ and LGPLv2 and LGPLv3
 URL:            http://code.enthought.com/projects/mayavi/
-Source0:        http://www.enthought.com/repo/ets/mayavi-%{version}.tar.gz
+#Source0:        http://www.enthought.com/repo/ets/mayavi-%{version}.tar.gz
+Source0:        https://github.com/enthought/mayavi/archive/%{commit}/mayavi-%{version}-%{shortcommit}.tar.gz
 Source1:        mayavi2.desktop
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
@@ -48,7 +52,7 @@ Documentation for %{name}.
 
 
 %prep
-%setup -q -n mayavi-%{version}
+%setup -q -n mayavi-%{commit}
 
 rm -rf *.egg-info
 
@@ -147,6 +151,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Fri May 9 2014 Orion Poplawski <orion at cora.nwra.com> - 4.3.2-0.1.20140421git2054fd4
+- Update to latest git snapshot for VTK 6 support
+
 * Thu Mar 13 2014 Orion Poplawski <orion at cora.nwra.com> - 4.3.1-1
 - Update to 4.3.1
 - Split docs into separate subpackage
diff --git a/sources b/sources
index a4b28e7..4906810 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-93677c77f0a835537bd210c493740b03  mayavi-4.3.1.tar.gz
+f876893f8711165bd87451e8ea2692ee  mayavi-4.3.2-2054fd4.tar.gz


More information about the scm-commits mailing list