From d65a194d347ba37f92936ebae688d7b9d37f6f7b Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:34:08 +0300 Subject: [PATCH] import rust-pem-rfc7468-0.7.0-4.el10 --- .gitignore | 1 + .rust-pem-rfc7468.metadata | 1 + SPECS/rust-pem-rfc7468.spec | 135 ++++++++++++++++++++++++++++++++++++ 3 files changed, 137 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-pem-rfc7468.metadata create mode 100644 SPECS/rust-pem-rfc7468.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cfaae57 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pem-rfc7468-0.7.0.crate diff --git a/.rust-pem-rfc7468.metadata b/.rust-pem-rfc7468.metadata new file mode 100644 index 0000000..9e4e773 --- /dev/null +++ b/.rust-pem-rfc7468.metadata @@ -0,0 +1 @@ +396d587858c35e53076d8e954e5a6086b183ea23 SOURCES/pem-rfc7468-0.7.0.crate diff --git a/SPECS/rust-pem-rfc7468.spec b/SPECS/rust-pem-rfc7468.spec new file mode 100644 index 0000000..8aab90e --- /dev/null +++ b/SPECS/rust-pem-rfc7468.spec @@ -0,0 +1,135 @@ +## 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 pem-rfc7468 + +Name: rust-pem-rfc7468 +Version: 0.7.0 +Release: %autorelease +Summary: PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS Structures + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/pem-rfc7468 +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS Structures, implementing +a strict subset of the original Privacy-Enhanced Mail encoding intended +specifically for use with cryptographic keys, certificates, and other +messages. Provides a no_std-friendly, constant-time implementation +suitable for use with cryptographic private keys.} + +%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}+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}+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.7.0-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jun 03 2023 Fabio Valentini - 0.7.0-1 +- Update to version 0.7.0; Fixes RHBZ#2063465 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.2.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jan 11 2022 Fabio Valentini - 0.2.4-1 +- Initial import (#2031927) +## END: Generated by rpmautospec