From 3d21e6aa61333aa1b8f3782d9e5ff08ec28efb08 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:50:58 +0300 Subject: [PATCH] import rust-thiserror-2.0.7-1.el10 --- .gitignore | 1 + .rust-thiserror.metadata | 1 + SPECS/rust-thiserror.spec | 270 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 272 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-thiserror.metadata create mode 100644 SPECS/rust-thiserror.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5a9bab --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/thiserror-2.0.7.crate diff --git a/.rust-thiserror.metadata b/.rust-thiserror.metadata new file mode 100644 index 0000000..6c8938c --- /dev/null +++ b/.rust-thiserror.metadata @@ -0,0 +1 @@ +2e35e6f20ec14a7a174c7a7de489bd799654727d SOURCES/thiserror-2.0.7.crate diff --git a/SPECS/rust-thiserror.spec b/SPECS/rust-thiserror.spec new file mode 100644 index 0000000..94ffcc4 --- /dev/null +++ b/SPECS/rust-thiserror.spec @@ -0,0 +1,270 @@ +## 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 thiserror + +Name: rust-thiserror +Version: 2.0.7 +Release: %autorelease +Summary: Derive(Error) + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/thiserror +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Derive(Error).} + +%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 + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-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 - 2.0.7-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Dec 14 2024 Fabio Valentini - 2.0.7-1 +- Update to version 2.0.7; Fixes RHBZ#2330176 + +* Sun Dec 08 2024 Fabio Valentini - 2.0.5-1 +- Update to version 2.0.5; Fixes RHBZ#2330176 + +* Tue Nov 26 2024 Fabio Valentini - 2.0.3-1 +- Update to version 2.0.3; Fixes RHBZ#2323087 + +* Wed Nov 13 2024 Fabio Valentini - 1.0.69-1 +- Update to version 1.0.69 + +* Sat Nov 09 2024 Fabio Valentini - 1.0.68-1 +- Update to version 1.0.68 + +* Tue Oct 22 2024 Fabio Valentini - 1.0.65-1 +- Update to version 1.0.65; Fixes RHBZ#2321098 + +* Mon Oct 07 2024 Fabio Valentini - 1.0.64-1 +- Update to version 1.0.64; Fixes RHBZ#2314100 + +* Mon Jul 29 2024 Fabio Valentini - 1.0.63-1 +- Update to version 1.0.63; Fixes RHBZ#2297914 + +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.61-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue May 28 2024 Fabio Valentini - 1.0.61-1 +- Update to version 1.0.61; Fixes RHBZ#2281017 + +* Tue May 07 2024 Fabio Valentini - 1.0.60-1 +- Update to version 1.0.60; Fixes RHBZ#2279443 + +* Tue Apr 23 2024 Fabio Valentini - 1.0.59-1 +- Update to version 1.0.59; Fixes RHBZ#2276228 + +* Sat Apr 13 2024 Fabio Valentini - 1.0.58-1 +- Update to version 1.0.58; Fixes RHBZ#2269095 + +* Mon Feb 19 2024 Fabio Valentini - 1.0.57-1 +- Update to version 1.0.57; Fixes RHBZ#2263774 + +* Sat Jan 27 2024 Fedora Release Engineering - 1.0.56-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 03 2024 Fabio Valentini - 1.0.56-1 +- Update to version 1.0.56; Fixes RHBZ#2256291 + +* Wed Dec 27 2023 Fabio Valentini - 1.0.52-1 +- Update to version 1.0.52; Fixes RHBZ#2254781 + +* Fri Oct 20 2023 Fabio Valentini - 1.0.50-1 +- Update to version 1.0.50; Fixes RHBZ#2245161 + +* Wed Sep 27 2023 Fabio Valentini - 1.0.49-1 +- Update to version 1.0.49; Fixes RHBZ#2240866 + +* Sun Sep 17 2023 Fabio Valentini - 1.0.48-1 +- Update to version 1.0.48; Fixes RHBZ#2237020 + +* Sun Aug 27 2023 Fabio Valentini - 1.0.47-1 +- Update to version 1.0.47; Fixes RHBZ#2232073 + +* Sat Jul 29 2023 Fabio Valentini - 1.0.44-1 +- Update to version 1.0.44; Fixes RHBZ#2224486 + +* Sat Jul 22 2023 Fedora Release Engineering - 1.0.43-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 11 2023 Fabio Valentini - 1.0.43-1 +- Update to version 1.0.43; Fixes RHBZ#2219691 + +* Wed Mar 22 2023 Fabio Valentini - 1.0.40-1 +- Update to version 1.0.40; Fixes RHBZ#2179497 + +* Tue Mar 07 2023 Fabio Valentini - 1.0.39-1 +- Update to version 1.0.39; Fixes RHBZ#2175594 + +* Fri Feb 03 2023 Fabio Valentini - 1.0.38-1 +- Update to version 1.0.38; Fixes RHBZ#2154598 + +* Sat Jan 21 2023 Fedora Release Engineering - 1.0.37-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 13 2022 Fabio Valentini - 1.0.37-1 +- Update to version 1.0.37; Fixes RHBZ#2126550 + +* Sat Sep 10 2022 Fabio Valentini - 1.0.34-1 +- Update to version 1.0.34; Fixes RHBZ#2124128 + +* Fri Aug 05 2022 Fabio Valentini - 1.0.32-1 +- Update to version 1.0.32; Fixes RHBZ#2114668 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.31-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri May 13 2022 Fabio Valentini - 1.0.31-1 +- Update to version 1.0.31; Fixes RHBZ#2080672 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.30-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Nov 06 2021 Fabio Valentini - 1.0.30-1 +- Update to version 1.0.30; Fixes RHBZ#2012377 + +* Thu Sep 30 2021 Fabio Valentini - 1.0.29-1 +- Update to version 1.0.29; Fixes RHBZ#2001276 + +* Sun Aug 29 2021 Fabio Valentini - 1.0.28-1 +- Update to version 1.0.28; Fixes RHBZ#1998776 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.26-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun Jul 18 2021 Fabio Valentini - 1.0.26-1 +- Update to version 1.0.26; Fixes RHBZ#1978867 + +* Sun May 23 2021 Fabio Valentini - 1.0.25-1 +- Update to version 1.0.25. + +* Wed Mar 03 2021 Fabio Valentini - 1.0.24-1 +- Update to version 1.0.24. + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.23-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Dec 27 10:23:56 CET 2020 Igor Raits - 1.0.23-1 +- Update to 1.0.23 (Fixes: RHBZ#1911019) + +* Thu Nov 05 2020 Fabio Valentini - 1.0.22-1 +- Update to version 1.0.22. + +* Wed Oct 07 2020 Fabio Valentini - 1.0.21-1 +- Update to version 1.0.21. + +* Sat Aug 01 2020 Fedora Release Engineering - 1.0.20-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 19 2020 Josh Stone - 1.0.20-1 +- Update to 1.0.20 + +* Fri May 22 2020 Josh Stone - 1.0.19-1 +- Update to 1.0.19 + +* Sat May 16 19:37:39 CEST 2020 Igor Raits - 1.0.18-1 +- Update to 1.0.18 + +* Wed May 13 2020 Josh Stone - 1.0.17-1 +- Update to 1.0.17 + +* Wed Apr 29 2020 Josh Stone - 1.0.16-1 +- Update to 1.0.16 + +* Wed Apr 15 2020 Josh Stone - 1.0.15-1 +- Update to 1.0.15 + +* Mon Mar 30 08:09:07 CEST 2020 Igor Raits - 1.0.14-1 +- Update to 1.0.14 + +* Mon Mar 23 18:50:14 CET 2020 Igor Raits - 1.0.13-1 +- Update to 1.0.13 + +* Sat Mar 21 07:19:21 CET 2020 Igor Raits - 1.0.12-1 +- Update to 1.0.12 + +* Tue Feb 18 11:55:16 CET 2020 Igor Raits - 1.0.11-1 +- Update to 1.0.11 + +* Fri Feb 14 10:32:34 CET 2020 Igor Raits - 1.0.10-1 +- Initial package + +## END: Generated by rpmautospec