commit 904b81508b65c315063fbb0b353afe1d6fdfa865 Author: tigro Date: Mon Jan 15 22:02:56 2024 +0300 import rust-ouroboros-0.17.2-1.el9 diff --git a/.rust-ouroboros.metadata b/.rust-ouroboros.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/ouroboros-0.17.2.crate b/SOURCES/ouroboros-0.17.2.crate new file mode 100644 index 0000000..d4018ab Binary files /dev/null and b/SOURCES/ouroboros-0.17.2.crate differ diff --git a/SPECS/rust-ouroboros.spec b/SPECS/rust-ouroboros.spec new file mode 100644 index 0000000..cfce538 --- /dev/null +++ b/SPECS/rust-ouroboros.spec @@ -0,0 +1,144 @@ +## 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 +%bcond_without check +%global debug_package %{nil} + +%global crate ouroboros + +Name: rust-ouroboros +Version: 0.17.2 +Release: %autorelease +Summary: Easy, safe self-referential struct generation + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/ouroboros +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Easy, safe self-referential struct generation.} + +%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}+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 + +%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 Jan 15 2024 Arkady L. Shane - 0.17.2-1 +- Rebuilt for MSVSphere 9.3 + +* Sat Aug 12 2023 Christian Heimes - 0.17.2-1 +- Update to 0.17.2, resolves rhbz#2215171 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.15.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Feb 28 2023 Fabio Valentini - 0.15.6-1 +- Update to version 0.15.6; Fixes RHBZ#2170225 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.15.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Oct 08 2022 Fabio Valentini - 0.15.5-1 +- Update to version 0.15.5; Fixes RHBZ#2127683 + +* Sat Sep 10 2022 Fabio Valentini - 0.15.4-1 +- Update to version 0.15.4; Fixes RHBZ#2120404 + +* Fri Aug 12 2022 Fabio Valentini - 0.15.2-1 +- Update to version 0.15.2; Fixes RHBZ#2116253 + +* Tue Aug 02 2022 Fabio Valentini - 0.15.1-1 +- Update to version 0.15.1; Fixes RHBZ#2112709 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.15.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu May 05 2022 Christian Heimes - 0.15.0-1 +- Update to ouroboros 0.15.0, fixes rhbz#2027028 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.13.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Nov 04 2021 Christian Heimes - 0.13.0-1 +- Update to 0.13.0 (#2012623) + +* Thu Sep 30 2021 Christian Heimes - 0.12.0-1 +- Update to 0.12.0 (#2007661) + +* Thu Sep 30 2021 Christian Heimes - 0.11.1-1 +- Update to 0.11.1 (#2007661) + +* Wed Aug 18 2021 Christian Heimes - 0.10.1-1 +- Upstream release 0.10.1 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.9.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 02 12:07:44 CEST 2021 Christian Heimes - 0.9.3-1 +- Initial package +