diff --git a/.gitignore b/.gitignore index be70ce5..a3d56d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /sha1_smol-1.0.0.crate +/sha1_smol-1.0.1.crate diff --git a/rust-sha1_smol.spec b/rust-sha1_smol.spec index 0cd85e1..3b46c68 100644 --- a/rust-sha1_smol.spec +++ b/rust-sha1_smol.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate sha1_smol Name: rust-sha1_smol -Version: 1.0.0 +Version: 1.0.1 Release: %autorelease -Summary: Minimal dependency free implementation of SHA1 for Rust +Summary: Minimal dependency-free implementation of SHA1 for Rust License: BSD-3-Clause URL: https://crates.io/crates/sha1_smol Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Minimal dependency free implementation of SHA1 for Rust.} +Minimal dependency-free implementation of SHA1 for Rust.} %description %{_description} @@ -31,6 +31,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/AUTHORS %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -46,6 +47,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -71,7 +84,7 @@ use the "std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index d365afb..867afeb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sha1_smol-1.0.0.crate) = 75d6809a2aafd47cd5f5888f42283985895a9c82b53ead7529a23cd6f2484f32654094dda7a9e5d93e82afc9d0049938def1bdc28803502d140d06a3496adea7 +SHA512 (sha1_smol-1.0.1.crate) = d0a67ca75b0617a39d28fdd73ae9aae3d3bf01ba24f6cc579b26da6f06125a304be90d446d17775959ab96ab165145657a54173679e6c0f42562a61c0e932b79