From b71522277664164de68b1bf8a65c51f4d7ee1ffc Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:07:09 +0300 Subject: [PATCH] import rust-clap_lex-0.7.4-1.el10 --- .gitignore | 1 + .rust-clap_lex.metadata | 1 + SPECS/rust-clap_lex.spec | 148 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 150 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-clap_lex.metadata create mode 100644 SPECS/rust-clap_lex.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..36f99d9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/clap_lex-0.7.4.crate diff --git a/.rust-clap_lex.metadata b/.rust-clap_lex.metadata new file mode 100644 index 0000000..7d6b11b --- /dev/null +++ b/.rust-clap_lex.metadata @@ -0,0 +1 @@ +1eb0b1210f79cecda332f2dfc48f0a5a21d3f0f7 SOURCES/clap_lex-0.7.4.crate diff --git a/SPECS/rust-clap_lex.spec b/SPECS/rust-clap_lex.spec new file mode 100644 index 0000000..0c8cbd0 --- /dev/null +++ b/SPECS/rust-clap_lex.spec @@ -0,0 +1,148 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate clap_lex + +Name: rust-clap_lex +Version: 0.7.4 +Release: %autorelease +Summary: Minimal, flexible command line parser + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/clap_lex +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Minimal, flexible command line parser.} + +%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 + +%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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.7.4-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sun Dec 08 2024 Fabio Valentini - 0.7.4-1 +- Update to version 0.7.4; Fixes RHBZ#2330682 + +* Sat Nov 16 2024 Benjamin A. Beasley - 0.7.3-1 +- Update to version 0.7.3; Fixes RHBZ#2326004 + +* Sun Jul 28 2024 Fabio Valentini - 0.7.2-1 +- Update to version 0.7.2; Fixes RHBZ#2299862 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jun 10 2024 Fabio Valentini - 0.7.1-1 +- Update to version 0.7.1; Fixes RHBZ#2290784 + +* Tue Mar 19 2024 Fabio Valentini - 0.7.0-1 +- Update to version 0.7.0; Fixes RHBZ#2263400 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Nov 10 2023 Fabio Valentini - 0.6.0-1 +- Update to version 0.6.0; Fixes RHBZ#2245947 + +* Wed Sep 20 2023 Fabio Valentini - 0.5.1-1 +- Update to version 0.5.1; Fixes RHBZ#2234510 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Jun 04 2023 Fabio Valentini - 0.5.0-1 +- Update to version 0.5.0; Fixes RHBZ#2208633 + +* Sat Apr 08 2023 Fabio Valentini - 0.4.1-1 +- Update to version 0.4.1; Fixes RHBZ#2182231 + +* Sat Mar 18 2023 Fabio Valentini - 0.3.3-1 +- Update to version 0.3.3; Fixes RHBZ#2179172 + +* Mon Feb 27 2023 Fabio Valentini - 0.3.2-1 +- Update to version 0.3.2; Fixes RHBZ#2173024 + +* Sun Jan 29 2023 Fabio Valentini - 0.3.1-1 +- Update to version 0.3.1; Fixes RHBZ#2160787 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Jan 01 2023 Fabio Valentini - 0.3.0-2 +- Regenerate with rust2rpm v23 + +* Sat Dec 24 2022 Laiot - 0.3.0-1 +- Update to 0.3.0 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Jul 03 2022 Zbigniew Jędrzejewski-Szmek - 0.2.4-2 +- Refresh packaging (incl. using SDPX license expression) + +* Wed Jun 29 2022 Rommel Layco - 0.2.4-1 +- Update to version 0.2.4; Fixes RHBZ#2096356 + +* Fri May 06 2022 laiot - 0.2.0-1 +- add sources +## END: Generated by rpmautospec