fix(maturin): rust2rpm (#1167) (#1187)

(cherry picked from commit c7b12ea62f)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2024-05-02 05:52:44 -07:00
committed by GitHub
parent 4a88aee452
commit d41dd347cd
+15 -15
View File
@@ -1,9 +1,9 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 26
%global crate maturin
Name: rust-terra-maturin
Version: 1.5.1
Release: 1%?dist
Release: %autorelease
Summary: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages
License: MIT OR Apache-2.0
@@ -296,6 +296,18 @@ use the "tracing-subscriber" feature of the "%{crate}" crate.
%files -n %{name}+tracing-subscriber-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unicode-xid-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unicode-xid-devel %{_description}
This package contains library source intended for building other packages which
use the "unicode-xid" feature of the "%{crate}" crate.
%files -n %{name}+unicode-xid-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+upload-devel
Summary: %{summary}
BuildArch: noarch
@@ -320,18 +332,6 @@ use the "ureq" feature of the "%{crate}" crate.
%files -n %{name}+ureq-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+url-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+url-devel %{_description}
This package contains library source intended for building other packages which
use the "url" feature of the "%{crate}" crate.
%files -n %{name}+url-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+wild-devel
Summary: %{summary}
BuildArch: noarch
@@ -369,7 +369,7 @@ use the "zig" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep_online
%build