## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 rusty_paseto Name: rust-rusty_paseto Version: 0.8.0 Release: %autorelease Summary: Type-driven, ergonomic alternative to JWT for secure stateless PASETO tokens License: MIT OR Apache-2.0 URL: https://crates.io/crates/rusty_paseto Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop example code and example-only dev-dependencies # * relax iso8601 dependency to >= 0.4 and < 0.7 Patch: rusty_paseto-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A type-driven, ergonomic alternative to JWT for secure stateless PASETO tokens.} %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.md %doc %{crate_instdir}/CODE_OF_CONDUCT.md %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/Changelog.md %doc %{crate_instdir}/SECURITY.md %doc %{crate_instdir}/readme.md %doc %{crate_instdir}/readme_crates_io.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}+aes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+aes-devel %{_description} This package contains library source intended for building other packages which use the "aes" feature of the "%{crate}" crate. %files -n %{name}+aes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+batteries_included-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+batteries_included-devel %{_description} This package contains library source intended for building other packages which use the "batteries_included" feature of the "%{crate}" crate. %files -n %{name}+batteries_included-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+blake2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+blake2-devel %{_description} This package contains library source intended for building other packages which use the "blake2" feature of the "%{crate}" crate. %files -n %{name}+blake2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chacha20-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chacha20-devel %{_description} This package contains library source intended for building other packages which use the "chacha20" feature of the "%{crate}" crate. %files -n %{name}+chacha20-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+core-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+core-devel %{_description} This package contains library source intended for building other packages which use the "core" feature of the "%{crate}" crate. %files -n %{name}+core-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ctr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ctr-devel %{_description} This package contains library source intended for building other packages which use the "ctr" feature of the "%{crate}" crate. %files -n %{name}+ctr-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ed25519-dalek-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ed25519-dalek-devel %{_description} This package contains library source intended for building other packages which use the "ed25519-dalek" feature of the "%{crate}" crate. %files -n %{name}+ed25519-dalek-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+erased-serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+erased-serde-devel %{_description} This package contains library source intended for building other packages which use the "erased-serde" feature of the "%{crate}" crate. %files -n %{name}+erased-serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+generic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+generic-devel %{_description} This package contains library source intended for building other packages which use the "generic" feature of the "%{crate}" crate. %files -n %{name}+generic-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hmac-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hmac-devel %{_description} This package contains library source intended for building other packages which use the "hmac" feature of the "%{crate}" crate. %files -n %{name}+hmac-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+local-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+local-devel %{_description} This package contains library source intended for building other packages which use the "local" feature of the "%{crate}" crate. %files -n %{name}+local-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}+public-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+public-devel %{_description} This package contains library source intended for building other packages which use the "public" feature of the "%{crate}" crate. %files -n %{name}+public-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}+v1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1-devel %{_description} This package contains library source intended for building other packages which use the "v1" feature of the "%{crate}" crate. %files -n %{name}+v1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_local-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_local-devel %{_description} This package contains library source intended for building other packages which use the "v1_local" feature of the "%{crate}" crate. %files -n %{name}+v1_local-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_public-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_public-devel %{_description} This package contains library source intended for building other packages which use the "v1_public" feature of the "%{crate}" crate. %files -n %{name}+v1_public-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}+v2_public-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_public-devel %{_description} This package contains library source intended for building other packages which use the "v2_public" feature of the "%{crate}" crate. %files -n %{name}+v2_public-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}+v3_local-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v3_local-devel %{_description} This package contains library source intended for building other packages which use the "v3_local" feature of the "%{crate}" crate. %files -n %{name}+v3_local-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v3_public-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v3_public-devel %{_description} This package contains library source intended for building other packages which use the "v3_public" feature of the "%{crate}" crate. %files -n %{name}+v3_public-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 %package -n %{name}+v4_local-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v4_local-devel %{_description} This package contains library source intended for building other packages which use the "v4_local" feature of the "%{crate}" crate. %files -n %{name}+v4_local-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_public-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v4_public-devel %{_description} This package contains library source intended for building other packages which use the "v4_public" feature of the "%{crate}" crate. %files -n %{name}+v4_public-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 * Fri Oct 10 2025 Benjamin A. Beasley - 0.8.0-1 - Update to version 0.8.0; Fixes RHBZ#2401731 * Fri Jul 25 2025 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sat May 03 2025 Fabio Valentini - 0.7.2-1 - Update to version 0.7.2; Fixes RHBZ#2331123 * Sun Jan 19 2025 Fedora Release Engineering - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jul 20 2024 Fedora Release Engineering - 0.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jul 05 2024 Cristian Le - 0.7.1-2 - hide chacha20poly1305 related features * Fri Jul 05 2024 Cristian Le - 0.7.1-1 - Initial import (fedora#2283850) ## END: Generated by rpmautospec