[python-fiat] * Thu Jul 31 2014 Fabian Affolter <mail at fabian-affolter.ch> - 1.4.0.-1 - Spec file update - Update t

Fabian Affolter fab at fedoraproject.org
Thu Jul 31 13:49:13 UTC 2014


commit b74d5fcb1c2259cdff91d32ea6a7ce8d22035596
Author: Fabian Affolter <fab at localhost.localdomain>
Date:   Thu Jul 31 15:49:02 2014 +0200

    * Thu Jul 31 2014 Fabian Affolter <mail at fabian-affolter.ch> - 1.4.0.-1
    - Spec file update
    - Update to new upstream 1.4.0

 .gitignore       |    1 +
 python-fiat.spec |   59 +++++++++++++++++++++--------------------------------
 sources          |    2 +-
 3 files changed, 25 insertions(+), 37 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 52404d3..19aac92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ fiat-0.9.2.tar.gz
 /fiat-0.9.9.tar.gz
 /fiat-1.0.0.tar.gz
 /fiat-1.1.tar.gz
+/fiat-1.4.0.tar.gz
diff --git a/python-fiat.spec b/python-fiat.spec
index 358789a..319042d 100644
--- a/python-fiat.spec
+++ b/python-fiat.spec
@@ -1,22 +1,13 @@
-%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%endif
-
 %global srcname fiat
-%global majorver 1
-%global minorver 1
-%global pointver 0
 
 Name:           python-%{srcname}
-Version:        1.1.0
-Release:        3%{?dist}
+Version:        1.4.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:        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)
+Source0:        https://bitbucket.org/fenics-project/fiat/downloads/%{srcname}-%{version}.tar.gz
 BuildArch:      noarch
 
 BuildRequires:  python2-devel
@@ -28,7 +19,7 @@ BuildRequires:  tex(latex)
 BuildRequires:  texlive-collection-latexextra
 %endif
 
-Requires:       numpy
+Requires:   numpy
 Requires: 	ScientificPython
 
 %description
@@ -41,39 +32,35 @@ will also support Hermite and nonconforming elements as well as H(div)
 and H(curl) elements such as Raviart-Thomas and Nedelec are supported
 on triangles and tetrahedra.  
 
-
 %prep
-%setup -q -n %{srcname}-%{majorver}.%{minorver}
-
+%setup -q
 
 %build
-%{__python} setup.py build
+%{__python2} setup.py build
 
 pushd doc
 pdflatex manual.tex
 popd
 
 %install
-rm -rf %{buildroot}
-%{__python} setup.py install --skip-build --root %{buildroot}
+%{__python2} setup.py install --skip-build --root %{buildroot}
 
 # These scripts are executables, so move to /usr/bin
 install -d %{buildroot}%{_bindir}
 mv %{buildroot}%{python_sitelib}/FIAT/asci2vtk{2,3}d.py %{buildroot}%{_bindir}
 chmod 755 %{buildroot}%{_bindir}/*
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README doc/manual.pdf
-%{python_sitelib}/FIAT/
-%{python_sitelib}/*.egg-info
+%{python2_sitelib}/FIAT/
+%{python2_sitelib}/*.egg-info
 %{_bindir}/*
 
 %changelog
+* Thu Jul 31 2014 Fabian Affolter <mail at fabian-affolter.ch> - 1.4.0.-1
+- Spec file update
+- Update to new upstream 1.4.0
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
@@ -95,14 +82,14 @@ rm -rf %{buildroot}
 - Move executable scripts to %%{_bindir}
 
 * Sat Feb 11 2012 Fabian Affolter <mail at fabian-affolter.ch> - 1.0.0.-1
-- Updated to new upstream 1.0.0
+- Update to new upstream 1.0.0
 
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.9-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
 * Sun Mar 27 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0.9.9-1
-- Updated URL and description
-- Updated to new upstream version 0.9.9
+- Update URL and description
+- Update to new upstream version 0.9.9
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
@@ -111,16 +98,16 @@ rm -rf %{buildroot}
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 
 * Sat Jul 03 2010 Fabian Affolter <mail at fabian-affolter.ch> - 0.9.2-1
-- Updated to new upstream version 0.9.2
-- Updated source url
+- Update to new upstream version 0.9.2
+- Update source url
 
 * Tue Feb 23 2010 Fabian Affolter <mail at fabian-affolter.ch> - 0.9.1-1
-- Changed source URL
-- Added docs
-- Updated to new upsteram version 0.9.1
+- Change source URL
+- Add docs
+- Update to new upsteram version 0.9.1
 
 * Sun Dec 06 2009 Fabian Affolter <mail at fabian-affolter.ch> - 0.3.5-1
-- Updated to new upsteram version 0.3.5
+- Update to new upsteram version 0.3.5
 
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.4-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@@ -129,7 +116,7 @@ rm -rf %{buildroot}
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
 * Wed Feb 04 2009 Fabian Affolter <mail at fabian-affolter.ch> - 0.3.4-2
-- Fixied license tag -> LGPLv2+
+- Fix license tag -> LGPLv2+
 
 * 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 1fda085..4aefdb9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-87d0919e74fb6539df0f310a3a0560d3  fiat-1.1.tar.gz
+da9c38cf394594091ec4ac2ff652e170  fiat-1.4.0.tar.gz


More information about the scm-commits mailing list