commit 8c87a5a7f6f45f03de7d9e6e5bbe90fdfe7e03b8 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:59:11 2024 +0300 import rust-ignore-0.4.23-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..78495dd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ignore-0.4.23.crate diff --git a/.rust-ignore.metadata b/.rust-ignore.metadata new file mode 100644 index 0000000..0dca694 --- /dev/null +++ b/.rust-ignore.metadata @@ -0,0 +1 @@ +ba9005dd24a5ebf44539e514fc7fd3903e1617ed SOURCES/ignore-0.4.23.crate diff --git a/SOURCES/ignore-fix-metadata-auto.diff b/SOURCES/ignore-fix-metadata-auto.diff new file mode 100644 index 0000000..e6bbf65 --- /dev/null +++ b/SOURCES/ignore-fix-metadata-auto.diff @@ -0,0 +1,8 @@ +--- ignore-0.4.23/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ignore-0.4.23/Cargo.toml 2024-09-28T11:30:39.681952+00:00 +@@ -91,5 +91,3 @@ + [features] + simd-accel = [] + +-[target."cfg(windows)".dependencies.winapi-util] +-version = "0.1.2" diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..b4d1252 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Fast library for efficiently matching ignore files" + diff --git a/SPECS/rust-ignore.spec b/SPECS/rust-ignore.spec new file mode 100644 index 0000000..cc4640e --- /dev/null +++ b/SPECS/rust-ignore.spec @@ -0,0 +1,252 @@ +## 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 ignore + +Name: rust-ignore +Version: 0.4.23 +Release: %autorelease +Summary: Fast library for efficiently matching ignore files + +License: Unlicense OR MIT +URL: https://crates.io/crates/ignore +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: ignore-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A fast library for efficiently matching ignore files such as +`.gitignore` against file paths.} + +%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}+simd-accel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd-accel-devel %{_description} + +This package contains library source intended for building other packages which +use the "simd-accel" feature of the "%{crate}" crate. + +%files -n %{name}+simd-accel-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.4.23-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Sep 28 2024 Benjamin A. Beasley - 0.4.23-1 +- Update to verson 0.4.23; Fixes RHBZ#2310777 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.4.22-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.4.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 07 2024 Fabio Valentini - 0.4.22-1 +- Update to version 0.4.22; Fixes RHBZ#2257090 + +* Sat Dec 02 2023 Fabio Valentini - 0.4.21-1 +- Update to version 0.4.21; Fixes RHBZ#2251601 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.4.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Apr 17 2023 Fabio Valentini - 0.4.20-1 +- Update to version 0.4.20; Fixes RHBZ#2158506 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.4.18-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.4.18-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.4.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.4.18-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 18 2021 Fabio Valentini - 0.4.18-1 +- Update to version 0.4.18. +- Fixes RHBZ#1971136 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.4.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Nov 23 2020 Fabio Valentini - 0.4.17-1 +- Update to version 0.4.17. +- Fixes RHBZ#1900730 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.4.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri May 29 16:52:14 CEST 2020 Igor Raits - 0.4.16-1 +- Update to 0.4.16 + +* Sun May 10 10:21:43 CEST 2020 Igor Raits - 0.4.15-1 +- Update to 0.4.15 + +* Mon Mar 30 08:07:33 CEST 2020 Igor Raits - 0.4.14-1 +- Update to 0.4.14 + +* Mon Mar 23 06:53:02 CET 2020 Igor Raits - 0.4.13-1 +- Update to 0.4.13 + +* Tue Mar 17 16:34:22 CET 2020 Igor Raits - 0.4.12-1 +- Update to 0.4.12 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.4.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jan 24 2020 Josh Stone - 0.4.11-1 +- Update to 0.4.11 + +* Sun Sep 08 09:32:10 CEST 2019 Igor Gnatenko - 0.4.10-1 +- Update to 0.4.10 + +* Sat Aug 03 14:35:28 CEST 2019 Igor Gnatenko - 0.4.9-1 +- Update to 0.4.9 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.4.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 00:16:21 CEST 2019 Igor Gnatenko - 0.4.7-3 +- Regenerate + +* Sun Jun 09 10:16:41 CEST 2019 Igor Gnatenko - 0.4.7-2 +- Regenerate + +* Tue Apr 16 12:45:05 CEST 2019 Igor Gnatenko - 0.4.7-1 +- Update to 0.4.7 + +* Sun Mar 10 2019 Igor Gnatenko - 0.4.6-3 +- Do not pull optional dependencies + +* Sat Feb 02 2019 Fedora Release Engineering - 0.4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 08 2019 Josh Stone - 0.4.6-1 +- Update to 0.4.6 + +* Sat Dec 15 2018 Igor Gnatenko - 0.4.5-1 +- Update to 0.4.5 + +* Sun Oct 28 2018 Igor Gnatenko - 0.4.4-2 +- Adapt to new packaging + +* Sat Sep 08 2018 Igor Gnatenko - 0.4.4-1 +- Update to 0.4.4 + +* Sun Jul 29 2018 Igor Gnatenko - 0.4.3-2 +- Apply panic from upstream + +* Sun Jul 29 2018 Igor Gnatenko - 0.4.3-1 +- Update to 0.4.3 + +* Sat Jul 14 2018 Fedora Release Engineering - 0.4.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 12 2018 Igor Gnatenko - 0.4.2-2 +- Bump regex to 1 + +* Sun Apr 22 2018 Igor Gnatenko - 0.4.2-1 +- Update to 0.4.2 + +* Wed Feb 21 2018 Josh Stone - 0.4.1-1 +- Update to 0.4.1 + +* Mon Feb 12 2018 Igor Gnatenko - 0.4.0-1 +- Update to 0.4.0 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 0.3.1-4 +- Rebuild for rust-packaging v5 + +* Thu Nov 30 2017 Igor Gnatenko - 0.3.1-3 +- Bump lazy_static to 1 + +* Fri Nov 10 2017 Igor Gnatenko - 0.3.1-2 +- Bump crossbeam to 0.3 + +* Thu Nov 09 2017 Igor Gnatenko - 0.3.1-1 +- Update to 0.3.1 + +* Wed Jun 14 2017 Igor Gnatenko - 0.2.0-1 +- Update to 0.2.0 + +* Wed Jun 14 2017 Igor Gnatenko - 0.1.8-2 +- Port to use rust-packaging + +* Wed Mar 15 2017 Igor Gnatenko - 0.1.8-1 +- Update to 0.1.8 + +* Sun Feb 26 2017 Igor Gnatenko - 0.1.7-1 +- Initial package + +## END: Generated by rpmautospec