From 4d30b23c6dd53969ac76c653d1a51331ea3995c7 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:58:53 +0300 Subject: [PATCH] import rust-typenum-1.17.0-3.el10 --- .gitignore | 1 + .rust-typenum.metadata | 1 + SOURCES/rust2rpm.conf | 4 + SPECS/rust-typenum.spec | 216 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 222 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-typenum.metadata create mode 100644 SOURCES/rust2rpm.conf create mode 100644 SPECS/rust-typenum.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..639821c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/typenum-1.17.0.crate diff --git a/.rust-typenum.metadata b/.rust-typenum.metadata new file mode 100644 index 0000000..6e5e4d0 --- /dev/null +++ b/.rust-typenum.metadata @@ -0,0 +1 @@ +fc76c4b86c035f557e66372f24425ec360a64b3b SOURCES/typenum-1.17.0.crate diff --git a/SOURCES/rust2rpm.conf b/SOURCES/rust2rpm.conf new file mode 100644 index 0000000..f761290 --- /dev/null +++ b/SOURCES/rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + scale-info + scale_info diff --git a/SPECS/rust-typenum.spec b/SPECS/rust-typenum.spec new file mode 100644 index 0000000..03a5b84 --- /dev/null +++ b/SPECS/rust-typenum.spec @@ -0,0 +1,216 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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 typenum + +Name: rust-typenum +Version: 1.17.0 +Release: %autorelease +Summary: Rust library for type-level numbers evaluated at compile time + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/typenum +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Typenum is a Rust library for type-level numbers evaluated at compile +time. It currently supports bits, unsigned integers, and signed +integers. It also provides a type-level array of type-level numbers, but +its implementation is incomplete.} + +%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 +%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 + +%package -n %{name}+const-generics-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+const-generics-devel %{_description} + +This package contains library source intended for building other packages which +use the "const-generics" feature of the "%{crate}" crate. + +%files -n %{name}+const-generics-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+force_unix_path_separator-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+force_unix_path_separator-devel %{_description} + +This package contains library source intended for building other packages which +use the "force_unix_path_separator" feature of the "%{crate}" crate. + +%files -n %{name}+force_unix_path_separator-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+i128-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+i128-devel %{_description} + +This package contains library source intended for building other packages which +use the "i128" feature of the "%{crate}" crate. + +%files -n %{name}+i128-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+no_std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+no_std-devel %{_description} + +This package contains library source intended for building other packages which +use the "no_std" feature of the "%{crate}" crate. + +%files -n %{name}+no_std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+strict-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+strict-devel %{_description} + +This package contains library source intended for building other packages which +use the "strict" feature of the "%{crate}" crate. + +%files -n %{name}+strict-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.17.0-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 1.17.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 1.17.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Sep 18 2023 Fabio Valentini - 1.17.0-1 +- Update to version 1.17.0; Fixes RHBZ#2239172 + +* Sat Jul 22 2023 Fedora Release Engineering - 1.16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 1.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Dec 10 2022 Fabio Valentini - 1.16.0-1 +- Update to version 1.16.0; Fixes RHBZ#2150971 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.15.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.15.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Fabio Valentini - 1.15.0-1 +- Update to version 1.15.0; Fixes RHBZ#2035633 + +* Fri Sep 03 2021 Fabio Valentini - 1.14.0-1 +- Update to version 1.14.0; Fixes RHBZ#2000299 + +* Tue Jul 27 2021 Fedora Release Engineering - 1.13.0-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Mar 25 2021 Fabio Valentini - 1.13.0-1 +- Update to version 1.13.0. +- Fixes RHBZ#1938379 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Apr 15 2020 Josh Stone - 1.12.0-1 +- Update to 1.12.0 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Nov 20 2019 Josh Stone - 1.11.2-1 +- Update to 1.11.2 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.10.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 10:21:37 CEST 2019 Igor Gnatenko - 1.10.0-4 +- Regenerate + +* Sat Feb 02 2019 Fedora Release Engineering - 1.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Jan 27 2019 Igor Gnatenko - 1.10.0-2 +- Run tests in infrastructure + +* Sun Aug 12 2018 Igor Gnatenko - 1.10.0-1 +- Initial package + +## END: Generated by rpmautospec