# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate keyring Name: rust-keyring Version: 3.6.3 Release: %autorelease Summary: Cross-platform library for managing passwords/credentials License: MIT OR Apache-2.0 URL: https://crates.io/crates/keyring Source: keyring-3.6.3.crate # Automatically generated patch to strip dependencies and normalize metadata Patch: keyring-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cross-platform library for managing passwords/credentials.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CHANGELOG.md %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}+apple-native-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+apple-native-devel %{_description} This package contains library source intended for building other packages which use the "apple-native" feature of the "%{crate}" crate. %files -n %{name}+apple-native-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-io-devel %{_description} This package contains library source intended for building other packages which use the "async-io" feature of the "%{crate}" crate. %files -n %{name}+async-io-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-secret-service-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-secret-service-devel %{_description} This package contains library source intended for building other packages which use the "async-secret-service" feature of the "%{crate}" crate. %files -n %{name}+async-secret-service-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crypto-openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+crypto-openssl-devel %{_description} This package contains library source intended for building other packages which use the "crypto-openssl" feature of the "%{crate}" crate. %files -n %{name}+crypto-openssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crypto-rust-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+crypto-rust-devel %{_description} This package contains library source intended for building other packages which use the "crypto-rust" feature of the "%{crate}" crate. %files -n %{name}+crypto-rust-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+linux-native-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+linux-native-devel %{_description} This package contains library source intended for building other packages which use the "linux-native" feature of the "%{crate}" crate. %files -n %{name}+linux-native-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+linux-native-async-persistent-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+linux-native-async-persistent-devel %{_description} This package contains library source intended for building other packages which use the "linux-native-async-persistent" feature of the "%{crate}" crate. %files -n %{name}+linux-native-async-persistent-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+linux-native-sync-persistent-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+linux-native-sync-persistent-devel %{_description} This package contains library source intended for building other packages which use the "linux-native-sync-persistent" feature of the "%{crate}" crate. %files -n %{name}+linux-native-sync-persistent-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+openssl-devel %{_description} This package contains library source intended for building other packages which use the "openssl" feature of the "%{crate}" crate. %files -n %{name}+openssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sync-secret-service-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sync-secret-service-devel %{_description} This package contains library source intended for building other packages which use the "sync-secret-service" feature of the "%{crate}" crate. %files -n %{name}+sync-secret-service-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+vendored-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+vendored-devel %{_description} This package contains library source intended for building other packages which use the "vendored" feature of the "%{crate}" crate. %files -n %{name}+vendored-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+windows-native-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+windows-native-devel %{_description} This package contains library source intended for building other packages which use the "windows-native" feature of the "%{crate}" crate. %files -n %{name}+windows-native-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n keyring-3.6.3 -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog