|
|
@ -1,20 +1,20 @@
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
%bcond_without check
|
|
|
|
# * missing dev-dependency: tryfn ^0.2.1
|
|
|
|
|
|
|
|
%bcond check 0
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate annotate-snippets
|
|
|
|
%global crate annotate-snippets
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-annotate-snippets
|
|
|
|
Name: rust-annotate-snippets
|
|
|
|
Version: 0.9.2
|
|
|
|
Version: 0.11.5
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Library for building code annotations
|
|
|
|
Summary: Library for building code annotations
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
License: Apache-2.0 OR MIT
|
|
|
|
|
|
|
|
URL: https://crates.io/crates/annotate-snippets
|
|
|
|
URL: https://crates.io/crates/annotate-snippets
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency
|
|
|
|
# * drop unused, benchmark-only divan dev-dependency
|
|
|
|
Patch: annotate-snippets-fix-metadata.diff
|
|
|
|
Patch: annotate-snippets-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
@ -36,7 +36,6 @@ use the "%{crate}" crate.
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
%{crate_instdir}/
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
@ -52,28 +51,40 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+color-devel
|
|
|
|
%package -n %{name}+memchr-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+color-devel %{_description}
|
|
|
|
%description -n %{name}+memchr-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "color" feature of the "%{crate}" crate.
|
|
|
|
use the "memchr" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+color-devel
|
|
|
|
%files -n %{name}+memchr-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+yansi-term-devel
|
|
|
|
%package -n %{name}+simd-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+yansi-term-devel %{_description}
|
|
|
|
%description -n %{name}+simd-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "yansi-term" feature of the "%{crate}" crate.
|
|
|
|
use the "simd" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+yansi-term-devel
|
|
|
|
%files -n %{name}+simd-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+testing-colors-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+testing-colors-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "testing-colors" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+testing-colors-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|