Updated to new version 0.98.8 to fix FTBFS

This commit is contained in:
Miro Hrončok 2018-02-14 17:45:40 +01:00
commit 9c99243e12
4 changed files with 17 additions and 5 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -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 <mhroncok@redhat.com> - 0.98.8-1
- Updated to new version 0.98.8 to fix FTBFS
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.98.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (admesh-0.98.7.tar.gz) = 34eea3528d7d48cd13fd694d9f102d1e1947af32d3bea405a464a9a3c04b54b6616f30d7ea8052d9bd403a297826da49c06b12527c78004f49d5889670393036
SHA512 (admesh-0.98.8.tar.gz) = e190cefb8e8b6674a90b1469f8e713e29c1b38b9cd80fbf8f76da31d701baf15df1e3df6972ac25d68c0f8962a72d91276b41ae73fb4513305128a5325ae4d75

5
utils.py Normal file
View file

@ -0,0 +1,5 @@
import os
def asset(filename):
return os.path.join(os.path.dirname(__file__), filename)