From 58e766adb4ea4cc69e5cd0a90d155fb8b8e181fc Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:21:13 +0300 Subject: [PATCH] import rust-dirs-next-2.0.0-11.el10 --- .gitignore | 1 + .rust-dirs-next.metadata | 1 + SPECS/rust-dirs-next.spec | 118 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-dirs-next.metadata create mode 100644 SPECS/rust-dirs-next.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3e41df7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dirs-next-2.0.0.crate diff --git a/.rust-dirs-next.metadata b/.rust-dirs-next.metadata new file mode 100644 index 0000000..42ad8ca --- /dev/null +++ b/.rust-dirs-next.metadata @@ -0,0 +1 @@ +221fbb4fc6e00ac1c8cda636b03851dd22cdeb83 SOURCES/dirs-next-2.0.0.crate diff --git a/SPECS/rust-dirs-next.spec b/SPECS/rust-dirs-next.spec new file mode 100644 index 0000000..e4a336d --- /dev/null +++ b/SPECS/rust-dirs-next.spec @@ -0,0 +1,118 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 11; + 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 dirs-next + +Name: rust-dirs-next +Version: 2.0.0 +Release: %autorelease +Summary: Platform-specific standard locations of directories + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/dirs-next +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +A tiny low-level library that provides platform-specific standard +locations of directories for config, cache and other data on Linux, +Windows, macOS and Redox by leveraging the mechanisms defined by the XDG +base/user directory specifications on Linux, the Known Folder API on +Windows, and the Standard Directory guidelines on macOS.} + +%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}/CHANGELOG.md +%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 - 2.0.0-11 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 2.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 2.0.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 2.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat May 20 2023 Fabio Valentini - 2.0.0-8 +- Regenerate with rust2rpm v24 + +* Fri Jan 20 2023 Fedora Release Engineering - 2.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 2.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 2.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Dec 27 11:09:36 CET 2020 Igor Raits - 2.0.0-1 +- Initial package (Closes: RHBZ#1911049) + +## END: Generated by rpmautospec