commit dc75a3e9a827682e6f7b6d9a48bf76b815346961 Author: tigro Date: Mon Jan 15 21:37:32 2024 +0300 import rust-indicatif-0.17.7-1.el9 diff --git a/.rust-indicatif.metadata b/.rust-indicatif.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/indicatif-0.17.7.crate b/SOURCES/indicatif-0.17.7.crate new file mode 100644 index 0000000..95f4075 Binary files /dev/null and b/SOURCES/indicatif-0.17.7.crate differ diff --git a/SOURCES/indicatif-fix-metadata-auto.diff b/SOURCES/indicatif-fix-metadata-auto.diff new file mode 100644 index 0000000..3d4a89e --- /dev/null +++ b/SOURCES/indicatif-fix-metadata-auto.diff @@ -0,0 +1,8 @@ +--- indicatif-0.17.7/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ indicatif-0.17.7/Cargo.toml 2023-09-24T21:50:37.028313+00:00 +@@ -113,5 +113,3 @@ + ] + in_memory = ["vt100"] + +-[target."cfg(target_arch = \"wasm32\")".dependencies.instant] +-version = "0.1" diff --git a/SPECS/rust-indicatif.spec b/SPECS/rust-indicatif.spec new file mode 100644 index 0000000..c64b882 --- /dev/null +++ b/SPECS/rust-indicatif.spec @@ -0,0 +1,255 @@ +## 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 indicatif + +Name: rust-indicatif +Version: 0.17.7 +Release: %autorelease +Summary: Progress bar and cli reporting library for Rust + +License: MIT +URL: https://crates.io/crates/indicatif +Source: %{crates_source} +# Automatically generated patch to strip foreign dependencies +Patch: indicatif-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A progress bar and cli reporting library for Rust.} + +%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}/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}+futures-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures" feature of the "%{crate}" crate. + +%files -n %{name}+futures-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+improved_unicode-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+improved_unicode-devel %{_description} + +This package contains library source intended for building other packages which +use the "improved_unicode" feature of the "%{crate}" crate. + +%files -n %{name}+improved_unicode-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+in_memory-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+in_memory-devel %{_description} + +This package contains library source intended for building other packages which +use the "in_memory" feature of the "%{crate}" crate. + +%files -n %{name}+in_memory-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rayon-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rayon-devel %{_description} + +This package contains library source intended for building other packages which +use the "rayon" feature of the "%{crate}" crate. + +%files -n %{name}+rayon-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-segmentation-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unicode-segmentation-devel %{_description} + +This package contains library source intended for building other packages which +use the "unicode-segmentation" feature of the "%{crate}" crate. + +%files -n %{name}+unicode-segmentation-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-width-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unicode-width-devel %{_description} + +This package contains library source intended for building other packages which +use the "unicode-width" feature of the "%{crate}" crate. + +%files -n %{name}+unicode-width-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+vt100-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+vt100-devel %{_description} + +This package contains library source intended for building other packages which +use the "vt100" feature of the "%{crate}" crate. + +%files -n %{name}+vt100-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 +# * skip a brittle test that fails depending on load +%cargo_test -- -- --skip style::tests::wide_element_style +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.17.7-1 +- Rebuilt for MSVSphere 9.3 + +* Sun Sep 24 2023 Fabio Valentini - 0.17.7-1 +- Update to version 0.17.7; Fixes RHBZ#2240168 + +* Wed Aug 02 2023 Fabio Valentini - 0.17.6-1 +- Update to version 0.17.6; Fixes RHBZ#2228539 + +* Fri Jul 21 2023 Fabio Valentini - 0.17.5-3 +- Skip a brittle test that fails depending on load + +* Fri Jul 21 2023 Fedora Release Engineering - 0.17.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jul 15 2023 Fabio Valentini - 0.17.5-1 +- Update to version 0.17.5; Fixes RHBZ#2212110 + +* Mon May 29 2023 Fabio Valentini - 0.17.4-1 +- Update to version 0.17.4; Fixes RHBZ#2210712 + +* Wed Jan 25 2023 Michel Alexandre Salim - 0.17.3-1 +- Update to 0.17.3 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.16.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.16.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.16.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jan 12 2022 Fabio Valentini - 0.16.2-1 +- Update to version 0.16.2; Fixes RHBZ#1955499 + +* Tue Jul 27 2021 Fedora Release Engineering - 0.15.0-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jul 20 2021 Fabio Valentini - 0.15.0-4 +- Update number_prefix to 0.4. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.15.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.15.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jun 18 06:46:22 CEST 2020 Igor Raits - 0.15.0-1 +- Update to 0.15.0 + +* Wed Feb 26 2020 Josh Stone - 0.14.0-1 +- Update to 0.14.0 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.13.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Dec 06 17:29:48 CET 2019 Igor Gnatenko - 0.13.0-1 +- Update to 0.13.0 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.11.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Jul 21 08:54:40 CEST 2019 Igor Gnatenko - 0.11.0-5 +- Regenerate + +* Sun Jun 09 14:47:20 CEST 2019 Igor Gnatenko - 0.11.0-4 +- Regenerate + +* Tue May 07 14:30:02 CEST 2019 Igor Gnatenko - 0.11.0-3 +- Update number_prefix to 0.3 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 28 2019 Igor Gnatenko - 0.11.0-1 +- Initial package +