commit 29b452ca92bd1ca868c45fac552cf9fa838ccdb9 Author: tigro Date: Mon Jan 15 22:04:51 2024 +0300 import rust-paris-1.5.15-1.el9 diff --git a/.rust-paris.metadata b/.rust-paris.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/paris-1.5.15.crate b/SOURCES/paris-1.5.15.crate new file mode 100644 index 0000000..7e08a6a Binary files /dev/null and b/SOURCES/paris-1.5.15.crate differ diff --git a/SPECS/rust-paris.spec b/SPECS/rust-paris.spec new file mode 100644 index 0000000..2abd99f --- /dev/null +++ b/SPECS/rust-paris.spec @@ -0,0 +1,132 @@ +## 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 paris + +Name: rust-paris +Version: 1.5.15 +Release: %autorelease +Summary: Simple logger for your CLI apps or other things you want in the terminal + +License: MPL-2.0 +URL: https://crates.io/crates/paris +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +A simple logger for your CLI apps or other things you want in the +terminal.} + +%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 +%doc %{crate_instdir}/CONTRIBUTING.md +%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}+macros-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+macros-devel %{_description} + +This package contains library source intended for building other packages which +use the "macros" feature of the "%{crate}" crate. + +%files -n %{name}+macros-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+no_logger-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+no_logger-devel %{_description} + +This package contains library source intended for building other packages which +use the "no_logger" feature of the "%{crate}" crate. + +%files -n %{name}+no_logger-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+timestamps-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+timestamps-devel %{_description} + +This package contains library source intended for building other packages which +use the "timestamps" feature of the "%{crate}" crate. + +%files -n %{name}+timestamps-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 - 1.5.15-1 +- Rebuilt for MSVSphere 9.3 + +* Thu Mar 30 2023 Fabio Valentini - 1.5.15-1 +- Update to version 1.5.15; Fixes RHBZ#2182796 + +* Sat Jan 21 2023 Fedora Release Engineering - 1.5.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.5.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed May 11 2022 Fabio Valentini - 1.5.13-1 +- Update to version 1.5.13; Fixes RHBZ#2080912 + +* Sun Feb 20 2022 Igor Raits - 1.5.11-1 +- Initial import