From 048d6b7722f3084542349fad66c166314ad7bc0f Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 14:54:45 +0300 Subject: [PATCH] import rust-bindgen-cli-0.69.5-1.el10 --- .gitignore | 1 + .rust-bindgen-cli.metadata | 1 + SPECS/rust-bindgen-cli.spec | 124 ++++++++++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-bindgen-cli.metadata create mode 100644 SPECS/rust-bindgen-cli.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c62d9ef --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bindgen-cli-0.69.5.crate diff --git a/.rust-bindgen-cli.metadata b/.rust-bindgen-cli.metadata new file mode 100644 index 0000000..b079ca7 --- /dev/null +++ b/.rust-bindgen-cli.metadata @@ -0,0 +1 @@ +4bc0f96185f9cdea5836219188fa8001e30845db SOURCES/bindgen-cli-0.69.5.crate diff --git a/SPECS/rust-bindgen-cli.spec b/SPECS/rust-bindgen-cli.spec new file mode 100644 index 0000000..c7cffc9 --- /dev/null +++ b/SPECS/rust-bindgen-cli.spec @@ -0,0 +1,124 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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 26 +%bcond_without check + +%global crate bindgen-cli + +Name: rust-bindgen-cli +Version: 0.69.5 +Release: %autorelease +Summary: Automatically generates Rust FFI bindings to C and C++ libraries + +License: BSD-3-Clause +URL: https://crates.io/crates/bindgen-cli +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Automatically generates Rust FFI bindings to C and C++ libraries.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +# (MIT OR Apache-2.0) AND Unicode-DFS-2016 +# Apache-2.0 +# Apache-2.0 OR MIT +# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT +# BSD-3-Clause +# ISC +# MIT +# MIT OR Apache-2.0 +# Unlicense OR MIT +License: BSD-3-Clause AND Apache-2.0 AND ISC AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) +# LICENSE.dependencies contains a full license breakdown + +# /usr/bin/bindgen was moved from bindgen to bindgen-cli with v0.61 +Provides: bindgen = %{version}-%{release} +Obsoletes: bindgen < 0.61 + +# /usr/bin/bindgen requires libclang.so at runtime +Requires: clang-libs + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/bindgen + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires -a + +%build +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.69.5-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Oct 24 2024 Fabio Valentini - 0.69.5-1 +- Update to version 0.69.5 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.69.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu May 23 2024 Fabio Valentini - 0.69.4-2 +- Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces + +* Wed Feb 07 2024 Fabio Valentini - 0.69.4-1 +- Update to version 0.69.4; Fixes RHBZ#2247522 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.68.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Sep 24 2023 Fabio Valentini - 0.68.1-2 +- Build with support for dlopening libclang.so at runtime + +* Sun Sep 17 2023 Fabio Valentini - 0.68.1-1 +- Update to version 0.68.1; Fixes RHBZ#2168598 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.63.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jan 30 2023 Fabio Valentini - 0.63.0-4 +- Ensure bindgen-cli is always linked to libclang + +* Fri Jan 20 2023 Fedora Release Engineering - 0.63.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 13 2022 Fabio Valentini - 0.63.0-2 +- Ensure binary is linked with libclang instead of using dlopen + +* Fri Nov 25 2022 Fabio Valentini - 0.63.0-1 +- Update to version 0.63.0 + +* Fri Nov 25 2022 Fabio Valentini - 0.62.0-1 +- Initial import (#2143685) +## END: Generated by rpmautospec