commit d79ad81dbf009e1fa67720e2023cf7b77ccb9c32 Author: MSVSphere Packaging Team Date: Thu Jan 11 02:21:50 2024 +0300 import rust-ref-cast-impl-1.0.22-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..38e60d4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ref-cast-impl-1.0.22.crate diff --git a/.rust-ref-cast-impl.metadata b/.rust-ref-cast-impl.metadata new file mode 100644 index 0000000..f8e0e37 --- /dev/null +++ b/.rust-ref-cast-impl.metadata @@ -0,0 +1 @@ +752bf76de99c257bfa85de589d73c14af70e2c63 SOURCES/ref-cast-impl-1.0.22.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..553347c --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/SPECS/rust-ref-cast-impl.spec b/SPECS/rust-ref-cast-impl.spec new file mode 100644 index 0000000..ccc02db --- /dev/null +++ b/SPECS/rust-ref-cast-impl.spec @@ -0,0 +1,154 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## 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 25 +# * tests can only be run in-tree +%bcond_with check +%global debug_package %{nil} + +%global crate ref-cast-impl + +Name: rust-ref-cast-impl +Version: 1.0.22 +Release: %autorelease +Summary: Derive implementation for ref_cast::RefCast + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/ref-cast-impl +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Derive implementation for ref_cast::RefCast.} + +%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} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Thu Jan 11 2024 MSVSphere Packaging Team - 1.0.22-1 +- Rebuilt for MSVSphere 9.3 + +* Wed Jan 03 2024 Fabio Valentini - 1.0.22-1 +- Update to version 1.0.22; Fixes RHBZ#2254418 + +* Sun Aug 27 2023 Fabio Valentini - 1.0.20-1 +- Update to version 1.0.20; Fixes RHBZ#2232468 + +* Sat Jul 29 2023 Fabio Valentini - 1.0.19-1 +- Update to version 1.0.19; Fixes RHBZ#2224477 + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jul 07 2023 Fabio Valentini - 1.0.18-1 +- Update to version 1.0.18; Fixes RHBZ#2219449 + +* Wed Mar 22 2023 Fabio Valentini - 1.0.16-1 +- Update to version 1.0.16; Fixes RHBZ#2179484 + +* Tue Mar 07 2023 Fabio Valentini - 1.0.15-1 +- Update to version 1.0.15; Fixes RHBZ#2175346 + +* Fri Feb 03 2023 Fabio Valentini - 1.0.14-1 +- Update to version 1.0.14; Fixes RHBZ#2154592 + +* Sat Jan 21 2023 Fedora Release Engineering - 1.0.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Dec 12 2022 Fabio Valentini - 1.0.13-1 +- Update to version 1.0.13; Fixes RHBZ#2133345 + +* Sat Aug 06 2022 Fabio Valentini - 1.0.9-1 +- Update to version 1.0.9; Fixes RHBZ#2114939 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Jul 17 2022 Fabio Valentini - 1.0.8-1 +- Update to version 1.0.8; Fixes RHBZ#2107780 + +* Wed May 25 2022 Fabio Valentini - 1.0.7-1 +- Update to version 1.0.7; Fixes RHBZ#2078257 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Dec 29 22:11:08 CET 2020 Igor Raits - 1.0.6-1 +- Update to 1.0.6 (Fixes: RHBZ#1911513) + +* Sun Dec 27 08:55:17 CET 2020 Igor Raits - 1.0.5-1 +- Update to 1.0.5 + +* Thu Nov 12 2020 Fabio Valentini - 1.0.3-1 +- Update to version 1.0.3. +- Fixes RHBZ#1892517 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 19 2020 Josh Stone - 1.0.2-1 +- Update to 1.0.2 + +* Mon Mar 23 19:23:16 CET 2020 Igor Raits - 1.0.1-1 +- Update to 1.0.1 + +* Mon Mar 23 18:51:20 CET 2020 Igor Raits - 1.0.0-1 +- Initial package +