From c424393d29f72ee606b7421363dd1d58e8529ae1 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:16:45 +0300 Subject: [PATCH] import rust-darling_core-0.20.10-1.el10 --- .gitignore | 1 + .rust-darling_core.metadata | 1 + SOURCES/rust2rpm.toml | 3 + SPECS/rust-darling_core.spec | 210 +++++++++++++++++++++++++++++++++++ 4 files changed, 215 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-darling_core.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-darling_core.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4119fc5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/darling_core-0.20.10.crate diff --git a/.rust-darling_core.metadata b/.rust-darling_core.metadata new file mode 100644 index 0000000..88cbec9 --- /dev/null +++ b/.rust-darling_core.metadata @@ -0,0 +1 @@ +c66dccfc76e630401745d6707ba2c987f71455fe SOURCES/darling_core-0.20.10.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..3d51b16 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Parse attributes into structs for custom derive implementations (helper crate)" + diff --git a/SPECS/rust-darling_core.spec b/SPECS/rust-darling_core.spec new file mode 100644 index 0000000..7151d83 --- /dev/null +++ b/SPECS/rust-darling_core.spec @@ -0,0 +1,210 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 darling_core + +Name: rust-darling_core +Version: 0.20.10 +Release: %autorelease +Summary: Parse attributes into structs for custom derive implementations (helper crate) + +License: MIT +URL: https://crates.io/crates/darling_core +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Helper crate for proc-macro library for reading attributes into structs +when implementing custom derives. Use https://crates.io/crates/darling +in your code.} + +%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 +%{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}+diagnostics-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+diagnostics-devel %{_description} + +This package contains library source intended for building other packages which +use the "diagnostics" feature of the "%{crate}" crate. + +%files -n %{name}+diagnostics-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+strsim-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+strsim-devel %{_description} + +This package contains library source intended for building other packages which +use the "strsim" feature of the "%{crate}" crate. + +%files -n %{name}+strsim-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+suggestions-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+suggestions-devel %{_description} + +This package contains library source intended for building other packages which +use the "suggestions" feature of the "%{crate}" crate. + +%files -n %{name}+suggestions-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.20.10-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Aug 09 2024 Fabio Valentini - 0.20.10-1 +- Update to version 0.20.10; Fixes RHBZ#2296630 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.20.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Mar 18 2024 Fabio Valentini - 0.20.8-1 +- Update to version 0.20.8; Fixes RHBZ#2262038 + +* Tue Jan 30 2024 Fabio Valentini - 0.20.4-1 +- Update to version 0.20.4; Fixes RHBZ#2261840 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.20.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Aug 01 2023 Fabio Valentini - 0.20.3-1 +- Update to version 0.20.3; Fixes RHBZ#2190304 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.14.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Mar 16 2023 Fabio Valentini - 0.14.4-1 +- Update to version 0.14.4; Fixes RHBZ#2177074 + +* Tue Feb 07 2023 Fabio Valentini - 0.14.3-1 +- Update to version 0.14.3; Fixes RHBZ#2167520 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.14.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 06 2022 Fabio Valentini - 0.14.2-1 +- Update to version 0.14.2; Fixes RHBZ#2070299 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.13.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jul 07 2022 Fabio Valentini - 0.13.4-1 +- Update to version 0.13.4 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Dec 20 2021 Fabio Valentini - 0.13.1-1 +- Update to version 0.13.1; Fixes RHBZ#1947462 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.12.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Feb 27 2021 Fabio Valentini - 0.12.2-1 +- Update to version 0.12.2. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.10.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Dec 12 2020 Fabio Valentini - 0.10.3-1 +- Update to version 0.10.3. + +* Sat Sep 26 2020 Fabio Valentini - 0.10.2-5 +- Bump strsim to 0.10. + +* Sat Aug 01 2020 Fedora Release Engineering - 0.10.2-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.10.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.10.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Dec 05 14:48:14 CET 2019 Igor Gnatenko - 0.10.2-1 +- Update to 0.10.2 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 13:04:36 CEST 2019 Igor Gnatenko - 0.9.0-3 +- Regenerate + +* Sun Apr 07 09:02:49 CEST 2019 Igor Gnatenko - 0.9.0-2 +- Update strsim to 0.9 + +* Mon Mar 25 19:35:06 CET 2019 Igor Gnatenko - 0.9.0-1 +- Update to 0.9.0 + +* Mon Mar 18 21:46:18 CET 2019 Igor Gnatenko - 0.8.6-1 +- Update to 0.8.6 + +* Wed Mar 13 2019 Igor Gnatenko - 0.8.5-1 +- Initial package + +## END: Generated by rpmautospec