## START: Set by rpmautospec ## (rpmautospec version 0.3.8) ## 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 25 %bcond_without check %global debug_package %{nil} %global crate gzp Name: rust-gzp Version: 0.11.3 Release: %autorelease Summary: Parallel Compression # Upstream license specification: Unlicense/MIT License: Unlicense OR MIT URL: https://crates.io/crates/gzp Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: gzp-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Parallel Compression.} %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-MIT %license %{crate_instdir}/UNLICENSE %doc %{crate_instdir}/CHANGELOG.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}+any_zlib-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+any_zlib-devel %{_description} This package contains library source intended for building other packages which use the "any_zlib" feature of the "%{crate}" crate. %files -n %{name}+any_zlib-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_default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate_default-devel %{_description} This package contains library source intended for building other packages which use the "deflate_default" feature of the "%{crate}" crate. %files -n %{name}+deflate_default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deflate_rust-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deflate_rust-devel %{_description} This package contains library source intended for building other packages which use the "deflate_rust" feature of the "%{crate}" crate. %files -n %{name}+deflate_rust-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}+flate2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+flate2-devel %{_description} This package contains library source intended for building other packages which use the "flate2" feature of the "%{crate}" crate. %files -n %{name}+flate2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libdeflate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libdeflate-devel %{_description} This package contains library source intended for building other packages which use the "libdeflate" feature of the "%{crate}" crate. %files -n %{name}+libdeflate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libdeflater-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libdeflater-devel %{_description} This package contains library source intended for building other packages which use the "libdeflater" feature of the "%{crate}" crate. %files -n %{name}+libdeflater-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libz-sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libz-sys-devel %{_description} This package contains library source intended for building other packages which use the "libz-sys" feature of the "%{crate}" crate. %files -n %{name}+libz-sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+snap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+snap-devel %{_description} This package contains library source intended for building other packages which use the "snap" feature of the "%{crate}" crate. %files -n %{name}+snap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+snappy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+snappy-devel %{_description} This package contains library source intended for building other packages which use the "snappy" feature of the "%{crate}" crate. %files -n %{name}+snappy-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+snappy_default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+snappy_default-devel %{_description} This package contains library source intended for building other packages which use the "snappy_default" feature of the "%{crate}" crate. %files -n %{name}+snappy_default-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 Dec 23 2023 Aleksei Bavshin - 0.11.3-1 - Initial package ## END: Generated by rpmautospec