## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 27 %bcond check 1 %global debug_package %{nil} %global crate pasetors Name: rust-pasetors Version: 0.7.2 Release: %autorelease Summary: PASETO: Platform-Agnostic Security Tokens (in Rust) License: MIT URL: https://crates.io/crates/pasetors Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * remove WASM-specific getrandom/wasm_js dependency Patch: pasetors-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: PASETO: Platform-Agnostic Security Tokens (in Rust).} %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}/CHANGELOG.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/SECURITY.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}+ed25519-compact-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ed25519-compact-devel %{_description} This package contains library source intended for building other packages which use the "ed25519-compact" feature of the "%{crate}" crate. %files -n %{name}+ed25519-compact-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+orion-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+orion-devel %{_description} This package contains library source intended for building other packages which use the "orion" feature of the "%{crate}" crate. %files -n %{name}+orion-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+p384-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+p384-devel %{_description} This package contains library source intended for building other packages which use the "p384" feature of the "%{crate}" crate. %files -n %{name}+p384-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+paserk-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+paserk-devel %{_description} This package contains library source intended for building other packages which use the "paserk" feature of the "%{crate}" crate. %files -n %{name}+paserk-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}+regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_json-devel %{_description} This package contains library source intended for building other packages which use the "serde_json" feature of the "%{crate}" crate. %files -n %{name}+serde_json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha2-devel %{_description} This package contains library source intended for building other packages which use the "sha2" feature of the "%{crate}" crate. %files -n %{name}+sha2-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 %package -n %{name}+time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time-devel %{_description} This package contains library source intended for building other packages which use the "time" feature of the "%{crate}" crate. %files -n %{name}+time-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2-devel %{_description} This package contains library source intended for building other packages which use the "v2" feature of the "%{crate}" crate. %files -n %{name}+v2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v3-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v3-devel %{_description} This package contains library source intended for building other packages which use the "v3" feature of the "%{crate}" crate. %files -n %{name}+v3-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v4-devel %{_description} This package contains library source intended for building other packages which use the "v4" feature of the "%{crate}" crate. %files -n %{name}+v4-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 * Sun Mar 09 2025 Fabio Valentini - 0.7.2-1 - Update to version 0.7.2; Fixes RHBZ#2309098 * Sun Jan 19 2025 Fedora Release Engineering - 0.6.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jul 20 2024 Fedora Release Engineering - 0.6.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.6.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 11 2024 Fabio Valentini - 0.6.8-1 - Update to version 0.6.8; Fixes RHBZ#2254219 * Fri Jul 21 2023 Fedora Release Engineering - 0.6.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 16 2023 Fabio Valentini - 0.6.7-1 - Initial import (#2213269) ## END: Generated by rpmautospec