diff --git a/.gitignore b/.gitignore index 17ff27a..745895c 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /numpy-stl-2.15.1.tar.gz /numpy-stl-2.16.0.tar.gz /numpy-stl-2.16.3.tar.gz +/numpy-stl-2.17.1.tar.gz diff --git a/988630fae0.patch b/988630fae0.patch deleted file mode 100644 index 8a2c623..0000000 --- a/988630fae0.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 988630fae0de7e561b60e62a41a6fff8aa6b4fbf Mon Sep 17 00:00:00 2001 -From: Rick van Hattem -Date: Thu, 3 Feb 2022 13:47:04 +0100 -Subject: [PATCH] Fixed Python 3.11 compatibility. Fixes #188 - ---- - stl/main.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/stl/main.py b/stl/main.py -index aa15390..60db581 100644 ---- a/stl/main.py -+++ b/stl/main.py -@@ -29,7 +29,7 @@ def _get_name(args): - args.name, - getattr(args.outfile, 'name', None), - getattr(args.infile, 'name', None), -- 'numpy-stl-%06d' % random.randint(0, 1e6), -+ 'numpy-stl-%06d' % random.randint(0, 1_000_000), - ] - - for name in names: # pragma: no branch diff --git a/python-numpy-stl.spec b/python-numpy-stl.spec index 6aac0fe..7654bea 100644 --- a/python-numpy-stl.spec +++ b/python-numpy-stl.spec @@ -1,17 +1,14 @@ %global pypi_name numpy-stl Name: python-%{pypi_name} -Version: 2.16.3 -Release: 3%{?dist} +Version: 2.17.1 +Release: 1%{?dist} Summary: Library for reading, writing and modifying STL files License: BSD URL: https://github.com/WoLpH/numpy-stl/ Source: %{pypi_source} -# Fix Python 3.11 compatibility wrt random.randint() -Patch: https://github.com/WoLpH/numpy-stl/commit/988630fae0.patch - BuildRequires: gcc BuildRequires: python3-devel @@ -89,6 +86,10 @@ rm -rf html/.{doctrees,buildinfo} %doc html %changelog +* Tue Oct 18 2022 Karolina Surma - 2.17.1-1 +- Update to 2.17.1 +Resolves: rhbz#2086213 + * Fri Jul 22 2022 Fedora Release Engineering - 2.16.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index de9c07c..f58fdd1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (numpy-stl-2.16.3.tar.gz) = c5a60dd7db8502e81c6b5a0ccd6d9ad3c829b41cc72f15a0b57df5427690bdd4b9a2916cb90de84a151ec75544707b08813ce69bd1c848825dd176eb6b173263 +SHA512 (numpy-stl-2.17.1.tar.gz) = b7d524f96c1bff2dd3ee4a2617f8f5c60dcf71ce885d4448ed85800529bdf5ce9afeeac81c23bdfee5b44a9f7d1183b86b5b2b52ebefe360bc8f311fddaae783