diff --git a/.gitignore b/.gitignore index f10a300..6f0bf10 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /admesh-0.98.3.tar.gz /admesh-0.98.5.tar.gz /admesh-0.98.7.tar.gz +/admesh-0.98.8.tar.gz diff --git a/python-admesh.spec b/python-admesh.spec index 7f6105c..a4fb7cc 100644 --- a/python-admesh.spec +++ b/python-admesh.spec @@ -1,14 +1,17 @@ %global pypi_name admesh Name: python-%{pypi_name} -Version: 0.98.7 -Release: 4%{?dist} +Version: 0.98.8 +Release: 1%{?dist} Summary: Python bindings for ADMesh, STL manipulation library License: GPLv2+ URL: https://github.com/admesh/python-admesh Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz - + +# https://github.com/admesh/python-admesh/issues/15 +Source1: %{url}/raw/v%{version}/test/utils.py + BuildRequires: admesh-devel >= 0.98 BuildRequires: python2-devel @@ -51,7 +54,7 @@ format and partially repair them if necessary. %prep %setup -q -n %{pypi_name}-%{version} - +cp %{SOURCE1} test/ %build %py2_build @@ -80,6 +83,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-3 -v %changelog +* Wed Feb 14 2018 Miro HronĨok - 0.98.8-1 +- Updated to new version 0.98.8 to fix FTBFS + * Fri Feb 09 2018 Fedora Release Engineering - 0.98.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 75c4cc4..89309a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (admesh-0.98.7.tar.gz) = 34eea3528d7d48cd13fd694d9f102d1e1947af32d3bea405a464a9a3c04b54b6616f30d7ea8052d9bd403a297826da49c06b12527c78004f49d5889670393036 +SHA512 (admesh-0.98.8.tar.gz) = e190cefb8e8b6674a90b1469f8e713e29c1b38b9cd80fbf8f76da31d701baf15df1e3df6972ac25d68c0f8962a72d91276b41ae73fb4513305128a5325ae4d75 diff --git a/utils.py b/utils.py new file mode 100644 index 0000000..ef80a5e --- /dev/null +++ b/utils.py @@ -0,0 +1,5 @@ +import os + + +def asset(filename): + return os.path.join(os.path.dirname(__file__), filename)