# Generated by rust2rpm 24 %bcond_with check %global debug_package %{nil} %global crate bollard Name: rust-bollard Version: 0.14.0 Release: %autorelease Summary: Asynchronous Docker daemon API License: Apache-2.0 URL: https://crates.io/crates/bollard Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: bollard-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 BuildRequires: rust-base64+default-devel >= 0.21.0, rust-base64+default-devel < 0.22.0 BuildRequires: rust-bytes+default-devel >= 1.0.0, rust-bytes+default-devel < 2.0.0 BuildRequires: rust-flate2+default-devel >= 1.0.0, rust-flate2+default-devel < 2.0.0 BuildRequires: rust-futures-core+default-devel >= 0.3.0, rust-futures-core+default-devel < 0.4.0 BuildRequires: rust-futures-util+default-devel >= 0.3.0, rust-futures-util+default-devel < 0.4.0 BuildRequires: rust-hex+default-devel >= 0.4.2, rust-hex+default-devel < 0.5.0 BuildRequires: rust-http+default-devel >= 0.2.0, rust-http+default-devel < 0.3.0 BuildRequires: rust-hyper+client-devel >= 0.14.0, rust-hyper+client-devel < 0.15.0 BuildRequires: rust-hyper+default-devel >= 0.14.0, rust-hyper+default-devel < 0.15.0 BuildRequires: rust-hyper+http1-devel >= 0.14.0, rust-hyper+http1-devel < 0.15.0 BuildRequires: rust-hyper+http2-devel >= 0.14.0, rust-hyper+http2-devel < 0.15.0 BuildRequires: rust-hyper+stream-devel >= 0.14.0, rust-hyper+stream-devel < 0.15.0 BuildRequires: rust-hyper+tcp-devel >= 0.14.0, rust-hyper+tcp-devel < 0.15.0 BuildRequires: rust-hyperlocal+default-devel >= 0.8.0, rust-hyperlocal+default-devel < 0.9.0 BuildRequires: rust-log+default-devel >= 0.4.0, rust-log+default-devel < 0.5.0 BuildRequires: rust-pin-project-lite+default-devel >= 0.2.8, rust-pin-project-lite+default-devel < 0.3.0 BuildRequires: rust-serde+default-devel >= 1.0.0, rust-serde+default-devel < 2.0.0 BuildRequires: rust-serde_derive+default-devel >= 1.0.0, rust-serde_derive+default-devel < 2.0.0 BuildRequires: rust-serde_json+default-devel >= 1.0.0, rust-serde_json+default-devel < 2.0.0 BuildRequires: rust-serde_repr+default-devel >= 0.1.6, rust-serde_repr+default-devel < 0.2.0 BuildRequires: rust-serde_urlencoded+default-devel >= 0.7.0, rust-serde_urlencoded+default-devel < 0.8.0 BuildRequires: rust-tar+default-devel >= 0.4.0, rust-tar+default-devel < 0.5.0 BuildRequires: rust-termion+default-devel >= 2.0.0, rust-termion+default-devel < 3.0.0 BuildRequires: rust-thiserror+default-devel >= 1.0.0, rust-thiserror+default-devel < 2.0.0 BuildRequires: rust-tokio-util+codec-devel >= 0.7.0, rust-tokio-util+codec-devel < 0.8.0 BuildRequires: rust-tokio-util+default-devel >= 0.7.0, rust-tokio-util+default-devel < 0.8.0 BuildRequires: rust-tokio+default-devel >= 1.7.0, rust-tokio+default-devel < 2.0.0 BuildRequires: rust-tokio+fs-devel >= 1.7.0, rust-tokio+fs-devel < 2.0.0 BuildRequires: rust-tokio+io-util-devel >= 1.7.0, rust-tokio+io-util-devel < 2.0.0 BuildRequires: rust-tokio+macros-devel >= 1.7.0, rust-tokio+macros-devel < 2.0.0 BuildRequires: rust-tokio+net-devel >= 1.7.0, rust-tokio+net-devel < 2.0.0 BuildRequires: rust-tokio+rt-multi-thread-devel >= 1.7.0, rust-tokio+rt-multi-thread-devel < 2.0.0 BuildRequires: rust-tokio+time-devel >= 1.7.0, rust-tokio+time-devel < 2.0.0 BuildRequires: rust-url+default-devel >= 2.2.0, rust-url+default-devel < 3.0.0 BuildRequires: rust-yup-hyper-mock+default-devel >= 6.0.0, rust-yup-hyper-mock+default-devel < 7.0.0 BuildRequires: rust-bollard-stubs-devel = 1.42.0~rc.7 %global _description %{expand: An asynchronous Docker daemon API.} %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 %license %{crate_instdir}/resources/dockerfiles/windows/registry/LICENSE %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}+bollard-buildkit-proto-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bollard-buildkit-proto-devel %{_description} This package contains library source intended for building other packages which use the "bollard-buildkit-proto" feature of the "%{crate}" crate. %files -n %{name}+bollard-buildkit-proto-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+buildkit-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+buildkit-devel %{_description} This package contains library source intended for building other packages which use the "buildkit" feature of the "%{crate}" crate. %files -n %{name}+buildkit-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ct-logs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ct-logs-devel %{_description} This package contains library source intended for building other packages which use the "ct-logs" feature of the "%{crate}" crate. %files -n %{name}+ct-logs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ct_logs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ct_logs-devel %{_description} This package contains library source intended for building other packages which use the "ct_logs" feature of the "%{crate}" crate. %files -n %{name}+ct_logs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dirs-next-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dirs-next-devel %{_description} This package contains library source intended for building other packages which use the "dirs-next" feature of the "%{crate}" crate. %files -n %{name}+dirs-next-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hyper-rustls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hyper-rustls-devel %{_description} This package contains library source intended for building other packages which use the "hyper-rustls" feature of the "%{crate}" crate. %files -n %{name}+hyper-rustls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+json_data_content-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json_data_content-devel %{_description} This package contains library source intended for building other packages which use the "json_data_content" feature of the "%{crate}" crate. %files -n %{name}+json_data_content-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+num-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+num-devel %{_description} This package contains library source intended for building other packages which use the "num" feature of the "%{crate}" crate. %files -n %{name}+num-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand-devel %{_description} This package contains library source intended for building other packages which use the "rand" feature of the "%{crate}" crate. %files -n %{name}+rand-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustls-devel %{_description} This package contains library source intended for building other packages which use the "rustls" feature of the "%{crate}" crate. %files -n %{name}+rustls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustls-native-certs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustls-native-certs-devel %{_description} This package contains library source intended for building other packages which use the "rustls-native-certs" feature of the "%{crate}" crate. %files -n %{name}+rustls-native-certs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rustls-pemfile-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustls-pemfile-devel %{_description} This package contains library source intended for building other packages which use the "rustls-pemfile" feature of the "%{crate}" crate. %files -n %{name}+rustls-pemfile-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ssl-devel %{_description} This package contains library source intended for building other packages which use the "ssl" feature of the "%{crate}" crate. %files -n %{name}+ssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+test_http-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+test_http-devel %{_description} This package contains library source intended for building other packages which use the "test_http" feature of the "%{crate}" crate. %files -n %{name}+test_http-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+test_macos-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+test_macos-devel %{_description} This package contains library source intended for building other packages which use the "test_macos" feature of the "%{crate}" crate. %files -n %{name}+test_macos-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+test_ssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+test_ssl-devel %{_description} This package contains library source intended for building other packages which use the "test_ssl" feature of the "%{crate}" crate. %files -n %{name}+test_ssl-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}+tonic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tonic-devel %{_description} This package contains library source intended for building other packages which use the "tonic" feature of the "%{crate}" crate. %files -n %{name}+tonic-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tower-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tower-devel %{_description} This package contains library source intended for building other packages which use the "tower" feature of the "%{crate}" crate. %files -n %{name}+tower-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tower-service-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tower-service-devel %{_description} This package contains library source intended for building other packages which use the "tower-service" feature of the "%{crate}" crate. %files -n %{name}+tower-service-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+webpki-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+webpki-devel %{_description} This package contains library source intended for building other packages which use the "webpki" feature of the "%{crate}" crate. %files -n %{name}+webpki-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+webpki-roots-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+webpki-roots-devel %{_description} This package contains library source intended for building other packages which use the "webpki-roots" feature of the "%{crate}" crate. %files -n %{name}+webpki-roots-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog