From 8bfa67c957a162fbbfce7fb109550e12adae0909 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:13:48 +0300 Subject: [PATCH] import rust-crypto-common-0.1.6-4.el10 --- .gitignore | 1 + .rust-crypto-common.metadata | 1 + SPECS/rust-crypto-common.spec | 140 ++++++++++++++++++++++++++++++++++ 3 files changed, 142 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-crypto-common.metadata create mode 100644 SPECS/rust-crypto-common.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2326f0e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/crypto-common-0.1.6.crate diff --git a/.rust-crypto-common.metadata b/.rust-crypto-common.metadata new file mode 100644 index 0000000..a75238e --- /dev/null +++ b/.rust-crypto-common.metadata @@ -0,0 +1 @@ +fd9bde627ddb26d91a29eee41624700081962e40 SOURCES/crypto-common-0.1.6.crate diff --git a/SPECS/rust-crypto-common.spec b/SPECS/rust-crypto-common.spec new file mode 100644 index 0000000..7d5089a --- /dev/null +++ b/SPECS/rust-crypto-common.spec @@ -0,0 +1,140 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate crypto-common + +Name: rust-crypto-common +Version: 0.1.6 +Release: %autorelease +Summary: Common cryptographic traits + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/crypto-common +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Common cryptographic traits.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+getrandom-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+getrandom-devel %{_description} + +This package contains library source intended for building other packages which +use the "getrandom" feature of the "%{crate}" crate. + +%files -n %{name}+getrandom-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rand_core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand_core-devel %{_description} + +This package contains library source intended for building other packages which +use the "rand_core" feature of the "%{crate}" crate. + +%files -n %{name}+rand_core-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.1.6-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.1.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Mar 12 2023 Fabio Valentini - 0.1.6-1 +- Update to version 0.1.6; Fixes RHBZ#2177507 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Feb 20 2022 Fabio Valentini - 0.1.3-1 +- Initial import (#2055296) +## END: Generated by rpmautospec