commit 0c59a48ffc528f2db99a076230d8f477960ca2cb Author: tigro Date: Mon Jan 15 22:15:58 2024 +0300 import rust-pretty_env_logger-0.5.0-1.el9 diff --git a/.rust-pretty_env_logger.metadata b/.rust-pretty_env_logger.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/pretty_env_logger-0.5.0.crate b/SOURCES/pretty_env_logger-0.5.0.crate new file mode 100644 index 0000000..86f62b6 Binary files /dev/null and b/SOURCES/pretty_env_logger-0.5.0.crate differ diff --git a/SPECS/rust-pretty_env_logger.spec b/SPECS/rust-pretty_env_logger.spec new file mode 100644 index 0000000..53cc2ee --- /dev/null +++ b/SPECS/rust-pretty_env_logger.spec @@ -0,0 +1,158 @@ +## 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 pretty_env_logger + +Name: rust-pretty_env_logger +Version: 0.5.0 +Release: %autorelease +Summary: Visually pretty env_logger + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/pretty_env_logger +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A visually pretty env_logger.} + +%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 + +%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.5.0-1 +- Rebuilt for MSVSphere 9.3 + +* Sun Oct 08 2023 Fabio Valentini - 0.5.0-1 +- Update to version 0.5.0; Fixes RHBZ#2208320 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.4.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue May 16 2023 Fabio Valentini - 0.4.0-10 +- Regenerate with rust2rpm v24 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.4.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.4.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.4.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Feb 11 13:23:16 CET 2020 Igor Raits - 0.4.0-1 +- Update to 0.4.0 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Aug 18 16:07:29 CEST 2019 Igor Gnatenko - 0.3.1-1 +- Update to 0.3.1 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 10 2019 Igor Gnatenko - 0.3.0-1 +- Update to 0.3.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Nov 09 2018 Josh Stone - 0.2.5-1 +- Update to 0.2.5 +- Adapt to new packaging + +* Sat Jul 14 2018 Fedora Release Engineering - 0.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jul 12 2018 Igor Gnatenko - 0.2.4-1 +- Update to 0.2.4 + +* Sat May 12 2018 Igor Gnatenko - 0.2.3-1 +- Update to 0.2.3 + +* Mon Mar 26 2018 Josh Stone - 0.2.2-2 +- Bump ansi_term to 0.11 + +* Thu Feb 08 2018 Igor Gnatenko - 0.2.2-1 +- Update to 0.2.2 + +* Thu Feb 08 2018 Igor Gnatenko - 0.2.1-1 +- Update to 0.2.1 + +* Sat Jan 20 2018 Igor Gnatenko - 0.2.0-1 +- Update to 0.2.0 + +* Mon Jan 08 2018 Igor Gnatenko - 0.1.1-2 +- Rebuild for rust-packaging v5 + +* Sun Dec 03 2017 Igor Gnatenko - 0.1.1-1 +- Initial package +