## 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 25 # * test sources are not included in published crates %bcond_with check %global debug_package %{nil} %global crate clap_complete Name: rust-clap_complete Version: 4.4.9 Release: %autorelease Summary: Generate shell completion scripts for your clap::Command License: MIT OR Apache-2.0 URL: https://crates.io/crates/clap_complete Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Generate shell completion scripts for your clap::Command.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %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}+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}+unstable-doc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-doc-devel %{_description} This package contains library source intended for building other packages which use the "unstable-doc" feature of the "%{crate}" crate. %files -n %{name}+unstable-doc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-dynamic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-dynamic-devel %{_description} This package contains library source intended for building other packages which use the "unstable-dynamic" feature of the "%{crate}" crate. %files -n %{name}+unstable-dynamic-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 * Tue Jan 30 2024 Fabio Valentini - 4.4.9-1 - Update to version 4.4.9; Fixes RHBZ#2258523 * Fri Jan 26 2024 Fedora Release Engineering - 4.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 05 2024 Fabio Valentini - 4.4.6-1 - Update to version 4.4.6; Fixes RHBZ#2256537 * Wed Dec 27 2023 Fabio Valentini - 4.4.5-1 - Update to version 4.4.5; Fixes RHBZ#2256013 * Fri Nov 10 2023 Fabio Valentini - 4.4.4-1 - Update to version 4.4.4; Fixes RHBZ#2245960 * Sat Oct 14 2023 Fabio Valentini - 4.4.3-1 - Update to version 4.4.3; Fixes RHBZ#2240688 * Wed Sep 20 2023 Fabio Valentini - 4.4.1-1 - Update to version 4.4.1; Fixes RHBZ#2234506 * Fri Jul 21 2023 Fedora Release Engineering - 4.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 07 2023 Fabio Valentini - 4.3.2-1 - Update to version 4.3.2; Fixes RHBZ#2219876 * Sun Jun 04 2023 Fabio Valentini - 4.3.1-1 - Update to version 4.3.1; Fixes RHBZ#2208628 * Fri May 19 2023 Fabio Valentini - 4.2.3-1 - Update to version 4.2.3; Fixes RHBZ#2196685 * Mon May 08 2023 Fabio Valentini - 4.2.1-1 - Update to version 4.2.1; Fixes RHBZ#2188647 * Tue Apr 11 2023 Fabio Valentini - 4.2.0-1 - Update to version 4.2.0; Fixes RHBZ#2182230 * Sun Mar 26 2023 Fabio Valentini - 4.1.5-1 - Update to version 4.1.5; Fixes RHBZ#2179170 * Thu Mar 16 2023 Fabio Valentini - 4.1.4-1 - Update to version 4.1.4; Fixes RHBZ#2173687 * Fri Feb 24 2023 Fabio Valentini - 4.1.3-1 - Update to version 4.1.3; Fixes RHBZ#2126225 * Fri Jan 20 2023 Fedora Release Engineering - 3.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Aug 20 2022 Fabio Valentini - 3.2.4-1 - Update to version 3.2.4; Fixes RHBZ#2117907 * Sat Jul 23 2022 Fedora Release Engineering - 3.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 04 2022 Zbigniew Jędrzejewski-Szmek - 3.2.3-1 - Version 3.2.3 (rhbz#2055354) * Wed Feb 09 2022 Fabio Valentini - 3.0.6-1 - Update to version 3.0.6; Fixes RHBZ#2044530 * Sat Jan 22 2022 Fabio Valentini - 3.0.4-1 - Initial import (#2043469) ## END: Generated by rpmautospec