commit 6fa3218c60e52a8946e0452def611d21fc472333 Author: tigro Date: Mon Jan 15 22:30:58 2024 +0300 import rust-rustls-webpki-0.101.7-1.el9 diff --git a/.rust-rustls-webpki.metadata b/.rust-rustls-webpki.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/rustls-webpki-0.101.7.crate b/SOURCES/rustls-webpki-0.101.7.crate new file mode 100644 index 0000000..44b5878 Binary files /dev/null and b/SOURCES/rustls-webpki-0.101.7.crate differ diff --git a/SPECS/rust-rustls-webpki.spec b/SPECS/rust-rustls-webpki.spec new file mode 100644 index 0000000..623c593 --- /dev/null +++ b/SPECS/rust-rustls-webpki.spec @@ -0,0 +1,124 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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 25 +# * missing dev-dependencies: rcgen ^0.11.1 +%bcond_with check +%global debug_package %{nil} + +%global crate rustls-webpki + +Name: rust-rustls-webpki +Version: 0.101.7 +Release: %autorelease +Summary: Web PKI X.509 Certificate Verification + +License: ISC +URL: https://crates.io/crates/rustls-webpki +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Web PKI X.509 Certificate Verification.} + +%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 +%doc %{crate_instdir}/README.md +%{crate_instdir}/ +# exclude integration tests and associated data from installed files +%exclude %{crate_instdir}/tests/ +%exclude %{crate_instdir}/third-party/ + +%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} -p1 +%cargo_prep +# drop tests which require files that are not included in published crates +rm tests/integration.rs + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.101.7-1 +- Rebuilt for MSVSphere 9.3 + +* Wed Oct 25 2023 Fabio Valentini - 0.101.7-1 +- Update to version 0.101.7; Fixes RHBZ#2219642 + +* Tue Oct 10 2023 Fabio Valentini - 0.100.3-1 +- Update to version 0.100.3 + +* Wed Aug 23 2023 Fabio Valentini - 0.100.2-1 +- Update to version 0.100.2 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.100.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 28 2023 Fabio Valentini - 0.100.1-1 +- Initial import (#2214364)