Initial import (toml_edit 0.20 compat package)

epel9 imports/e9/rust-toml_edit0.20-0.20.7-1.el9
Fabio Valentini 1 year ago
parent 77dcd343c5
commit e193331dff
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/toml_edit-0.20.7.crate

@ -1,3 +0,0 @@
# rust-toml_edit0.20
The rust-toml_edit0.20 package

@ -0,0 +1,106 @@
# Generated by rust2rpm 25
# * missing dev-dependencies: snapbox, toml-test-data, toml-test-harness
%bcond_with check
%global debug_package %{nil}
%global crate toml_edit
Name: rust-toml_edit0.20
Version: 0.20.7
Release: %autorelease
Summary: Yet another format-preserving TOML parser
License: MIT OR Apache-2.0
URL: https://crates.io/crates/toml_edit
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Yet another format-preserving TOML parser.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+perf-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+perf-devel %{_description}
This package contains library source intended for building other packages which
use the "perf" feature of the "%{crate}" crate.
%files -n %{name}+perf-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unbounded-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unbounded-devel %{_description}
This package contains library source intended for building other packages which
use the "unbounded" feature of the "%{crate}" crate.
%files -n %{name}+unbounded-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1,4 @@
[tests]
run = ["none"]
comments = ["missing dev-dependencies: snapbox, toml-test-data, toml-test-harness"]

@ -0,0 +1 @@
SHA512 (toml_edit-0.20.7.crate) = fb6ef6e495e18b5d6eb96eee5c2a39b5539a8cebbaa8b93c3995d1e14d1db26488200633c7368f67ff5f982ab20dce0977601314c643fb2671c3caaae8e584af
Loading…
Cancel
Save