# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate tokio-cron-scheduler Name: rust-tokio-cron-scheduler Version: 0.15.1 Release: %autorelease Summary: Schedule tasks on tokio using cron-like annotation # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/tokio-cron-scheduler Source: tokio-cron-scheduler-0.15.1.crate # Manually created patch for downstream crate metadata changes Patch: tokio-cron-scheduler-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Schedule tasks on tokio using cron-like annotation.} %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}/CONTRIBUTING.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/SECURITY.md %doc %{crate_instdir}/migration.md %doc %{crate_instdir}/nats.md %doc %{crate_instdir}/postgres.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}+async-nats-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-nats-devel %{_description} This package contains library source intended for building other packages which use the "async-nats" feature of the "%{crate}" crate. %files -n %{name}+async-nats-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytes-devel %{_description} This package contains library source intended for building other packages which use the "bytes" feature of the "%{crate}" crate. %files -n %{name}+bytes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+english-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+english-devel %{_description} This package contains library source intended for building other packages which use the "english" feature of the "%{crate}" crate. %files -n %{name}+english-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+english-to-cron-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+english-to-cron-devel %{_description} This package contains library source intended for building other packages which use the "english-to-cron" feature of the "%{crate}" crate. %files -n %{name}+english-to-cron-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+has_bytes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+has_bytes-devel %{_description} This package contains library source intended for building other packages which use the "has_bytes" feature of the "%{crate}" crate. %files -n %{name}+has_bytes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+log-devel %{_description} This package contains library source intended for building other packages which use the "log" feature of the "%{crate}" crate. %files -n %{name}+log-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nats_storage-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nats_storage-devel %{_description} This package contains library source intended for building other packages which use the "nats_storage" feature of the "%{crate}" crate. %files -n %{name}+nats_storage-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+postgres-native-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postgres-native-tls-devel %{_description} This package contains library source intended for building other packages which use the "postgres-native-tls" feature of the "%{crate}" crate. %files -n %{name}+postgres-native-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+postgres-openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postgres-openssl-devel %{_description} This package contains library source intended for building other packages which use the "postgres-openssl" feature of the "%{crate}" crate. %files -n %{name}+postgres-openssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+postgres_native_tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postgres_native_tls-devel %{_description} This package contains library source intended for building other packages which use the "postgres_native_tls" feature of the "%{crate}" crate. %files -n %{name}+postgres_native_tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+postgres_openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postgres_openssl-devel %{_description} This package contains library source intended for building other packages which use the "postgres_openssl" feature of the "%{crate}" crate. %files -n %{name}+postgres_openssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+postgres_storage-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postgres_storage-devel %{_description} This package contains library source intended for building other packages which use the "postgres_storage" feature of the "%{crate}" crate. %files -n %{name}+postgres_storage-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+prost-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+prost-devel %{_description} This package contains library source intended for building other packages which use the "prost" feature of the "%{crate}" crate. %files -n %{name}+prost-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+prost-build-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+prost-build-devel %{_description} This package contains library source intended for building other packages which use the "prost-build" feature of the "%{crate}" crate. %files -n %{name}+prost-build-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+signal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+signal-devel %{_description} This package contains library source intended for building other packages which use the "signal" feature of the "%{crate}" crate. %files -n %{name}+signal-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-postgres-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-postgres-devel %{_description} This package contains library source intended for building other packages which use the "tokio-postgres" feature of the "%{crate}" crate. %files -n %{name}+tokio-postgres-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tracing-subscriber-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-subscriber-devel %{_description} This package contains library source intended for building other packages which use the "tracing-subscriber" feature of the "%{crate}" crate. %files -n %{name}+tracing-subscriber-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n tokio-cron-scheduler-0.15.1 -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog