commit ef415df9e56e5b3055e1a460c59cfb7797f3b45f Author: tigro Date: Mon Jan 15 21:09:49 2024 +0300 import rust-error-chain-0.12.4-5.el9 diff --git a/.rust-error-chain.metadata b/.rust-error-chain.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/error-chain-0.12.4.crate b/SOURCES/error-chain-0.12.4.crate new file mode 100644 index 0000000..7b5c280 Binary files /dev/null and b/SOURCES/error-chain-0.12.4.crate differ diff --git a/SPECS/rust-error-chain.spec b/SPECS/rust-error-chain.spec new file mode 100644 index 0000000..5d67127 --- /dev/null +++ b/SPECS/rust-error-chain.spec @@ -0,0 +1,161 @@ +# Generated by rust2rpm 13 +%bcond_without check +%global debug_package %{nil} + +%global crate error-chain + +Name: rust-%{crate} +Version: 0.12.4 +Release: 5%{?dist} +Summary: Error boilerplate library + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/error-chain +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Yet another error boilerplate library.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc CHANGELOG.md README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+backtrace-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+backtrace-devel %{_description} + +This package contains library source intended for building other packages +which use "backtrace" feature of "%{crate}" crate. + +%files -n %{name}+backtrace-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+example_generated-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+example_generated-devel %{_description} + +This package contains library source intended for building other packages +which use "example_generated" feature of "%{crate}" crate. + +%files -n %{name}+example_generated-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +find -type f -exec chmod -c -x '{}' '+' +%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.12.4-5 +- Rebuilt for MSVSphere 9.3 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.12.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.12.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.12.4-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.12.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Aug 20 2020 Josh Stone - 0.12.4-1 +- Update to 0.12.4 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.12.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Feb 20 2020 Josh Stone - 0.12.2-1 +- Update to 0.12.2 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.12.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Nov 20 12:09:51 CET 2019 Igor Gnatenko - 0.12.1-4 +- Update version_check to 0.9 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.12.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 21 20:11:52 CEST 2019 Igor Gnatenko - 0.12.1-2 +- Regenerate + +* Sun May 12 11:15:44 CEST 2019 Igor Gnatenko - 0.12.1-1 +- Update to 0.12.1 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.12.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Dec 20 2018 Igor Gnatenko - 0.12.0-3 +- Run tests in infrastructure + +* Fri Nov 02 2018 Igor Gnatenko - 0.12.0-2 +- Adapt to new packaging + +* Tue Jul 17 2018 Igor Gnatenko - 0.12.0-1 +- Update to 0.12.0 + +* Sat Jul 14 2018 Fedora Release Engineering - 0.11.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.11.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 0.11.0-2 +- Rebuild for rust-packaging v5 + +* Wed Jan 03 2018 Igor Gnatenko - 0.11.0-1 +- Initial package