commit b0773aff5546f208c7f62fe6b1ec9e45ca536b54 Author: MSVSphere Packaging Team Date: Fri Dec 20 14:43:10 2024 +0300 import rust-annotate-snippets0.6-0.6.1-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..90f89e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/annotate-snippets-0.6.1.crate diff --git a/.rust-annotate-snippets0.6.metadata b/.rust-annotate-snippets0.6.metadata new file mode 100644 index 0000000..f3be67e --- /dev/null +++ b/.rust-annotate-snippets0.6.metadata @@ -0,0 +1 @@ +6a7bf0c8faa0a9150eb1b8a87a11d6e8e2212fe9 SOURCES/annotate-snippets-0.6.1.crate diff --git a/SPECS/rust-annotate-snippets0.6.spec b/SPECS/rust-annotate-snippets0.6.spec new file mode 100644 index 0000000..eb47cb5 --- /dev/null +++ b/SPECS/rust-annotate-snippets0.6.spec @@ -0,0 +1,117 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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 annotate-snippets + +Name: rust-annotate-snippets0.6 +Version: 0.6.1 +Release: %autorelease +Summary: Library for building code annotations + +# Upstream license specification: Apache-2.0/MIT +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/annotate-snippets +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Library for building code annotations.} + +%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}/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}+ansi_term-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ansi_term-devel %{_description} + +This package contains library source intended for building other packages which +use the "ansi_term" feature of the "%{crate}" crate. + +%files -n %{name}+ansi_term-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+color-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+color-devel %{_description} + +This package contains library source intended for building other packages which +use the "color" feature of the "%{crate}" crate. + +%files -n %{name}+color-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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.6.1-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Sep 13 2023 Fabio Valentini - 0.6.1-1 +- Initial import (annotate-snippets 0.6 compat package) +## END: Generated by rpmautospec