## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 %bcond_without check %global debug_package %{nil} %global crate webpki Name: rust-webpki Version: 0.22.4 Release: %autorelease Summary: Web PKI X.509 Certificate Verification # * webpki itself is licensed under the terms of the ISC license # * third-party data from chromium is licensed under a 3-Clause BSD license, # but it is only used for integration tests and not included in RPM packages License: ISC URL: https://crates.io/crates/webpki Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * specify license with SPDX identifier in crate metadata # * bump base64 dev-dependency from 0.9.1 to 0.13 Patch: webpki-fix-metadata.diff 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 %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Jan 27 2024 Fedora Release Engineering - 0.22.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Oct 25 2023 Fabio Valentini - 0.22.4-1 - Update to version 0.22.4; Fixes RHBZ#2242792 * Sun Oct 08 2023 Fabio Valentini - 0.22.2-1 - Update to version 0.22.2; Fixes RHBZ#2241556 * Thu Aug 31 2023 Fabio Valentini - 0.22.1-1 - Update to version 0.22.1; Fixes RHBZ#2236328 * Sat Jul 22 2023 Fedora Release Engineering - 0.22.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Mar 18 2023 Fabio Valentini - 0.22.0-1 - Update to version 0.22.0 * Sat Jan 21 2023 Fedora Release Engineering - 0.21.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.21.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 0.21.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.21.4-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 10 2021 Fabio Valentini - 0.21.4-1 - Initial package ## END: Generated by rpmautospec