# Generated by rust2rpm 26 # Tests broken: https://github.com/Devolutions/picky-rs/pull/327 %bcond_with check %global debug_package %{nil} %global crate picky %global crate_version 7.0.0-rc.10 Name: rust-picky Version: 7.0.0~rc.10 Release: %autorelease Summary: Portable X.509, PKI, JOSE and HTTP signature implementation License: MIT OR Apache-2.0 URL: https://crates.io/crates/picky Source: %{crates_source %{crate} %{crate_version}} BuildRequires: cargo-rpm-macros >= 24 Patch0000: 0001-rstest-0.23.patch %global _description %{expand: Portable X.509, PKI, JOSE and HTTP signature implementation.} %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}+chrono_conversion-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono_conversion-devel %{_description} This package contains library source intended for building other packages which use the "chrono_conversion" feature of the "%{crate}" crate. %files -n %{name}+chrono_conversion-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ctl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ctl-devel %{_description} This package contains library source intended for building other packages which use the "ctl" feature of the "%{crate}" crate. %files -n %{name}+ctl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ctl_http_fetch-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ctl_http_fetch-devel %{_description} This package contains library source intended for building other packages which use the "ctl_http_fetch" feature of the "%{crate}" crate. %files -n %{name}+ctl_http_fetch-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http_signature-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+http_signature-devel %{_description} This package contains library source intended for building other packages which use the "http_signature" feature of the "%{crate}" crate. %files -n %{name}+http_signature-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http_timestamp-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+http_timestamp-devel %{_description} This package contains library source intended for building other packages which use the "http_timestamp" feature of the "%{crate}" crate. %files -n %{name}+http_timestamp-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http_trait_impl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+http_trait_impl-devel %{_description} This package contains library source intended for building other packages which use the "http_trait_impl" feature of the "%{crate}" crate. %files -n %{name}+http_trait_impl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+jose-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+jose-devel %{_description} This package contains library source intended for building other packages which use the "jose" feature of the "%{crate}" crate. %files -n %{name}+jose-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pkcs12-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pkcs12-devel %{_description} This package contains library source intended for building other packages which use the "pkcs12" feature of the "%{crate}" crate. %files -n %{name}+pkcs12-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pkcs7-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pkcs7-devel %{_description} This package contains library source intended for building other packages which use the "pkcs7" feature of the "%{crate}" crate. %files -n %{name}+pkcs7-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+putty-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+putty-devel %{_description} This package contains library source intended for building other packages which use the "putty" feature of the "%{crate}" crate. %files -n %{name}+putty-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ssh-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ssh-devel %{_description} This package contains library source intended for building other packages which use the "ssh" feature of the "%{crate}" crate. %files -n %{name}+ssh-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+time_conversion-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time_conversion-devel %{_description} This package contains library source intended for building other packages which use the "time_conversion" feature of the "%{crate}" crate. %files -n %{name}+time_conversion-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wincert-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wincert-devel %{_description} This package contains library source intended for building other packages which use the "wincert" feature of the "%{crate}" crate. %files -n %{name}+wincert-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x509-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x509-devel %{_description} This package contains library source intended for building other packages which use the "x509" feature of the "%{crate}" crate. %files -n %{name}+x509-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{crate_version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog