diff --git a/.gitignore b/.gitignore index d481c42..b4e0f6b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /signature-1.3.1.crate /signature-1.6.4.crate +/signature-2.1.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 344cfba..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-signature - -The rust-signature package diff --git a/rust-signature.spec b/rust-signature.spec index 16cdb7f..044c220 100644 --- a/rust-signature.spec +++ b/rust-signature.spec @@ -1,20 +1,18 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate signature Name: rust-signature -Version: 1.6.4 +Version: 2.1.0 Release: %autorelease -Summary: Traits for cryptographic signature algorithms (e.g +Summary: Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519) License: Apache-2.0 OR MIT URL: https://crates.io/crates/signature Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -50,64 +48,40 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+derive-preview-devel +%package -n %{name}+alloc-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+derive-preview-devel %{_description} +%description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which -use the "derive-preview" feature of the "%{crate}" crate. +use the "alloc" feature of the "%{crate}" crate. -%files -n %{name}+derive-preview-devel +%files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+digest-devel +%package -n %{name}+derive-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+digest-devel %{_description} +%description -n %{name}+derive-devel %{_description} This package contains library source intended for building other packages which -use the "digest" feature of the "%{crate}" crate. +use the "derive" feature of the "%{crate}" crate. -%files -n %{name}+digest-devel +%files -n %{name}+derive-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+digest-preview-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+digest-preview-devel %{_description} - -This package contains library source intended for building other packages which -use the "digest-preview" feature of the "%{crate}" crate. - -%files -n %{name}+digest-preview-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+hazmat-preview-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+hazmat-preview-devel %{_description} - -This package contains library source intended for building other packages which -use the "hazmat-preview" feature of the "%{crate}" crate. - -%files -n %{name}+hazmat-preview-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+rand-preview-devel +%package -n %{name}+digest-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+rand-preview-devel %{_description} +%description -n %{name}+digest-devel %{_description} This package contains library source intended for building other packages which -use the "rand-preview" feature of the "%{crate}" crate. +use the "digest" feature of the "%{crate}" crate. -%files -n %{name}+rand-preview-devel +%files -n %{name}+digest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand_core-devel @@ -122,18 +96,6 @@ use the "rand_core" feature of the "%{crate}" crate. %files -n %{name}+rand_core-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+signature_derive-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+signature_derive-devel %{_description} - -This package contains library source intended for building other packages which -use the "signature_derive" feature of the "%{crate}" crate. - -%files -n %{name}+signature_derive-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 5558956..d05bf36 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (signature-1.6.4.crate) = 7409b4c26c6f569d486ceeb4648af2bfb9854cd9f35fde11ef0e17ae31cecc4293418e2d86e8101c79737a6d5cf9a8098bfbd64477ff4d2f537aed98eb3424bf +SHA512 (signature-2.1.0.crate) = f903bd4d07bb954992f71a6f4579bbe935282a2b7154fb5090550894a32cc2981b7765f8b24f1a0ac9e41bbf7f32b99a91b8f22e6175323edac44ef43a66125d