## START: Set by rpmautospec ## (rpmautospec version 0.8.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 28 %bcond check 1 %global debug_package %{nil} %global crate astral_async_zip Name: rust-astral_async_zip Version: 0.0.18 Release: %autorelease Summary: Asynchronous ZIP archive reading/writing crate License: MIT URL: https://crates.io/crates/astral_async_zip Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Omit the actix-multipart example, allowing us to drop dev-dependencies on # actix-multipart (not packaged), actix-web, derive_more (packaged, but the # example wants 1.x instead of 2.x), and uuid. # * Update several dev-dependencies across SemVer boundaries: # https://github.com/astral-sh/rs-async-zip/pull/39. Updates sanitize-filename # 0.5 to 0.6, derive_more 1 to 2, and zip 2 to 8. Patch: astral_async_zip-fix-metadata.diff # * Omit zip64 tests on 32-bit targets Patch10: https://github.com/astral-sh/rs-async-zip/pull/40.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An asynchronous ZIP archive reading/writing crate.} %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}/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}+async-compression-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-compression-devel %{_description} This package contains library source intended for building other packages which use the "async-compression" feature of the "%{crate}" crate. %files -n %{name}+async-compression-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bzip2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bzip2-devel %{_description} This package contains library source intended for building other packages which use the "bzip2" feature of the "%{crate}" crate. %files -n %{name}+bzip2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deflate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate-devel %{_description} This package contains library source intended for building other packages which use the "deflate" feature of the "%{crate}" crate. %files -n %{name}+deflate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deflate64-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate64-devel %{_description} This package contains library source intended for building other packages which use the "deflate64" feature of the "%{crate}" crate. %files -n %{name}+deflate64-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+full-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+full-devel %{_description} This package contains library source intended for building other packages which use the "full" feature of the "%{crate}" crate. %files -n %{name}+full-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+jiff-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+jiff-devel %{_description} This package contains library source intended for building other packages which use the "jiff" feature of the "%{crate}" crate. %files -n %{name}+jiff-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lzma-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lzma-devel %{_description} This package contains library source intended for building other packages which use the "lzma" feature of the "%{crate}" crate. %files -n %{name}+lzma-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}+tokio-fs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-fs-devel %{_description} This package contains library source intended for building other packages which use the "tokio-fs" feature of the "%{crate}" crate. %files -n %{name}+tokio-fs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-util-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-util-devel %{_description} This package contains library source intended for building other packages which use the "tokio-util" feature of the "%{crate}" crate. %files -n %{name}+tokio-util-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xz-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xz-devel %{_description} This package contains library source intended for building other packages which use the "xz" feature of the "%{crate}" crate. %files -n %{name}+xz-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zstd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zstd-devel %{_description} This package contains library source intended for building other packages which use the "zstd" feature of the "%{crate}" crate. %files -n %{name}+zstd-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Wed Jun 03 2026 Benjamin A. Beasley - 0.0.18-1 - Update to version 0.0.18; Fixes RHBZ#2483794 * Tue May 19 2026 Benjamin A. Beasley - 0.0.18~rc4-2 - Omit zip64 tests on 32-bit targets * Mon May 18 2026 Benjamin A. Beasley - 0.0.18~rc4-1 - Update to 0.0.18~rc4 * Sat Jan 17 2026 Fedora Release Engineering - 0.0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sat Nov 22 2025 Benjamin A. Beasley - 0.0.17-1 - Initial package (close RHBZ#2415171) ## END: Generated by rpmautospec