## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 25 %bcond_with check %global debug_package %{nil} %global crate psa-crypto Name: rust-psa-crypto Version: 0.12.0 Release: %autorelease Summary: Wrapper around the PSA Cryptography API License: Apache-2.0 URL: https://crates.io/crates/psa-crypto Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Wrapper around the PSA Cryptography API.} %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}/ %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}+interface-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+interface-devel %{_description} This package contains library source intended for building other packages which use the "interface" feature of the "%{crate}" crate. %files -n %{name}+interface-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+operations-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+operations-devel %{_description} This package contains library source intended for building other packages which use the "operations" feature of the "%{crate}" crate. %files -n %{name}+operations-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+prefix-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+prefix-devel %{_description} This package contains library source intended for building other packages which use the "prefix" feature of the "%{crate}" crate. %files -n %{name}+prefix-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 -a %install %cargo_install -a %if %{with check} %check %cargo_test -a %endif %changelog ## START: Generated by rpmautospec * Sun Jan 19 2025 Fedora Release Engineering - 0.12.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jul 20 2024 Fedora Release Engineering - 0.12.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Peter Robinson - 0.12.0-1 - 0.12.0 * Sun Aug 06 2023 Peter Robinson - 0.10.0-1 - Update to 0.10.0 * Fri Jul 21 2023 Fedora Release Engineering - 0.9.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.9.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Sep 13 2022 Peter Robinson - 0.9.2-3 - Disable check to fix s390/power builds * Tue Sep 13 2022 Peter Robinson - 0.9.2-2 - run bindgen for all arches * Sat Jul 23 2022 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Feb 20 2022 Peter Robinson - 0.9.1-1 - Update to 0.9.1 * Fri Jan 21 2022 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Aug 07 2021 Peter Robinson - 0.9.0-1 - Update to 0.9.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Mar 19 2021 Peter Robinson - 0.8.0-1 - Update to 0.8.0 * Mon Feb 15 2021 Peter Robinson - 0.7.0-1 - Update to 0.7.0 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Oct 21 2020 Peter Robinson - 0.6.0-1 - Update to 0.6.0 * Tue Sep 08 2020 Peter Robinson - 0.5.1-1 - Update to 0.5.1 * Tue Aug 25 2020 Peter Robinson - 0.5.0-1 - Update to 0.5.0 * Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 16 2020 Peter Robinson - 0.3.0-1 - Initial package ## END: Generated by rpmautospec