commit 45ceb1219ba22045a9b4e3b434176c03cafe1d8c Author: tigro Date: Mon Jan 15 20:46:16 2024 +0300 import rust-clap_complete3-3.2.5-1.el9 diff --git a/.rust-clap_complete3.metadata b/.rust-clap_complete3.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/clap_complete-3.2.5.crate b/SOURCES/clap_complete-3.2.5.crate new file mode 100644 index 0000000..343fea3 Binary files /dev/null and b/SOURCES/clap_complete-3.2.5.crate differ diff --git a/SPECS/rust-clap_complete3.spec b/SPECS/rust-clap_complete3.spec new file mode 100644 index 0000000..82fb691 --- /dev/null +++ b/SPECS/rust-clap_complete3.spec @@ -0,0 +1,180 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## 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 24 +# * missing dev-dependencies: snapbox, trycmd +%bcond_with check +%global debug_package %{nil} + +%global crate clap_complete + +Name: rust-clap_complete3 +Version: 3.2.5 +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: rust-packaging >= 21 + +%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}+clap_lex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+clap_lex-devel %{_description} + +This package contains library source intended for building other packages which +use the "clap_lex" feature of the "%{crate}" crate. + +%files -n %{name}+clap_lex-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}+is_executable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+is_executable-devel %{_description} + +This package contains library source intended for building other packages which +use the "is_executable" feature of the "%{crate}" crate. + +%files -n %{name}+is_executable-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+os_str_bytes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+os_str_bytes-devel %{_description} + +This package contains library source intended for building other packages which +use the "os_str_bytes" feature of the "%{crate}" crate. + +%files -n %{name}+os_str_bytes-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+pathdiff-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pathdiff-devel %{_description} + +This package contains library source intended for building other packages which +use the "pathdiff" feature of the "%{crate}" crate. + +%files -n %{name}+pathdiff-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+shlex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+shlex-devel %{_description} + +This package contains library source intended for building other packages which +use the "shlex" feature of the "%{crate}" crate. + +%files -n %{name}+shlex-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-xid-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unicode-xid-devel %{_description} + +This package contains library source intended for building other packages which +use the "unicode-xid" feature of the "%{crate}" crate. + +%files -n %{name}+unicode-xid-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_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 3.2.5-1 +- Rebuilt for MSVSphere 9.3 + +* Sat Feb 25 2023 Fabio Valentini - 3.2.5-1 +- Initial import (clap_complete 3 compat package)