diff --git a/.gitignore b/.gitignore index 95361c7..518d772 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /ordered-float-2.7.0.crate /ordered-float-2.8.0.crate /ordered-float-2.10.0.crate +/ordered-float-3.0.0.crate diff --git a/rust-ordered-float.spec b/rust-ordered-float.spec index e10143e..4a4598e 100644 --- a/rust-ordered-float.spec +++ b/rust-ordered-float.spec @@ -1,22 +1,21 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate ordered-float -Name: rust-%{crate} -Version: 2.10.0 +Name: rust-ordered-float +Version: 3.0.0 Release: %autorelease Summary: Wrappers for total ordering on floats -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/ordered-float Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Wrappers for total ordering on floats.} @@ -33,9 +32,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +46,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+arbitrary-devel Summary: %{summary} @@ -59,7 +58,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proptest-devel Summary: %{summary} @@ -71,7 +70,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand-devel Summary: %{summary} @@ -83,7 +82,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+randtest-devel Summary: %{summary} @@ -95,7 +94,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rkyv-devel Summary: %{summary} @@ -107,7 +106,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -119,7 +118,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -131,7 +130,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/.rust2rpm.conf b/rust2rpm.conf similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf diff --git a/sources b/sources index 2ad656f..3e6221c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ordered-float-2.10.0.crate) = cb883ddd723d1bedfe13d16c9546dcb84d17d4fb1c6dc6d632a0c385d80b0b881694b3364a406e5d7f073c5a7e9e80810f343dd1d6f22df6188322b3e89cf77f +SHA512 (ordered-float-3.0.0.crate) = 831c641b34513c93408d948d23a6e120bd32a27a29531906cab3a26e8836e38771ad7e4f95c0a150984618785fb6f5aaa6f2de5aa6214a3b4b9fbed9a89e49c4