From a5514c846424e800899bcf5fd20743ba854ac4f5 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:33:16 +0300 Subject: [PATCH] import rust-foreign-types-shared0.1-0.1.1-11.el10 --- .gitignore | 1 + .rust-foreign-types-shared0.1.metadata | 1 + SPECS/rust-foreign-types-shared0.1.spec | 114 ++++++++++++++++++++++++ 3 files changed, 116 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-foreign-types-shared0.1.metadata create mode 100644 SPECS/rust-foreign-types-shared0.1.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2e92c9d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/foreign-types-shared-0.1.1.crate diff --git a/.rust-foreign-types-shared0.1.metadata b/.rust-foreign-types-shared0.1.metadata new file mode 100644 index 0000000..9748c68 --- /dev/null +++ b/.rust-foreign-types-shared0.1.metadata @@ -0,0 +1 @@ +b1d193f4544c3e0f16859f8f96f073d4f63dabce SOURCES/foreign-types-shared-0.1.1.crate diff --git a/SPECS/rust-foreign-types-shared0.1.spec b/SPECS/rust-foreign-types-shared0.1.spec new file mode 100644 index 0000000..1823f39 --- /dev/null +++ b/SPECS/rust-foreign-types-shared0.1.spec @@ -0,0 +1,114 @@ +## 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 foreign-types-shared + +Name: rust-foreign-types-shared0.1 +Version: 0.1.1 +Release: %autorelease +Summary: Internal crate used by foreign-types + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/foreign-types-shared +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +An internal crate used by foreign-types.} + +%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 +%{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 - 0.1.1-11 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.1.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.1.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.1.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed May 17 2023 Fabio Valentini - 0.1.1-8 +- Regenerate with rust2rpm v24 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.1.1-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Oct 08 2020 Fabio Valentini - 0.1.1-1 +- Initial compat package for foreign-types-shared 0.1 + +## END: Generated by rpmautospec