commit f01f8a4fde7f3aea436889340681896c338cbdc7 Author: MSVSphere Packaging Team Date: Fri Dec 20 17:18:01 2024 +0300 import rust-string_cache-0.8.7-5.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..36b18ac --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/string_cache-0.8.7.crate diff --git a/.rust-string_cache.metadata b/.rust-string_cache.metadata new file mode 100644 index 0000000..6e7cfbe --- /dev/null +++ b/.rust-string_cache.metadata @@ -0,0 +1 @@ +ae13b9a1a5b7dabae5dc5f549f63d507a14d1f21 SOURCES/string_cache-0.8.7.crate diff --git a/SOURCES/string_cache-fix-metadata.diff b/SOURCES/string_cache-fix-metadata.diff new file mode 100644 index 0000000..532f2fc --- /dev/null +++ b/SOURCES/string_cache-fix-metadata.diff @@ -0,0 +1,11 @@ +--- string_cache-0.8.7/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ string_cache-0.8.7/Cargo.toml 2023-07-28T13:16:52.450530+00:00 +@@ -37,7 +37,7 @@ + version = "0.12" + + [dependencies.phf_shared] +-version = "0.10" ++version = "0.11" + + [dependencies.precomputed-hash] + version = "0.1" diff --git a/SPECS/rust-string_cache.spec b/SPECS/rust-string_cache.spec new file mode 100644 index 0000000..4efa0ce --- /dev/null +++ b/SPECS/rust-string_cache.spec @@ -0,0 +1,179 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 5; + 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 string_cache + +Name: rust-string_cache +Version: 0.8.7 +Release: %autorelease +Summary: String interning library for Rust, developed as part of the Servo project + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/string_cache +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump phf_shared dependency from 0.10 to 0.11 +Patch: string_cache-fix-metadata.diff + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +A string interning library for Rust, developed as part of the Servo +project.} + +%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}+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}+serde_support-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_support-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_support" feature of the "%{crate}" crate. + +%files -n %{name}+serde_support-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 +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.8.7-5 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.8.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.8.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 28 2023 Fabio Valentini - 0.8.7-3 +- Bump phf dependencies from 0.10 to 0.11 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.8.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Mar 16 2023 Fabio Valentini - 0.8.7-1 +- Update to version 0.8.7; Fixes RHBZ#2175208 + +* Wed Feb 22 2023 Fabio Valentini - 0.8.5-1 +- Update to version 0.8.5; Fixes RHBZ#2172580 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.8.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.8.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Mar 29 2022 Fabio Valentini - 0.8.4-1 +- Update to version 0.8.4; Fixes RHBZ#2068960 + +* Sun Mar 06 2022 Fabio Valentini - 0.8.3-1 +- Update to version 0.8.3; Fixes RHBZ#2050676 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Nov 07 2021 Fabio Valentini - 0.8.2-1 +- Update to version 0.8.2; Fixes RHBZ#2013072 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.8.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Nov 19 2020 Fabio Valentini - 0.8.1-1 +- Update to version 0.8.1. +- Fixes RHBZ#1899683 + +* Sat Aug 01 2020 Fedora Release Engineering - 0.8.0-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Feb 15 15:28:04 CET 2020 Igor Raits - 0.8.0-1 +- Update to 0.8.0 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.7.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.7.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 23:16:04 CEST 2019 Igor Gnatenko - 0.7.3-2 +- Regenerate + +* Mon Mar 11 2019 Igor Gnatenko - 0.7.3-1 +- Initial package + +## END: Generated by rpmautospec