commit b6ce97c1b4e75f2b1e6eb6436062e167ff9c5b78 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:20:13 2024 +0300 import rust-memchr-2.7.4-2.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a3d483d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/memchr-2.7.4.crate diff --git a/.rust-memchr.metadata b/.rust-memchr.metadata new file mode 100644 index 0000000..6b0c339 --- /dev/null +++ b/.rust-memchr.metadata @@ -0,0 +1 @@ +bea41b4a4a22f8edbca783829550dd2215afb952 SOURCES/memchr-2.7.4.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..91951b8 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,10 @@ +[package] +summary = "Extremely fast 1, 2 or 3 byte search and single substring search" + +[features] +hide = [ + "compiler_builtins", + "core", + "rustc-dep-of-std", +] + diff --git a/SPECS/rust-memchr.spec b/SPECS/rust-memchr.spec new file mode 100644 index 0000000..cfa31b2 --- /dev/null +++ b/SPECS/rust-memchr.spec @@ -0,0 +1,307 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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 memchr + +Name: rust-memchr +Version: 2.7.4 +Release: %autorelease +Summary: Extremely fast 1, 2 or 3 byte search and single substring search + +License: Unlicense OR MIT +URL: https://crates.io/crates/memchr +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) +routines for 1, 2 or 3 byte search and single substring search.} + +%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}/COPYING +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/UNLICENSE +%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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+libc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libc-devel %{_description} + +This package contains library source intended for building other packages which +use the "libc" feature of the "%{crate}" crate. + +%files -n %{name}+libc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+logging-devel %{_description} + +This package contains library source intended for building other packages which +use the "logging" feature of the "%{crate}" crate. + +%files -n %{name}+logging-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}+use_std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+use_std-devel %{_description} + +This package contains library source intended for building other packages which +use the "use_std" feature of the "%{crate}" crate. + +%files -n %{name}+use_std-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 - 2.7.4-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 2.7.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 14 2024 Fabio Valentini - 2.7.4-1 +- Update to version 2.7.4; Fixes RHBZ#2292246 + +* Tue Apr 16 2024 Fabio Valentini - 2.7.2-1 +- Update to version 2.7.2; Fixes RHBZ#2271951 + +* Fri Jan 26 2024 Fedora Release Engineering - 2.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Dec 31 2023 Fabio Valentini - 2.7.1-1 +- Update to version 2.7.1; Fixes RHBZ#2256148 + +* Sun Oct 08 2023 Fabio Valentini - 2.6.4-1 +- Update to version 2.6.4; Fixes RHBZ#2241656 + +* Tue Sep 19 2023 Fabio Valentini - 2.6.3-1 +- Update to version 2.6.3; Fixes RHBZ#2237011 + +* Wed Aug 30 2023 Fabio Valentini - 2.6.2-1 +- Update to version 2.6.2 + +* Wed Aug 30 2023 Fabio Valentini - 2.6.1-1 +- Update to version 2.6.1; Fixes RHBZ#2235399 + +* Sun Aug 06 2023 Fabio Valentini - 2.5.0-5 +- Regenerate with rust2rpm v24 + +* Fri Jul 21 2023 Fedora Release Engineering - 2.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 2.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 2.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu May 12 2022 Fabio Valentini - 2.5.0-1 +- Update to version 2.5.0; Fixes RHBZ#2080657 + +* Fri Jan 21 2022 Fedora Release Engineering - 2.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Aug 21 2021 Fabio Valentini - 2.4.1-1 +- Update to version 2.4.1; Fixes RHBZ#1995151 + +* Fri Jul 23 2021 Fedora Release Engineering - 2.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat May 01 2021 Fabio Valentini - 2.4.0-1 +- Update to version 2.4.0. +- Fixes RHBZ#1955840 + +* Wed Jan 27 2021 Fedora Release Engineering - 2.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Nov 12 2020 Fabio Valentini - 2.3.4-1 +- Update to version 2.3.4. +- Fixes RHBZ#1892480 + +* Wed Jul 29 2020 Fedora Release Engineering - 2.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Feb 22 2020 Josh Stone - 2.3.3-1 +- Update to 2.3.3 + +* Thu Feb 13 14:39:24 CET 2020 Igor Raits - 2.3.2-1 +- Update to 2.3.2 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jan 16 2020 Josh Stone - 2.3.0-1 +- Update to 2.3.0 + +* Fri Sep 13 21:01:59 CEST 2019 Robert-André Mauchin - 2.2.1-3 +- Bump quickcheck to 0.9 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jul 13 11:18:21 CEST 2019 Igor Gnatenko - 2.2.1-1 +- Update to 2.2.1 + +* Wed Jun 19 23:23:33 CEST 2019 Igor Gnatenko - 2.2.0-5 +- Regenerate + +* Sun Jun 09 12:27:43 CEST 2019 Igor Gnatenko - 2.2.0-4 +- Fix skip_build + +* Sun Jun 09 10:20:13 CEST 2019 Igor Gnatenko - 2.2.0-3 +- Regenerate + +* Sun Mar 10 2019 Igor Gnatenko - 2.2.0-2 +- Do not pull optional dependencies + +* Tue Feb 12 2019 Igor Gnatenko - 2.2.0-1 +- Update to 2.2.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 2.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jan 19 2019 Igor Gnatenko - 2.1.3-1 +- Update to 2.1.3 + +* Wed Dec 12 2018 Josh Stone - 2.1.2-1 +- Update to 2.1.2 + +* Sat Nov 03 2018 Josh Stone - 2.1.1-1 +- Update to 2.1.1 + +* Sat Oct 27 2018 Igor Gnatenko - 2.1.0-2 +- Adapt to new packaging + +* Tue Sep 18 2018 Josh Stone - 2.1.0-1 +- Update to 2.1.0 + +* Thu Aug 30 2018 Josh Stone - 2.0.2-1 +- Update to 2.0.2 + +* Sat Jul 28 2018 Igor Gnatenko - 2.0.1-6 +- Rebuild to trigger tests + +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 2.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 2.0.1-3 +- Rebuild for rust-packaging v5 + +* Mon Jan 01 2018 Igor Gnatenko - 2.0.1-2 +- Bump quickcheck to 0.6 + +* Thu Nov 30 2017 Igor Gnatenko - 2.0.1-1 +- Update to 2.0.1 + +* Wed Nov 29 2017 Igor Gnatenko - 2.0.0-2 +- Bump quickcheck to 0.5 +- Enable tests + +* Mon Nov 06 2017 Igor Gnatenko - 2.0.0-1 +- Update to 2.0.0 + +* Wed Jun 14 2017 Igor Gnatenko - 1.0.1-5 +- Port to use rust-packaging + +* Fri Feb 24 2017 Igor Gnatenko - 1.0.1-4 +- Use rich dependencies + +* Sat Feb 18 2017 Igor Gnatenko - 1.0.1-3 +- Use awk to trim dev-dependencies and get them back before installing + +* Sat Feb 18 2017 Igor Gnatenko - 1.0.1-2 +- Use patch file for dropping dependencies + +* Sat Feb 18 2017 Igor Gnatenko - 1.0.1-1 +- Initial package + +## END: Generated by rpmautospec