## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 26 %bcond_without check %global debug_package %{nil} %global crate comfy-table Name: rust-comfy-table Version: 7.1.3 Release: %autorelease Summary: Library for building beautiful tables with automatic content wrapping License: MIT URL: https://crates.io/crates/comfy-table Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: comfy-table-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: comfy-table-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An easy to use library for building beautiful tables with automatic content wrapping.} %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}/FAQ.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}+ansi-str-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ansi-str-devel %{_description} This package contains library source intended for building other packages which use the "ansi-str" feature of the "%{crate}" crate. %files -n %{name}+ansi-str-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+console-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+console-devel %{_description} This package contains library source intended for building other packages which use the "console" feature of the "%{crate}" crate. %files -n %{name}+console-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossterm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+crossterm-devel %{_description} This package contains library source intended for building other packages which use the "crossterm" feature of the "%{crate}" crate. %files -n %{name}+crossterm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+custom_styling-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+custom_styling-devel %{_description} This package contains library source intended for building other packages which use the "custom_styling" feature of the "%{crate}" crate. %files -n %{name}+custom_styling-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug-devel %{_description} This package contains library source intended for building other packages which use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+integration_test-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+integration_test-devel %{_description} This package contains library source intended for building other packages which use the "integration_test" feature of the "%{crate}" crate. %files -n %{name}+integration_test-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+reexport_crossterm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+reexport_crossterm-devel %{_description} This package contains library source intended for building other packages which use the "reexport_crossterm" feature of the "%{crate}" crate. %files -n %{name}+reexport_crossterm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tty-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tty-devel %{_description} This package contains library source intended for building other packages which use the "tty" feature of the "%{crate}" crate. %files -n %{name}+tty-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 * Fri Nov 15 2024 Benjamin A. Beasley - 7.1.3-1 - Update to version 7.1.3; fixes RHBZ#2325963 * Fri Jul 19 2024 Fedora Release Engineering - 7.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 07 2024 Fabio Valentini - 7.1.1-1 - Update to version 7.1.1; Fixes RHBZ#2020892 * Fri Jan 26 2024 Fedora Release Engineering - 4.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Aug 05 2023 Fabio Valentini - 4.1.1-7 - Regenerate with rust2rpm v24 * Fri Jul 21 2023 Fedora Release Engineering - 4.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 4.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 4.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Feb 13 2022 Fabio Valentini - 4.1.1-3 - Bump crossterm from 0.20 to 0.22 * Fri Jan 21 2022 Fedora Release Engineering - 4.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Sep 03 2021 Fabio Valentini - 4.1.1-1 - Initial import (#2000920) ## END: Generated by rpmautospec