Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

@ -1,19 +1,22 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 20
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate digest %global crate digest
Name: rust-digest0.9 Name: rust-%{crate}0.9
Version: 0.9.0 Version: 0.9.0
Release: %autorelease Release: %autorelease
Summary: Traits for cryptographic hash functions Summary: Traits for cryptographic hash functions
License: MIT OR Apache-2.0 # Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/digest URL: https://crates.io/crates/digest
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Traits for cryptographic hash functions.} Traits for cryptographic hash functions.}
@ -30,11 +33,9 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/LICENSE-APACHE %license LICENSE-APACHE LICENSE-MIT
%license %{crate_instdir}/LICENSE-MIT %doc CHANGELOG.md README.md
%doc %{crate_instdir}/CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -46,7 +47,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+alloc-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
@ -58,7 +59,7 @@ This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel %files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+blobby-devel %package -n %{name}+blobby-devel
Summary: %{summary} Summary: %{summary}
@ -70,7 +71,7 @@ This package contains library source intended for building other packages which
use the "blobby" feature of the "%{crate}" crate. use the "blobby" feature of the "%{crate}" crate.
%files -n %{name}+blobby-devel %files -n %{name}+blobby-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+dev-devel %package -n %{name}+dev-devel
Summary: %{summary} Summary: %{summary}
@ -82,7 +83,7 @@ This package contains library source intended for building other packages which
use the "dev" feature of the "%{crate}" crate. use the "dev" feature of the "%{crate}" crate.
%files -n %{name}+dev-devel %files -n %{name}+dev-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -94,7 +95,7 @@ This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save