commit 138f260a9383d038f1d470ce8013b4c5058f5f72 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:16:55 2024 +0300 import rust-darling_macro-0.20.10-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c3e7ee8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/darling_macro-0.20.10.crate diff --git a/.rust-darling_macro.metadata b/.rust-darling_macro.metadata new file mode 100644 index 0000000..0afe837 --- /dev/null +++ b/.rust-darling_macro.metadata @@ -0,0 +1 @@ +cabed4cd3262c2a48990adab0b538f8b05aa13ad SOURCES/darling_macro-0.20.10.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..f589b08 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Parse attributes into structs for custom derive implementations (internal support)" + diff --git a/SPECS/rust-darling_macro.spec b/SPECS/rust-darling_macro.spec new file mode 100644 index 0000000..b01f9ef --- /dev/null +++ b/SPECS/rust-darling_macro.spec @@ -0,0 +1,168 @@ +## 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_macro + +Name: rust-darling_macro +Version: 0.20.10 +Release: %autorelease +Summary: Parse attributes into structs for custom derive implementations (internal support) + +License: MIT +URL: https://crates.io/crates/darling_macro +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Internal support for a 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 + +%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#2296629 + +* 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#2262039 + +* Tue Jan 30 2024 Fabio Valentini - 0.20.4-1 +- Update to version 0.20.4; Fixes RHBZ#2261839 + +* 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#2190305 + +* 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#2177073 + +* Tue Feb 07 2023 Fabio Valentini - 0.14.3-1 +- Update to version 0.14.3; Fixes RHBZ#2167521 + +* 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#2070298 + +* 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#1947464 + +* 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 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:49:26 CET 2019 Igor Gnatenko - 0.10.2-1 +- Update to 0.10.2 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 12:45:59 CEST 2019 Igor Gnatenko - 0.9.0-2 +- Regenerate + +* Mon Mar 25 19:34:18 CET 2019 Igor Gnatenko - 0.9.0-1 +- Update to 0.9.0 + +* Mon Mar 18 21:47:59 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