Initial import (toml_edit 0.19 compat package)

epel9 imports/e9/rust-toml_edit0.19-0.19.15-1.el9
Fabio Valentini 1 year ago
parent 5ebcba93e7
commit 27942608c7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

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

@ -1,3 +0,0 @@
# rust-toml_edit0.19
The rust-toml_edit0.19 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.19
Version: 0.19.15
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.19.15.crate) = 46d6bd2fea957392ae0ad7e687dad7743b76ee8e8ec76c80d6374ea294d3d09b6f73df0a82c821b9ee3b5268987a4136aa825034309f3cbc1947dbd1af1505dc
Loading…
Cancel
Save