## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 opendal Name: rust-opendal Version: 0.53.1 Release: %autorelease Summary: Apache OpenDALâ„¢: One Layer, All Storage License: Apache-2.0 URL: https://crates.io/crates/opendal Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: opendal-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * Bump size version # * Remove criterion dev dependency # * Remove opentelemetry dev dependency # * Remove fasttrace dev dependency # * Remove libtest-mimic dev dependency Patch: opendal-fix-metadata.diff # * Don't compile docs as services-s3 is not enabled Patch3: opendal-dont-compile-docs.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Apache OpenDALâ„¢: One Layer, All Storage.} %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 %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/DEPENDENCIES.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/users.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}+executors-tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+executors-tokio-devel %{_description} This package contains library source intended for building other packages which use the "executors-tokio" feature of the "%{crate}" crate. %files -n %{name}+executors-tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hdfs-native-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hdfs-native-devel %{_description} This package contains library source intended for building other packages which use the "hdfs-native" feature of the "%{crate}" crate. %files -n %{name}+hdfs-native-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+internal-path-cache-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+internal-path-cache-devel %{_description} This package contains library source intended for building other packages which use the "internal-path-cache" feature of the "%{crate}" crate. %files -n %{name}+internal-path-cache-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+internal-tokio-rt-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+internal-tokio-rt-devel %{_description} This package contains library source intended for building other packages which use the "internal-tokio-rt" feature of the "%{crate}" crate. %files -n %{name}+internal-tokio-rt-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+services-fs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+services-fs-devel %{_description} This package contains library source intended for building other packages which use the "services-fs" feature of the "%{crate}" crate. %files -n %{name}+services-fs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+services-memcached-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+services-memcached-devel %{_description} This package contains library source intended for building other packages which use the "services-memcached" feature of the "%{crate}" crate. %files -n %{name}+services-memcached-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+services-opfs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+services-opfs-devel %{_description} This package contains library source intended for building other packages which use the "services-opfs" feature of the "%{crate}" crate. %files -n %{name}+services-opfs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+services-webdav-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+services-webdav-devel %{_description} This package contains library source intended for building other packages which use the "services-webdav" feature of the "%{crate}" crate. %files -n %{name}+services-webdav-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tests-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tests-devel %{_description} This package contains library source intended for building other packages which use the "tests" feature of the "%{crate}" crate. %files -n %{name}+tests-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tikv-client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tikv-client-devel %{_description} This package contains library source intended for building other packages which use the "tikv-client" feature of the "%{crate}" crate. %files -n %{name}+tikv-client-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f services-fs,services-memcached,services-webdav %build %cargo_build -f services-fs,services-memcached,services-webdav %install %cargo_install -f services-fs,services-memcached,services-webdav %if %{with check} %check %cargo_test -f services-fs,services-memcached,services-webdav %endif %changelog ## START: Generated by rpmautospec * Sun Apr 20 2025 Andreas Schneider - 0.53.1-1 - Update to version 0.53.1 * Sun Apr 06 2025 Andreas Schneider - 0.53.0-1 - Update to version 0.53 * Tue Apr 01 2025 Andreas Schneider - 0.52.0-1 - The big bang! ## END: Generated by rpmautospec