commit b939a7031ef7181028a6dacad7d70a4dae8318ec Author: tigro Date: Mon Jan 15 21:07:03 2024 +0300 import rust-enum-as-inner-0.6.0-1.el9 diff --git a/.rust-enum-as-inner.metadata b/.rust-enum-as-inner.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/enum-as-inner-0.6.0.crate b/SOURCES/enum-as-inner-0.6.0.crate new file mode 100644 index 0000000..936fafc Binary files /dev/null and b/SOURCES/enum-as-inner-0.6.0.crate differ diff --git a/SPECS/rust-enum-as-inner.spec b/SPECS/rust-enum-as-inner.spec new file mode 100644 index 0000000..85de5ab --- /dev/null +++ b/SPECS/rust-enum-as-inner.spec @@ -0,0 +1,150 @@ +## 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 +%bcond_without check +%global debug_package %{nil} + +%global crate enum-as-inner + +Name: rust-enum-as-inner +Version: 0.6.0 +Release: %autorelease +Summary: Proc-macro for deriving inner field accessor functions on enums + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/enum-as-inner +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A proc-macro for deriving inner field accessor functions on enums.} + +%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}/CHANGELOG.md +%doc %{crate_instdir}/CODE_OF_CONDUCT.md +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/copyright.txt +%{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 +* Mon Jan 15 2024 Arkady L. Shane - 0.6.0-1 +- Rebuilt for MSVSphere 9.3 + +* Fri Oct 20 2023 Fabio Valentini - 0.6.0-1 +- Update to version 0.6.0; Fixes RHBZ#2211169 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon May 29 2023 Fabio Valentini - 0.5.2-2 +- Revert breaking changes from v0.5.2 + +* Sun May 28 2023 Fabio Valentini - 0.5.2-1 +- Update to version 0.5.2; Fixes RHBZ#2210501 + +* Thu Feb 23 2023 Fabio Valentini - 0.5.1-1 +- Update to version 0.5.1; Fixes RHBZ#2058813 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Jul 17 2022 Fabio Valentini - 0.4.0-1 +- Update to version 0.4.0 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.3.3-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Aug 20 2020 Josh Stone - 0.3.3-1 +- Update to 0.3.3 + +* Sat Aug 01 2020 Fedora Release Engineering - 0.3.2-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Mar 06 2020 Josh Stone - 0.3.2-1 +- Update to 0.3.2 + +* Tue Feb 18 17:30:35 CET 2020 Igor Raits - 0.3.1-1 +- Update to 0.3.1 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Dec 14 14:02:31 CET 2019 Igor Gnatenko - 0.3.0-1 +- Update to 0.3.0 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 20:40:17 CEST 2019 Igor Gnatenko - 0.2.1-2 +- Regenerate + +* Thu May 30 21:04:28 CEST 2019 Igor Gnatenko - 0.2.1-1 +- Initial package +