From 4345087dcb7106238bacaab240f8c0078ec4e47c Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:33:56 +0300 Subject: [PATCH] import rust-fs_extra-1.3.0-4.el10 --- .gitignore | 1 + .rust-fs_extra.metadata | 1 + SOURCES/README.md | 3 + SPECS/rust-fs_extra.spec | 128 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 133 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-fs_extra.metadata create mode 100644 SOURCES/README.md create mode 100644 SPECS/rust-fs_extra.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..848f7de --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/fs_extra-1.3.0.crate diff --git a/.rust-fs_extra.metadata b/.rust-fs_extra.metadata new file mode 100644 index 0000000..d54b0f6 --- /dev/null +++ b/.rust-fs_extra.metadata @@ -0,0 +1 @@ +077d6af5ac10302f24a0ec1826f19989f23d35f3 SOURCES/fs_extra-1.3.0.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..21852f7 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-fs_extra + +The rust-fs_extra package \ No newline at end of file diff --git a/SPECS/rust-fs_extra.spec b/SPECS/rust-fs_extra.spec new file mode 100644 index 0000000..6be1b01 --- /dev/null +++ b/SPECS/rust-fs_extra.spec @@ -0,0 +1,128 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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 +# * some tests hard-code assumptions that are not true across file systems: +# https://github.com/webdesus/fs_extra/issues/69 +%bcond_with check +%global debug_package %{nil} + +%global crate fs_extra + +Name: rust-fs_extra +Version: 1.3.0 +Release: %autorelease +Summary: Expanding std::fs and std::io + +License: MIT +URL: https://crates.io/crates/fs_extra +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Expanding std::fs and std::io. Recursively copy folders with information +about process and much more.} + +%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 + +%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 - 1.3.0-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 1.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Feb 15 2023 Fabio Valentini - 1.3.0-1 +- Update to version 1.3.0; Fixes RHBZ#2166987 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 1.2.0-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Aug 26 2020 Josh Stone - 1.2.0-1 +- Update to 1.2.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 14:27:18 CEST 2019 Igor Gnatenko - 1.1.0-1 +- Initial package + +## END: Generated by rpmautospec