From 2d89ed6b6aa0d39b10a5091ee5aae10b44a3a55f Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:05:53 +0300 Subject: [PATCH] import rust-clang-ast-0.1.27-1.el10 --- .gitignore | 1 + .rust-clang-ast.metadata | 1 + SOURCES/rust2rpm.toml | 4 + SPECS/rust-clang-ast.spec | 165 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 171 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-clang-ast.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-clang-ast.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c58549d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/clang-ast-0.1.27.crate diff --git a/.rust-clang-ast.metadata b/.rust-clang-ast.metadata new file mode 100644 index 0000000..922174c --- /dev/null +++ b/.rust-clang-ast.metadata @@ -0,0 +1 @@ +5a5ef387a826de2208b11aef8984064121ee1997 SOURCES/clang-ast-0.1.27.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..b927216 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["missing dev-dependencies: clang-ast-test-suite ^0"] + diff --git a/SPECS/rust-clang-ast.spec b/SPECS/rust-clang-ast.spec new file mode 100644 index 0000000..0e104e3 --- /dev/null +++ b/SPECS/rust-clang-ast.spec @@ -0,0 +1,165 @@ +## 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 27 +# * missing dev-dependencies: clang-ast-test-suite ^0 +%bcond check 0 +%global debug_package %{nil} + +%global crate clang-ast + +Name: rust-clang-ast +Version: 0.1.27 +Release: %autorelease +Summary: Data structures for processing Clang's -ast-dump=json format + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/clang-ast +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Data structures for processing Clang's `-ast-dump=json` format.} + +%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} -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.27-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Nov 28 2024 Fabio Valentini - 0.1.27-1 +- Update to version 0.1.27; Fixes RHBZ#2326713 + +* Mon Aug 12 2024 Jan Staněk - 0.1.26-1 +- Update to version 0.1.26 (rhbz#2303994) + +* Fri Jul 19 2024 Fedora Release Engineering - 0.1.25-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jul 08 2024 Jan Staněk - 0.1.25-1 +- Update to version 0.1.25 (rhbz#2293029) + +* Mon Jun 03 2024 Jan Staněk - 0.1.24-1 +- Update to version 0.1.24 (rhbz#2284215) + +* Mon Mar 18 2024 Jan Staněk - 0.1.23-1 +- Update to version 0.1.23 (rhbz#2269880) + +* Fri Jan 26 2024 Fedora Release Engineering - 0.1.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 03 2024 Fabio Valentini - 0.1.22-1 +- Update to version 0.1.22; Fixes RHBZ#2256505 + +* Fri Oct 27 2023 Jan Staněk - 0.1.21-1 +- Update to version 0.1.21 (rhbz#2246461) + +* Sat Aug 26 2023 Fabio Valentini - 0.1.20-1 +- Update to version 0.1.20; Fixes RHBZ#2234655 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.1.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 17 2023 Fabio Valentini - 0.1.19-1 +- Update to version 0.1.19; Fixes RHBZ#2223122 + +* Wed Jul 05 2023 Fabio Valentini - 0.1.18-1 +- Update to version 0.1.18; Fixes RHBZ#2219696 + +* Thu Apr 20 2023 Fabio Valentini - 0.1.17-1 +- Update to version 0.1.17; Fixes RHBZ#2188308 + +* Tue Feb 28 2023 Fabio Valentini - 0.1.16-1 +- Update to version 0.1.16; Fixes RHBZ#2169032 + +* Thu Feb 09 2023 Fabio Valentini - 0.1.14-1 +- Update to version 0.1.14; Fixes RHBZ#2168374 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.1.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jan 06 2023 Jan Staněk - 0.1.13-1 +- Update to version 0.1.13 + +* Tue Dec 20 2022 Fabio Valentini - 0.1.11-1 +- Update to version 0.1.11; Fixes RHBZ#2154558 + +* Sun Dec 11 2022 Fabio Valentini - 0.1.10-1 +- Update to version 0.1.10; Fixes RHBZ#2150721 + +* Mon Aug 22 2022 Fabio Valentini - 0.1.9-1 +- Update to version 0.1.9; Fixes RHBZ#2120266 + +* Tue Aug 02 2022 Fabio Valentini - 0.1.8-1 +- Update to version 0.1.8; Fixes RHBZ#2113382 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 02 2022 Jan Staněk - 0.1.7-1 +- update to version 0.1.7 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 21 2021 Jan Staněk - 0.1.6-1 +- Initial package + +## END: Generated by rpmautospec