Compare commits

..

2 Commits

Author SHA1 Message Date
Fabio Valentini df51c1183a
Merge branch 'rawhide' into epel9
2 years ago
Igor Raits 4709e748f3
Rebuild
3 years ago

@ -0,0 +1,3 @@
# rust-rand_chacha
The rust-rand_chacha package

@ -1,19 +1,25 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 18
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate rand_chacha %global crate rand_chacha
Name: rust-rand_chacha Name: rust-%{crate}
Version: 0.3.1 Version: 0.3.1
Release: %autorelease Release: %autorelease
Summary: ChaCha random number generator Summary: ChaCha random number generator
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/rand_chacha URL: https://crates.io/crates/rand_chacha
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
ChaCha random number generator.} ChaCha random number generator.}
@ -26,16 +32,13 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "%{crate}" crate. which use "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/COPYRIGHT %license LICENSE-MIT LICENSE-APACHE COPYRIGHT
%license %{crate_instdir}/LICENSE-APACHE %doc README.md CHANGELOG.md
%license %{crate_instdir}/LICENSE-MIT %{cargo_registry}/%{crate}-%{version_no_tilde}/
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -43,11 +46,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "default" feature of the "%{crate}" crate. which use "default" feature of "%{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}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -55,11 +58,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "serde" feature of the "%{crate}" crate. which use "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde1-devel %package -n %{name}+serde1-devel
Summary: %{summary} Summary: %{summary}
@ -67,11 +70,11 @@ BuildArch: noarch
%description -n %{name}+serde1-devel %{_description} %description -n %{name}+serde1-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "serde1" feature of the "%{crate}" crate. which use "serde1" feature of "%{crate}" crate.
%files -n %{name}+serde1-devel %files -n %{name}+serde1-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+simd-devel %package -n %{name}+simd-devel
Summary: %{summary} Summary: %{summary}
@ -79,11 +82,11 @@ BuildArch: noarch
%description -n %{name}+simd-devel %{_description} %description -n %{name}+simd-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "simd" feature of the "%{crate}" crate. which use "simd" feature of "%{crate}" crate.
%files -n %{name}+simd-devel %files -n %{name}+simd-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}
@ -91,11 +94,11 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "std" feature of the "%{crate}" crate. which use "std" feature of "%{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