[python-fiat] Update to version 1.1.0 Fix the BuildRequires for LaTeX for F18 and beyond

Jonathan G. Underwood jgu at fedoraproject.org
Fri Jan 25 12:11:52 UTC 2013


commit af5c701607720188b344abe7892fbd5de7ec9baa
Author: Jonathan G. Underwood <jonathan.underwood at gmail.com>
Date:   Fri Jan 25 12:11:39 2013 +0000

    Update to version 1.1.0
    Fix the BuildRequires for LaTeX for F18 and beyond

 .gitignore       |    1 +
 python-fiat.spec |   24 ++++++++++++++++++------
 sources          |    2 +-
 3 files changed, 20 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f704e72..52404d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 fiat-0.9.2.tar.gz
 /fiat-0.9.9.tar.gz
 /fiat-1.0.0.tar.gz
+/fiat-1.1.tar.gz
diff --git a/python-fiat.spec b/python-fiat.spec
index ccf10e4..8a1531e 100644
--- a/python-fiat.spec
+++ b/python-fiat.spec
@@ -2,15 +2,20 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %endif
 
-Name:           python-fiat
-Version:        1.0.0
-Release:        4%{?dist}
+%global srcname fiat
+%global majorver 1
+%global minorver 1
+%global pointver 0
+
+Name:           python-%{srcname}
+Version:        1.1.0
+Release:        1%{?dist}
 Summary:        Generation of arbitrary order instances of the Lagrange elements
 
 Group:          Applications/Engineering
 License:        LGPLv2+
 URL:            http://www.fenicsproject.org
-Source0:        http://launchpad.net/fiat/1.0.x/%{version}/+download/fiat-%{version}.tar.gz
+Source0:        https://launchpad.net/%{srcname}/%{majorver}.%{minorver}.x/release-%{majorver}.%{minorver}/+download/%{srcname}-%{majorver}.%{minorver}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
@@ -19,6 +24,9 @@ BuildRequires:  python-setuptools
 
 # This is needed for building the manual:
 BuildRequires:  tex(latex)
+%if (0%{?rhel} && 0%{?rhel} >= 7) || (0%{?fedora} && 0%{?fedora} >= 18)
+BuildRequires:  texlive-collection-latexextra
+%endif
 
 Requires:       numpy
 Requires: 	ScientificPython
@@ -35,7 +43,7 @@ on triangles and tetrahedra.
 
 
 %prep
-%setup -q -n fiat-%{version}
+%setup -q -n %{srcname}-%{majorver}.%{minorver}
 
 
 %build
@@ -66,6 +74,10 @@ rm -rf %{buildroot}
 %{_bindir}/*
 
 %changelog
+* Thu Jan 24 2013 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 1.1.0-1
+- Update to version 1.1.0
+- Fix the BuildRequires for LaTeX for F18 and beyond
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
@@ -113,5 +125,5 @@ rm -rf %{buildroot}
 * Wed Feb 04 2009 Fabian Affolter <mail at fabian-affolter.ch> - 0.3.4-2
 - Fixied license tag -> LGPLv2+
 
-* Sat Jan 30 2009 Fabian Affolter <mail at fabian-affolter.ch> - 0.3.4-1
+* Fri Jan 30 2009 Fabian Affolter <mail at fabian-affolter.ch> - 0.3.4-1
 - Initial package for Fedora
diff --git a/sources b/sources
index 4c33a1d..1fda085 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fcbad66fb59a07b716e072a15fc51bb5  fiat-1.0.0.tar.gz
+87d0919e74fb6539df0f310a3a0560d3  fiat-1.1.tar.gz


More information about the scm-commits mailing list