## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 0 %global debug_package %{nil} %global crate zip-extract Name: rust-zip-extract Version: 0.2.3 Release: %autorelease Summary: Archive extraction via zip-rs, automated License: MIT URL: https://crates.io/crates/zip-extract Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: zip-extract-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Archive extraction via zip-rs, automated.} %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.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}+aes-crypto-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+aes-crypto-devel %{_description} This package contains library source intended for building other packages which use the "aes-crypto" feature of the "%{crate}" crate. %files -n %{name}+aes-crypto-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}+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}+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}+deflate-flate2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate-flate2-devel %{_description} This package contains library source intended for building other packages which use the "deflate-flate2" feature of the "%{crate}" crate. %files -n %{name}+deflate-flate2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deflate-miniz-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate-miniz-devel %{_description} This package contains library source intended for building other packages which use the "deflate-miniz" feature of the "%{crate}" crate. %files -n %{name}+deflate-miniz-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deflate-zlib-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate-zlib-devel %{_description} This package contains library source intended for building other packages which use the "deflate-zlib" feature of the "%{crate}" crate. %files -n %{name}+deflate-zlib-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deflate-zlib-ng-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate-zlib-ng-devel %{_description} This package contains library source intended for building other packages which use the "deflate-zlib-ng" feature of the "%{crate}" crate. %files -n %{name}+deflate-zlib-ng-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deflate-zopfli-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate-zopfli-devel %{_description} This package contains library source intended for building other packages which use the "deflate-zopfli" feature of the "%{crate}" crate. %files -n %{name}+deflate-zopfli-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}+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}+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}+unreserved-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unreserved-devel %{_description} This package contains library source intended for building other packages which use the "unreserved" feature of the "%{crate}" crate. %files -n %{name}+unreserved-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 * Sat Aug 16 2025 John Doe - 0.2.3-1 - Uncommitted changes ## END: Generated by rpmautospec