From 24c3d7d1abd3dfd349bd7e65ba43f08a9571259a Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 18:00:38 +0300 Subject: [PATCH] import rust-unicode-bidi-0.3.17-1.el10 --- .gitignore | 1 + .rust-unicode-bidi.metadata | 1 + SOURCES/unicode-bidi-fix-metadata.diff | 28 +++ SPECS/rust-unicode-bidi.spec | 270 +++++++++++++++++++++++++ 4 files changed, 300 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-unicode-bidi.metadata create mode 100644 SOURCES/unicode-bidi-fix-metadata.diff create mode 100644 SPECS/rust-unicode-bidi.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5060332 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/unicode-bidi-0.3.17.crate diff --git a/.rust-unicode-bidi.metadata b/.rust-unicode-bidi.metadata new file mode 100644 index 0000000..a5aedfb --- /dev/null +++ b/.rust-unicode-bidi.metadata @@ -0,0 +1 @@ +f4e33925b68f9ff4eb87162d218d37fc1b39205c SOURCES/unicode-bidi-0.3.17.crate diff --git a/SOURCES/unicode-bidi-fix-metadata.diff b/SOURCES/unicode-bidi-fix-metadata.diff new file mode 100644 index 0000000..56b33ef --- /dev/null +++ b/SOURCES/unicode-bidi-fix-metadata.diff @@ -0,0 +1,28 @@ +--- unicode-bidi-0.3.17/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ unicode-bidi-0.3.17/Cargo.toml 2024-10-04T17:15:42.511428+00:00 +@@ -49,14 +49,6 @@ + name = "unicode_bidi" + path = "src/lib.rs" + +-[dependencies.flame] +-version = "0.2" +-optional = true +- +-[dependencies.flamer] +-version = "0.4" +-optional = true +- + [dependencies.serde] + version = ">=0.8, <2.0" + features = ["derive"] +@@ -77,10 +69,6 @@ + "std", + "hardcoded-data", + ] +-flame_it = [ +- "flame", +- "flamer", +-] + hardcoded-data = [] + std = [] + unstable = [] diff --git a/SPECS/rust-unicode-bidi.spec b/SPECS/rust-unicode-bidi.spec new file mode 100644 index 0000000..f10b7c7 --- /dev/null +++ b/SPECS/rust-unicode-bidi.spec @@ -0,0 +1,270 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate unicode-bidi + +Name: rust-unicode-bidi +Version: 0.3.17 +Release: %autorelease +Summary: Implementation of the Unicode Bidirectional Algorithm + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/unicode-bidi +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * drop unused flame_it feature with missing dependencies +# * drop references to test files that are not shipped in published crates +Patch: unicode-bidi-fix-metadata.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Implementation of the Unicode Bidirectional Algorithm.} + +%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}/COPYRIGHT +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/AUTHORS +%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}+bench_it-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bench_it-devel %{_description} + +This package contains library source intended for building other packages which +use the "bench_it" feature of the "%{crate}" crate. + +%files -n %{name}+bench_it-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hardcoded-data-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hardcoded-data-devel %{_description} + +This package contains library source intended for building other packages which +use the "hardcoded-data" feature of the "%{crate}" crate. + +%files -n %{name}+hardcoded-data-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}+smallvec-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+smallvec-devel %{_description} + +This package contains library source intended for building other packages which +use the "smallvec" feature of the "%{crate}" crate. + +%files -n %{name}+smallvec-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 + +%package -n %{name}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+with_serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+with_serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "with_serde" feature of the "%{crate}" crate. + +%files -n %{name}+with_serde-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 - 0.3.17-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Oct 04 2024 Fabio Valentini - 0.3.17-1 +- Update to version 0.3.17; Fixes RHBZ#2316166 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.3.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Jan 30 2024 Fabio Valentini - 0.3.15-1 +- Update to version 0.3.15; Fixes RHBZ#2258883 + +* Sat Jan 27 2024 Fedora Release Engineering - 0.3.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 11 2024 Fabio Valentini - 0.3.14-1 +- Update to version 0.3.14; Fixes RHBZ#2253376 + +* Sat Jul 22 2023 Fedora Release Engineering - 0.3.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Mar 21 2023 Fabio Valentini - 0.3.13-1 +- Update to version 0.3.13; Fixes RHBZ#2179410 + +* Sun Mar 12 2023 Fabio Valentini - 0.3.11-1 +- Update to version 0.3.11; Fixes RHBZ#2176619 + +* Sat Jan 28 2023 Fabio Valentini - 0.3.10-1 +- Update to version 0.3.10; Fixes RHBZ#2162239 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri May 13 2022 Fabio Valentini - 0.3.8-1 +- Update to version 0.3.8; Fixes RHBZ#2079007 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Nov 07 2021 Fabio Valentini - 0.3.7-1 +- Update to version 0.3.7; Fixes RHBZ#2011904 + +* Sun Aug 15 2021 Fabio Valentini - 0.3.6-1 +- Update to version 0.3.6; Fixes RHBZ#1993452 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Apr 30 2021 Fabio Valentini - 0.3.5-1 +- Update to version 0.3.5. +- Fixes RHBZ#1946777 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Nov 08 2020 Fabio Valentini - 0.3.4-13 +- Drop flame_it feature with missing dependencies. + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 11:14:29 CEST 2019 Igor Gnatenko - 0.3.4-9 +- Regenerate + +* Sun Mar 10 2019 Igor Gnatenko - 0.3.4-8 +- Do not pull optional dependencies + +* Sat Feb 02 2019 Fedora Release Engineering - 0.3.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Nov 03 2018 Igor Gnatenko - 0.3.4-6 +- Adapt to new packaging + +* Sat Jul 14 2018 Fedora Release Engineering - 0.3.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 23 2018 Igor Gnatenko - 0.3.4-4 +- Adopt to new macro + +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 0.3.4-2 +- Rebuild for rust-packaging v5 + +* Fri Nov 10 2017 Igor Gnatenko - 0.3.4-1 +- Update to 0.3.4 + +* Wed Jul 05 2017 Igor Gnatenko - 0.3.3-1 +- Initial package + +## END: Generated by rpmautospec