commit 537ad08d6bba2d4a74514926e670caf0dea95aec Author: tigro Date: Mon Nov 20 00:53:16 2023 +0300 import rust-erased-serde-0.3.31-1.el9 diff --git a/.rust-erased-serde.metadata b/.rust-erased-serde.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/erased-serde-0.3.31.crate b/SOURCES/erased-serde-0.3.31.crate new file mode 100644 index 0000000..1115aa7 Binary files /dev/null and b/SOURCES/erased-serde-0.3.31.crate differ diff --git a/SPECS/rust-erased-serde.spec b/SPECS/rust-erased-serde.spec new file mode 100644 index 0000000..80a478c --- /dev/null +++ b/SPECS/rust-erased-serde.spec @@ -0,0 +1,202 @@ +## 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 24 +# * tests require files which are not shipped with published crates +%bcond_with check +%global debug_package %{nil} + +%global crate erased-serde + +Name: rust-erased-serde +Version: 0.3.31 +Release: %autorelease +Summary: Type-erased Serialize and Serializer traits + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/erased-serde +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Type-erased Serialize and Serializer traits.} + +%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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unstable-debug-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-debug-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable-debug" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-debug-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 +* Mon Nov 20 2023 Arkady L. Shane - 0.3.31-1 +- Rebuilt for MSVSphere 9.2 + +* Fri Sep 15 2023 Fabio Valentini - 0.3.31-1 +- Update to version 0.3.31; Fixes RHBZ#2234354 + +* Wed Aug 23 2023 Fabio Valentini - 0.3.29-1 +- Update to version 0.3.29; Fixes RHBZ#2232466 + +* Fri Jul 21 2023 Fabio Valentini - 0.3.28-1 +- Update to version 0.3.28; Fixes RHBZ#2223129 + +* Tue Jul 11 2023 Fabio Valentini - 0.3.27-1 +- Update to version 0.3.27; Fixes RHBZ#2219189 + +* Mon Mar 06 2023 Fabio Valentini - 0.3.25-1 +- Update to version 0.3.25; Fixes RHBZ#2175342 + +* Wed Dec 21 2022 Fabio Valentini - 0.3.24-1 +- Update to version 0.3.24; Fixes RHBZ#2154570 + +* Thu Aug 25 2022 Fabio Valentini - 0.3.23-1 +- Update to version 0.3.23; Fixes RHBZ#2121251 + +* Tue Aug 02 2022 Fabio Valentini - 0.3.22-1 +- Update to version 0.3.22; Fixes RHBZ#2113795 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 15 2022 Fabio Valentini - 0.3.21-1 +- Update to version 0.3.21; Fixes RHBZ#2098394 + +* Thu Mar 17 2022 Fabio Valentini - 0.3.20-1 +- Update to version 0.3.20; Fixes RHBZ#2064425 + +* Wed Jan 26 2022 Fabio Valentini - 0.3.18-1 +- Update to version 0.3.18; Fixes RHBZ#2043784 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Fabio Valentini - 0.3.17-1 +- Update to version 0.3.17; Fixes RHBZ#2035616 + +* Sat Nov 27 2021 Igor Raits - 0.3.16-4 +- fixup! Regenerate + +* Tue Jul 27 2021 Fedora Release Engineering - 0.3.16-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Jun 19 2021 Fabio Valentini - 0.3.16-1 +- Update to version 0.3.16. +- Fixes RHBZ#1973713 + +* Tue May 25 2021 Fabio Valentini - 0.3.15-1 +- Update to version 0.3.15. +- Fixes RHBZ#1964135 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Dec 28 11:02:30 CET 2020 Igor Raits - 0.3.13-1 +- Update to 0.3.13 (Fixes: RHBZ#1911137) + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 26 2020 Josh Stone - 0.3.12-1 +- Update to 0.3.12 + +* Sat Mar 28 07:14:16 CET 2020 Igor Raits - 0.3.11-1 +- Update to 0.3.11 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 07 2020 Josh Stone - 0.3.10-1 +- Update to 0.3.10 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Feb 11 2019 Sayan Chowdhury - 0.3.9-1 +- Initial package +