From 0713fc9bb56190c1d64e6c956962b5080bb5d271 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:16:25 +0300 Subject: [PATCH] import rust-cxxbridge-macro-1.0.134-1.el10 --- .gitignore | 1 + .rust-cxxbridge-macro.metadata | 1 + SOURCES/rust2rpm.toml | 11 ++ SPECS/rust-cxxbridge-macro.spec | 330 ++++++++++++++++++++++++++++++++ 4 files changed, 343 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-cxxbridge-macro.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-cxxbridge-macro.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8988a7f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cxxbridge-macro-1.0.134.crate diff --git a/.rust-cxxbridge-macro.metadata b/.rust-cxxbridge-macro.metadata new file mode 100644 index 0000000..2e39e3e --- /dev/null +++ b/.rust-cxxbridge-macro.metadata @@ -0,0 +1 @@ +a35e7c194bfefccf7f0f6daf8a4f7d04958dc992 SOURCES/cxxbridge-macro-1.0.134.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..512f559 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,11 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + +[features] +hide = [ + # outdated dependencies + "memmap", + "experimental-enum-variants-from-header", +] + diff --git a/SPECS/rust-cxxbridge-macro.spec b/SPECS/rust-cxxbridge-macro.spec new file mode 100644 index 0000000..3ef1f99 --- /dev/null +++ b/SPECS/rust-cxxbridge-macro.spec @@ -0,0 +1,330 @@ +## 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 +# * tests can only be run in-tree +%bcond check 0 +%global debug_package %{nil} + +%global crate cxxbridge-macro + +Name: rust-cxxbridge-macro +Version: 1.0.134 +Release: %autorelease +Summary: Implementation detail of the cxx crate + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/cxxbridge-macro +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Implementation detail of the `cxx` crate.} + +%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 + +%package -n %{name}+clang-ast-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+clang-ast-devel %{_description} + +This package contains library source intended for building other packages which +use the "clang-ast" feature of the "%{crate}" crate. + +%files -n %{name}+clang-ast-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+experimental-async-fn-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+experimental-async-fn-devel %{_description} + +This package contains library source intended for building other packages which +use the "experimental-async-fn" feature of the "%{crate}" crate. + +%files -n %{name}+experimental-async-fn-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+flate2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+flate2-devel %{_description} + +This package contains library source intended for building other packages which +use the "flate2" feature of the "%{crate}" crate. + +%files -n %{name}+flate2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde_derive-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_derive-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_derive" feature of the "%{crate}" crate. + +%files -n %{name}+serde_derive-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde_json-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_json-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_json" feature of the "%{crate}" crate. + +%files -n %{name}+serde_json-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 - 1.0.134-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Dec 16 2024 Fabio Valentini - 1.0.134-1 +- Update to version 1.0.134; Fixes RHBZ#2331732 + +* Sun Dec 01 2024 Fabio Valentini - 1.0.133-1 +- Update to version 1.0.133; Fixes RHBZ#2325402 + +* Tue Oct 22 2024 Fabio Valentini - 1.0.129-1 +- Update to version 1.0.129; Fixes RHBZ#2318686 + +* Tue Sep 24 2024 Fabio Valentini - 1.0.128-2 +- Drop unused experimental-enum-variants-from-header feature + +* Tue Sep 03 2024 Jan Staněk - 1.0.128-1 +- Update to version 1.0.128 (rhbz#2309027) + +* Fri Aug 16 2024 Jan Staněk - 1.0.126-1 +- Update to version 1.0.126 (rhbz#2305008) + +* Fri Jul 19 2024 Fedora Release Engineering - 1.0.124-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Jun 18 2024 Jan Staněk - 1.0.124-1 +- Update to version 1.0.124 (rhbz#2292440) + +* Wed Jun 05 2024 Jan Staněk - 1.0.123-1 +- Update to version 1.0.123 (rhbz#2290522) + +* Tue Apr 09 2024 Jan Staněk - 1.0.121-1 +- Update to version 1.0.121 (rhbz#2274054) + +* Tue Mar 26 2024 Jan Staněk - 1.0.120-1 +- Update to version 1.0.120 (rhbz#2271161) + +* Thu Mar 14 2024 Jan Staněk - 1.0.119-1 +- Update to version 1.0.119 (rhbz#2266708) + +* Tue Mar 12 2024 Jan Staněk - 1.0.118-1 +- Update to version 1.0.118 (rhbz#2266708) + +* Tue Feb 20 2024 Jan Staněk - 1.0.117-1 +- Update to version 1.0.117 (rhbz#2265021) + +* Wed Feb 14 2024 Jan Staněk - 1.0.116-1 +- Update to version 1.0.116 (rhbz#2263607) + +* Fri Jan 26 2024 Fedora Release Engineering - 1.0.115-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Jan 09 2024 Jan Staněk - 1.0.115-1 +- Update to version 1.0.115 (rhbz#2257016) + +* Wed Jan 03 2024 Fabio Valentini - 1.0.114-1 +- Update to version 1.0.114; Fixes RHBZ#2254858 + +* Tue Oct 31 2023 Jan Staněk - 1.0.110-1 +- update to version 1.0.110 (rhbz#2246684) + +* Tue Oct 17 2023 Jan Staněk - 1.0.109-1 +- Update to version 1.0.109 (rhbz#2242980) + +* Tue Sep 19 2023 Fabio Valentini - 1.0.107-1 +- Update to version 1.0.107; Fixes RHBZ#2235880 + +* Sat Aug 26 2023 Fabio Valentini - 1.0.106-1 +- Update to version 1.0.106; Fixes RHBZ#2229433 + +* Thu Aug 17 2023 Jan Staněk - 1.0.105-1 +- Update to version 1.0.105 (rhbz#2229433) + +* Tue Aug 01 2023 Fabio Valentini - 1.0.102-1 +- Update to version 1.0.102; Fixes RHBZ#2223498 + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.100-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 11 2023 Fabio Valentini - 1.0.100-1 +- Update to version 1.0.100; Fixes RHBZ#2219893 + +* Thu Jun 15 2023 Jan Staněk - 1.0.97-1 +- Update to version 1.0.97 (rhbz#2215178) + +* Fri May 26 2023 Jan Staněk - 1.0.95-1 +- Update to version 1.0.95 + +* Thu Mar 30 2023 Fabio Valentini - 1.0.94-1 +- Update to version 1.0.94; Fixes RHBZ#2179491 + +* Thu Mar 16 2023 Fabio Valentini - 1.0.92-1 +- Update to version 1.0.92; Fixes RHBZ#2175588 + +* Tue Feb 28 2023 Fabio Valentini - 1.0.91-1 +- Update to version 1.0.91; Fixes RHBZ#2169026 + +* Sun Feb 05 2023 Fabio Valentini - 1.0.89-1 +- Update to version 1.0.89; Fixes RHBZ#2166473 + +* Fri Jan 27 2023 Fabio Valentini - 1.0.88-1 +- Update to version 1.0.88; Fixes RHBZ#2159022 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.85-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jan 06 2023 Jan Staněk - 1.0.85-1 +- Update to version 1.0.85; Fixes RHBZ#2154561 + +* Sun Dec 11 2022 Fabio Valentini - 1.0.83-1 +- Update to version 1.0.83; Fixes RHBZ#2135082 + +* Sat Oct 08 2022 Fabio Valentini - 1.0.78-1 +- Update to version 1.0.78; Fixes RHBZ#2128067 + +* Tue Sep 06 2022 Fabio Valentini - 1.0.75-1 +- Update to version 1.0.75; Fixes RHBZ#2122834 + +* Tue Aug 02 2022 Fabio Valentini - 1.0.73-1 +- Update to version 1.0.73; Fixes RHBZ#2113790 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.72-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Jul 17 2022 Fabio Valentini - 1.0.72-1 +- Update to version 1.0.72; Fixes RHBZ#2107876 + +* Thu Jul 07 2022 Fabio Valentini - 1.0.71-1 +- Update to version 1.0.71; Fixes RHBZ#2098331 + +* Sat May 14 2022 Fabio Valentini - 1.0.68-1 +- Update to version 1.0.68; Fixes RHBZ#2086127 + +* Thu Apr 28 2022 Jan Staněk 1.0.67-1 +- Update to version 1.0.67 + +* Thu Mar 10 2022 Jan Staněk 1.0.66-1 +- commit versio bump in spec + +* Thu Feb 17 2022 Jan Staněk 1.0.65-1 +- Update to version 1.0.65 + +* Thu Feb 03 2022 Fabio Valentini 1.0.64-1 +- Update to version 1.0.64; Fixes RHBZ#2048315 + +* Fri Jan 21 2022 Fedora Release Engineering 1.0.63-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jan 20 2022 Jan Staněk 1.0.63-1 +- Update to version 1.0.63 + +* Wed Jan 05 2022 Fabio Valentini 1.0.62-1 +- Update to version 1.0.62; Fixes RHBZ#2036404 + +* Mon Dec 13 2021 Jan Staněk 1.0.60-2 +- Disable check by default + +* Mon Dec 13 2021 Jan Staněk 1.0.60-1 +- Update to version 1.0.60 + +* Wed Dec 01 2021 Fabio Valentini 1.0.57-1 +- Update to version 1.0.57; Fixes RHBZ#2027987 + +* Mon Oct 11 2021 Jan Staněk 1.0.56-1 +- Upgrade to version 1.0.56 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.49-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 21 2021 Jan Staněk - 1.0.49-1 +- Upgrade to version 1.0.49 + +* Wed Feb 10 2021 Jan Staněk - 0.5.10-2 +- Mark license files + +* Mon Feb 01 14:02:46 CET 2021 Jan Staněk - 0.5.10-1 +- Initial package + +## END: Generated by rpmautospec