|
|
@ -1,22 +1,22 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate pyo3-build-config
|
|
|
|
%global crate pyo3-build-config
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-pyo3-build-config
|
|
|
|
Name: rust-pyo3-build-config
|
|
|
|
Version: 0.19.2
|
|
|
|
Version: 0.20.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Build configuration for the PyO3 ecosystem
|
|
|
|
Summary: Build configuration for the PyO3 ecosystem
|
|
|
|
|
|
|
|
|
|
|
|
License: Apache-2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/pyo3-build-config
|
|
|
|
URL: https://crates.io/crates/pyo3-build-config
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes#
|
|
|
|
# * drop MSVC- and MinGW-only "python3-dll-a" dependency
|
|
|
|
# * drop MSVC- and MinGW-only "python3-dll-a" dependency
|
|
|
|
Patch: pyo3-build-config-fix-metadata.diff
|
|
|
|
Patch: pyo3-build-config-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Build configuration for the PyO3 ecosystem.}
|
|
|
|
Build configuration for the PyO3 ecosystem.}
|
|
|
@ -33,7 +33,8 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license %{crate_instdir}/LICENSE
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
%{crate_instdir}/
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
@ -145,7 +146,7 @@ use the "resolve-config" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|