Convert from Fedora for the Python 3.14 stack in RHEL
Fedora contributions by:
Christian Heimes <cheimes@redhat.com>
Maxwell G <maxwell@gtmx.me>
Miro Hrončok <miro@hroncok.cz>
Benjamin A. Beasley <code@musicinmybrain.net>
Fabio Valentini <decathorpe@gmail.com>
Gwyn Ciesla <limb@fedoraproject.org>
Tomáš Hrnčiar <thrnciar@redhat.com>
Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
parent
f8ba817f68
commit
44e4490489
25
changelog
25
changelog
@ -1,25 +0,0 @@
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.12.1-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Thu Mar 11 2021 Christian Heimes <cheimes@redhat.com> - 0.12.1-1
|
||||
- Update to 0.12.1
|
||||
|
||||
* Tue Mar 09 2021 Christian Heimes <cheimes@redhat.com> - 0.12.0-1
|
||||
- Update to 0.12.0 (#1936679)
|
||||
- Run tomlgen example as test case
|
||||
|
||||
* Thu Feb 11 2021 Christian Heimes <cheimes@redhat.com> - 0.11.6-4
|
||||
- Fix RHEL build: remove wheel build requirements, use rust-toolset
|
||||
|
||||
* Thu Feb 11 2021 Christian Heimes <cheimes@redhat.com> - 0.11.6-3
|
||||
- Add RHEL packaging support
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Jan 14 2021 Christian Heimes <cheimes@redhat.com> - 0.11.6-1
|
||||
- Initial package.
|
||||
- Resolves: rhbz#1906490
|
||||
@ -1,3 +1,5 @@
|
||||
%global python3_pkgversion 3.14
|
||||
|
||||
# RHEL does not have packaged rust libraries
|
||||
%bcond packaged_rust_libraries %{undefined rhel}
|
||||
# The integration tests depend on the presence of these libraries
|
||||
@ -6,7 +8,7 @@
|
||||
# * html-py-ever requires unpackaged rust crates
|
||||
%global integration_tests_exc '^(html-py-ever)'
|
||||
|
||||
Name: python-setuptools-rust
|
||||
Name: python%{python3_pkgversion}-setuptools-rust
|
||||
Version: 1.11.1
|
||||
Release: %autorelease
|
||||
Summary: Setuptools Rust extension plugin
|
||||
@ -17,8 +19,8 @@ Source0: %{pypi_source setuptools_rust}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: %{py3_dist pytest}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-pytest
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
%else
|
||||
@ -30,19 +32,10 @@ BuildRequires: %{py3_dist cffi}
|
||||
%endif
|
||||
|
||||
|
||||
%global _description %{expand:
|
||||
%description
|
||||
Setuptools helpers for Rust Python extensions. Compile and distribute Python
|
||||
extensions written in Rust as easily as if they were written in C.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
|
||||
%package -n python3-setuptools-rust
|
||||
Summary: %{summary}
|
||||
Requires: cargo
|
||||
|
||||
%description -n python3-setuptools-rust %{_description}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n setuptools_rust-%{version}
|
||||
@ -111,7 +104,7 @@ done
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python3-setuptools-rust -f %{pyproject_files}
|
||||
%files -n python%{python3_pkgversion}-setuptools-rust -f %{pyproject_files}
|
||||
%doc README.md CHANGELOG.md
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user