## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 26 %bcond_without check %global crate weezl Name: rust-weezl Version: 0.1.8 Release: %autorelease Summary: Fast LZW compression and decompression License: MIT OR Apache-2.0 URL: https://crates.io/crates/weezl Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency # * Update the tokio-util dev-dependency to 0.7.x # (https://github.com/image-rs/weezl/pull/44) Patch: weezl-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Fast LZW compression and decompression.} %description %{_description} %package -n %{crate} Summary: %{summary} # MIT OR Apache-2.0 License: MIT OR Apache-2.0 # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE-APACHE %license LICENSE-MIT %license LICENSE.dependencies %doc Changes.md %doc README.md %{_bindir}/lzw %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-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/Changes.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}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-devel %{_description} This package contains library source intended for building other packages which use the "async" feature of the "%{crate}" crate. %files -n %{name}+async-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-devel %{_description} This package contains library source intended for building other packages which use the "futures" feature of the "%{crate}" crate. %files -n %{name}+futures-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check # * files needed for encode/decode tests are not included in published crates %cargo_test -- --doc %endif %changelog ## START: Generated by rpmautospec * Sun Sep 15 2024 Benjamin A. Beasley - 0.1.8-4 - Update the tokio-util dev-dependency to 0.7.x * Sat Jul 20 2024 Fedora Release Engineering - 0.1.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 0.1.8-2 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Tue Jan 30 2024 Fabio Valentini - 0.1.8-1 - Update to version 0.1.8; Fixes RHBZ#2259502 * Sat Jan 27 2024 Fedora Release Engineering - 0.1.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Fabio Valentini - 0.1.7-6 - Regenerate with rust2rpm v24 * Sat Jul 22 2023 Fedora Release Engineering - 0.1.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Feb 05 2023 Fabio Valentini - 0.1.7-4 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros * Sat Jan 21 2023 Fedora Release Engineering - 0.1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 18 2022 Fabio Valentini - 0.1.7-1 - Update to version 0.1.7; Fixes RHBZ#2077517 * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.1.5-5 - Rebuild with package notes * Sat Jan 22 2022 Fedora Release Engineering - 0.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Aug 07 2021 Fabio Valentini - 0.1.5-3 - Rebuild with crossbeam-deque 0.8.1 / 0.7.4 for CVE-2021-32810 * Fri Jul 23 2021 Fedora Release Engineering - 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Apr 21 2021 Fabio Valentini - 0.1.5-1 - Update to version 0.1.5. - Fixes RHBZ#1950696 * Thu Mar 04 2021 Fabio Valentini - 0.1.4-1 - Update to version 0.1.4. * Wed Jan 27 2021 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 11 2020 Fabio Valentini - 0.1.3-1 - Update to version 0.1.3. - Fixes RHBZ#1896510 * Fri Oct 23 2020 Fabio Valentini - 0.1.2-1 - Update to version 0.1.2. * Thu Oct 01 2020 Fabio Valentini - 0.1.0-1 - Initial package ## END: Generated by rpmautospec