diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67f7bc2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/ordered-float-2.10.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 086bffe..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-ordered-float2 - -The rust-ordered-float2 package diff --git a/rust-ordered-float2.spec b/rust-ordered-float2.spec new file mode 100644 index 0000000..fc40cf2 --- /dev/null +++ b/rust-ordered-float2.spec @@ -0,0 +1,154 @@ +# Generated by rust2rpm 22 +%bcond_without check +%global debug_package %{nil} + +%global crate ordered-float + +Name: rust-ordered-float2 +Version: 2.10.0 +Release: %autorelease +Summary: Wrappers for total ordering on floats + +License: MIT +URL: https://crates.io/crates/ordered-float +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Wrappers for total ordering on floats.} + +%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-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}+arbitrary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arbitrary-devel %{_description} + +This package contains library source intended for building other packages which +use the "arbitrary" feature of the "%{crate}" crate. + +%files -n %{name}+arbitrary-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+proptest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+proptest-devel %{_description} + +This package contains library source intended for building other packages which +use the "proptest" feature of the "%{crate}" crate. + +%files -n %{name}+proptest-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rand-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand-devel %{_description} + +This package contains library source intended for building other packages which +use the "rand" feature of the "%{crate}" crate. + +%files -n %{name}+rand-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+randtest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+randtest-devel %{_description} + +This package contains library source intended for building other packages which +use the "randtest" feature of the "%{crate}" crate. + +%files -n %{name}+randtest-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rkyv-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rkyv-devel %{_description} + +This package contains library source intended for building other packages which +use the "rkyv" feature of the "%{crate}" crate. + +%files -n %{name}+rkyv-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}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-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/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..7e50102 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +unwanted-features = + schemars diff --git a/sources b/sources new file mode 100644 index 0000000..2ad656f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ordered-float-2.10.0.crate) = cb883ddd723d1bedfe13d16c9546dcb84d17d4fb1c6dc6d632a0c385d80b0b881694b3364a406e5d7f073c5a7e9e80810f343dd1d6f22df6188322b3e89cf77f