From 555e54584b783029c071d59b3fcba58ec898bfe7 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:04:04 +0300 Subject: [PATCH] import rust-scoped-tls-1.0.1-5.el10 --- .gitignore | 1 + .rust-scoped-tls.metadata | 1 + SOURCES/README.md | 3 + SPECS/rust-scoped-tls.spec | 159 +++++++++++++++++++++++++++++++++++++ 4 files changed, 164 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-scoped-tls.metadata create mode 100644 SOURCES/README.md create mode 100644 SPECS/rust-scoped-tls.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ba68e0a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/scoped-tls-1.0.1.crate diff --git a/.rust-scoped-tls.metadata b/.rust-scoped-tls.metadata new file mode 100644 index 0000000..3a04ee3 --- /dev/null +++ b/.rust-scoped-tls.metadata @@ -0,0 +1 @@ +ca628e024632943f37eb9a24e20ef3d011fcc53b SOURCES/scoped-tls-1.0.1.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..01078c0 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-scoped-tls + +The rust-scoped-tls package \ No newline at end of file diff --git a/SPECS/rust-scoped-tls.spec b/SPECS/rust-scoped-tls.spec new file mode 100644 index 0000000..d9d75f8 --- /dev/null +++ b/SPECS/rust-scoped-tls.spec @@ -0,0 +1,159 @@ +## 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 23 +%bcond_without check +%global debug_package %{nil} + +%global crate scoped-tls + +Name: rust-scoped-tls +Version: 1.0.1 +Release: %autorelease +Summary: Provide scoped access to thread local storage (TLS) + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/scoped-tls +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Library implementation of the standard library's old `scoped_thread_local!` +macro for providing scoped access to thread local storage (TLS) so any type can +be stored into TLS.} + +%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 + +%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.0.1-5 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Nov 07 2022 Fabio Valentini - 1.0.1-1 +- Update to version 1.0.1; Fixes RHBZ#2138922 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 1.0.0-7 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Jul 21 08:58:00 CEST 2019 Igor Gnatenko - 1.0.0-2 +- Regenerate + +* Mon Mar 04 2019 Igor Gnatenko - 1.0.0-1 +- Update to 1.0.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Nov 09 2018 Josh Stone - 0.1.2-3 +- Adapt to new packaging + +* Sat Jul 14 2018 Fedora Release Engineering - 0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri May 04 2018 Josh Stone - 0.1.2-1 +- Update to 0.1.2 + +* Mon Mar 05 2018 Igor Gnatenko - 0.1.1-1 +- Update to 0.1.1 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 0.1.0-4 +- Rebuild for rust-packaging v5 + +* Sat Oct 21 2017 Igor Gnatenko - 0.1.0-3 +- Rebuild to get dependency on cargo + +* Fri Sep 22 2017 Igor Gnatenko - 0.1.0-2 +- Exclude appveyor.yml file + +* Fri Jun 16 2017 Igor Gnatenko - 0.1.0-1 +- Initial package + +## END: Generated by rpmautospec