commit 44d073b97030c46bdaf71b36da1974d9124d7f4b Author: tigro Date: Mon Jan 15 20:56:46 2024 +0300 import rust-darling_macro-0.20.3-1.el9 diff --git a/.rust-darling_macro.metadata b/.rust-darling_macro.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/darling_macro-0.20.3.crate b/SOURCES/darling_macro-0.20.3.crate new file mode 100644 index 0000000..d8c0ba5 Binary files /dev/null and b/SOURCES/darling_macro-0.20.3.crate differ diff --git a/SPECS/rust-darling_macro.spec b/SPECS/rust-darling_macro.spec new file mode 100644 index 0000000..4db33aa --- /dev/null +++ b/SPECS/rust-darling_macro.spec @@ -0,0 +1,151 @@ +## 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 +%bcond_without check +%global debug_package %{nil} + +%global crate darling_macro + +Name: rust-darling_macro +Version: 0.20.3 +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: rust-packaging >= 21 + +%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_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 - 0.20.3-1 +- Rebuilt for MSVSphere 9.3 + +* 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 +