Update to 1.0.0, fixes RHBZ#2025354

This commit is contained in:
Christian Heimes 2021-11-22 08:16:19 +01:00
parent c0fa334474
commit 03d51e0015
3 changed files with 8 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/setuptools-rust-0.11.6.tar.gz /setuptools-rust-0.11.6.tar.gz
/setuptools-rust-0.12.0.tar.gz /setuptools-rust-0.12.0.tar.gz
/setuptools-rust-0.12.1.tar.gz /setuptools-rust-0.12.1.tar.gz
/setuptools-rust-1.0.0.tar.gz

View File

@ -5,7 +5,7 @@
%endif %endif
Name: python-setuptools-rust Name: python-setuptools-rust
Version: 0.12.1 Version: 1.0.0
Release: %autorelease Release: %autorelease
Summary: Setuptools Rust extension plugin Summary: Setuptools Rust extension plugin
@ -16,9 +16,10 @@ BuildArch: noarch
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools) > 46.1
BuildRequires: python3dist(semantic-version) >= 2.6 BuildRequires: python3dist(semantic-version) >= 2.8.2
BuildRequires: python3dist(toml) >= 0.9.0 BuildRequires: python3dist(tomli) >= 1.2.1
BuildRequires: python3dist(typing-extensions) >= 3.7.4.4
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: python3dist(setuptools-scm) >= 3.4.3 BuildRequires: python3dist(setuptools-scm) >= 3.4.3
BuildRequires: python3dist(wheel) BuildRequires: python3dist(wheel)
@ -77,9 +78,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
%{__python3} -c "from setuptools_rust import RustExtension, version" %{__python3} -c "from setuptools_rust import RustExtension, version"
%if %{with tests} %if %{with tests}
cd examples/tomlgen cd examples/hello-world
%cargo_prep %cargo_prep
sed -i 's/"0\.[0-9.]*"/"^0"/g' setup.cfg
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py build PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py build
cd ../.. cd ../..
%endif %endif

View File

@ -1 +1 @@
SHA512 (setuptools-rust-0.12.1.tar.gz) = 02dc2e2c91533ae847cfe7be0e7b0816fb376405f979c9767ba415c0223aa57429f1c038eb6c06ac9ec3950738b55026fbc6d4c8a8d938cf58a975d40d84cdb8 SHA512 (setuptools-rust-1.0.0.tar.gz) = 1bfce97724a60560d10c698cf85c9483f5e1ab16a67633608873969ffc4117c97ebe621224b36f05768289d7c08e39b6eaba126afd1431424646f9d2afa0bc3f