## 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_core Name: rust-darling_core Version: 0.20.3 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: rust-packaging >= 21 %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_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#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