commit 12fef295e60d558733c70f3f9c94f90779a5c6a4 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:20:44 2024 +0300 import rust-miette-7.4.0-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..af9eccb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/miette-7.4.0.crate diff --git a/.rust-miette.metadata b/.rust-miette.metadata new file mode 100644 index 0000000..39fd282 --- /dev/null +++ b/.rust-miette.metadata @@ -0,0 +1 @@ +8a339777c5b4682f0c3c61ef0728b4909f0d8384 SOURCES/miette-7.4.0.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..045ef95 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Fancy diagnostic reporting library and protocol for us mere mortals" + diff --git a/SPECS/rust-miette.spec b/SPECS/rust-miette.spec new file mode 100644 index 0000000..eb5fec7 --- /dev/null +++ b/SPECS/rust-miette.spec @@ -0,0 +1,230 @@ +## 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 miette + +Name: rust-miette +Version: 7.4.0 +Release: %autorelease +Summary: Fancy diagnostic reporting library and protocol for us mere mortals + +License: Apache-2.0 +URL: https://crates.io/crates/miette +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Fancy diagnostic reporting library and protocol for us mere mortals who +aren't compiler hackers.} + +%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 +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CODE_OF_CONDUCT.md +%doc %{crate_instdir}/CONTRIBUTING.md +%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}+derive-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+derive-devel %{_description} + +This package contains library source intended for building other packages which +use the "derive" feature of the "%{crate}" crate. + +%files -n %{name}+derive-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+fancy-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fancy-devel %{_description} + +This package contains library source intended for building other packages which +use the "fancy" feature of the "%{crate}" crate. + +%files -n %{name}+fancy-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+fancy-base-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fancy-base-devel %{_description} + +This package contains library source intended for building other packages which +use the "fancy-base" feature of the "%{crate}" crate. + +%files -n %{name}+fancy-base-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+fancy-no-backtrace-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fancy-no-backtrace-devel %{_description} + +This package contains library source intended for building other packages which +use the "fancy-no-backtrace" feature of the "%{crate}" crate. + +%files -n %{name}+fancy-no-backtrace-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+fancy-no-syscall-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fancy-no-syscall-devel %{_description} + +This package contains library source intended for building other packages which +use the "fancy-no-syscall" feature of the "%{crate}" crate. + +%files -n %{name}+fancy-no-syscall-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+no-format-args-capture-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+no-format-args-capture-devel %{_description} + +This package contains library source intended for building other packages which +use the "no-format-args-capture" feature of the "%{crate}" crate. + +%files -n %{name}+no-format-args-capture-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+syntect-highlighter-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+syntect-highlighter-devel %{_description} + +This package contains library source intended for building other packages which +use the "syntect-highlighter" feature of the "%{crate}" crate. + +%files -n %{name}+syntect-highlighter-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 - 7.4.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sun Dec 01 2024 Fabio Valentini - 7.4.0-1 +- Update to version 7.4.0; Fixes RHBZ#2328892 + +* Sat Jul 20 2024 Fedora Release Engineering - 7.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Mar 20 2024 Michel Lind - 7.2.0-1 +- Update to 7.2.0 (rhbz#2262594) + +* Fri Jan 26 2024 Fedora Release Engineering - 5.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Oct 18 2023 Fabio Valentini - 5.10.0-3 +- Regenerate with rust2rpm v25 and enable "fancy" feature + +* Fri Jul 21 2023 Fedora Release Engineering - 5.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 17 2023 Fabio Valentini - 5.10.0-1 +- Update to version 5.10.0; Fixes RHBZ#2223155 + +* Mon May 22 2023 Fabio Valentini - 5.9.0-1 +- Update to version 5.9.0; Fixes RHBZ#2208404 + +* Wed Apr 19 2023 Fabio Valentini - 5.8.0-1 +- Update to version 5.8.0; Fixes RHBZ#2187775 + +* Sat Apr 01 2023 Fabio Valentini - 5.7.0-1 +- Update to version 5.7.0; Fixes RHBZ#2177963 + +* Fri Jan 20 2023 Fedora Release Engineering - 5.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Dec 12 2022 Fabio Valentini - 5.5.0-1 +- Update to version 5.5.0; Fixes RHBZ#2113060 + +* Tue Jul 26 2022 yizhengxie - 5.1.1-1 +- Update to 5.1.1 + +* Sat Jul 23 2022 Fedora Release Engineering - 4.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Apr 13 2022 Michel Alexandre Salim - 4.4.0-1 +- Update to 4.4.0 + +* Sat Mar 26 2022 Michel Alexandre Salim - 4.2.1-1 +- Initial package + +## END: Generated by rpmautospec