From 03d51e00153e9d4a525ba674fbedca1b45b09ec4 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 22 Nov 2021 08:16:19 +0100 Subject: [PATCH] Update to 1.0.0, fixes RHBZ#2025354 --- .gitignore | 1 + python-setuptools-rust.spec | 12 ++++++------ sources | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 7e6e4e9..9930f49 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /setuptools-rust-0.11.6.tar.gz /setuptools-rust-0.12.0.tar.gz /setuptools-rust-0.12.1.tar.gz +/setuptools-rust-1.0.0.tar.gz diff --git a/python-setuptools-rust.spec b/python-setuptools-rust.spec index 94eee6f..1b528df 100644 --- a/python-setuptools-rust.spec +++ b/python-setuptools-rust.spec @@ -5,7 +5,7 @@ %endif Name: python-setuptools-rust -Version: 0.12.1 +Version: 1.0.0 Release: %autorelease Summary: Setuptools Rust extension plugin @@ -16,9 +16,10 @@ BuildArch: noarch ExclusiveArch: %{rust_arches} BuildRequires: python3-devel -BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(semantic-version) >= 2.6 -BuildRequires: python3dist(toml) >= 0.9.0 +BuildRequires: python3dist(setuptools) > 46.1 +BuildRequires: python3dist(semantic-version) >= 2.8.2 +BuildRequires: python3dist(tomli) >= 1.2.1 +BuildRequires: python3dist(typing-extensions) >= 3.7.4.4 %if 0%{?fedora} BuildRequires: python3dist(setuptools-scm) >= 3.4.3 BuildRequires: python3dist(wheel) @@ -77,9 +78,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %{__python3} -c "from setuptools_rust import RustExtension, version" %if %{with tests} -cd examples/tomlgen +cd examples/hello-world %cargo_prep -sed -i 's/"0\.[0-9.]*"/"^0"/g' setup.cfg PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py build cd ../.. %endif diff --git a/sources b/sources index c9f97c2..feebd23 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (setuptools-rust-0.12.1.tar.gz) = 02dc2e2c91533ae847cfe7be0e7b0816fb376405f979c9767ba415c0223aa57429f1c038eb6c06ac9ec3950738b55026fbc6d4c8a8d938cf58a975d40d84cdb8 +SHA512 (setuptools-rust-1.0.0.tar.gz) = 1bfce97724a60560d10c698cf85c9483f5e1ab16a67633608873969ffc4117c97ebe621224b36f05768289d7c08e39b6eaba126afd1431424646f9d2afa0bc3f