diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..969f1fa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/toml_edit-0.19.15.crate diff --git a/README.md b/README.md deleted file mode 100644 index 5dda3e6..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-toml_edit0.19 - -The rust-toml_edit0.19 package diff --git a/rust-toml_edit0.19.spec b/rust-toml_edit0.19.spec new file mode 100644 index 0000000..aa570b0 --- /dev/null +++ b/rust-toml_edit0.19.spec @@ -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 diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..1fade42 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["missing dev-dependencies: snapbox, toml-test-data, toml-test-harness"] + diff --git a/sources b/sources new file mode 100644 index 0000000..4254b37 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (toml_edit-0.19.15.crate) = 46d6bd2fea957392ae0ad7e687dad7743b76ee8e8ec76c80d6374ea294d3d09b6f73df0a82c821b9ee3b5268987a4136aa825034309f3cbc1947dbd1af1505dc