diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..88ada86 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/serde_yaml-0.8.26.crate diff --git a/README.md b/README.md deleted file mode 100644 index e1b6cef..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-serde_yaml0.8 - -The rust-serde_yaml0.8 package diff --git a/rust-serde_yaml0.8.spec b/rust-serde_yaml0.8.spec new file mode 100644 index 0000000..bbd00b5 --- /dev/null +++ b/rust-serde_yaml0.8.spec @@ -0,0 +1,71 @@ +# Generated by rust2rpm 22 +%bcond_without check +%global debug_package %{nil} + +%global crate serde_yaml + +Name: rust-serde_yaml0.8 +Version: 0.8.26 +Release: %autorelease +Summary: YAML support for Serde + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/serde_yaml +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +YAML support for Serde.} + +%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 + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -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/sources b/sources new file mode 100644 index 0000000..8a9d870 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (serde_yaml-0.8.26.crate) = f6bde42539fe35dcb09fd506149c564f2056102f15ce275034b33c40ae666e22d6beaecfed8a0048704547f153fe13d52b8b305c95a61007784ee42f6a8372dd