|
|
|
@ -1,11 +1,14 @@
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
# prevent executables from being installed
|
|
|
|
|
%global cargo_install_bin 0
|
|
|
|
|
|
|
|
|
|
%global crate snapbox
|
|
|
|
|
|
|
|
|
|
Name: rust-snapbox
|
|
|
|
|
Version: 0.4.16
|
|
|
|
|
Version: 0.6.7
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Snapshot testing toolbox
|
|
|
|
|
|
|
|
|
@ -14,11 +17,8 @@ URL: https://crates.io/crates/snapbox
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
|
Patch: snapbox-fix-metadata-auto.diff
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * prevent test-only snap-fixture binary from being built and shipped
|
|
|
|
|
Patch: snapbox-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 26
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Snapshot testing toolbox.}
|
|
|
|
@ -124,40 +124,40 @@ use the "diff" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+diff-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+document-features-devel
|
|
|
|
|
%package -n %{name}+dir-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+document-features-devel %{_description}
|
|
|
|
|
%description -n %{name}+dir-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "document-features" feature of the "%{crate}" crate.
|
|
|
|
|
use the "dir" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+document-features-devel
|
|
|
|
|
%files -n %{name}+dir-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+examples-devel
|
|
|
|
|
%package -n %{name}+document-features-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+examples-devel %{_description}
|
|
|
|
|
%description -n %{name}+document-features-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "examples" feature of the "%{crate}" crate.
|
|
|
|
|
use the "document-features" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+examples-devel
|
|
|
|
|
%files -n %{name}+document-features-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+harness-devel
|
|
|
|
|
%package -n %{name}+examples-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+harness-devel %{_description}
|
|
|
|
|
%description -n %{name}+examples-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "harness" feature of the "%{crate}" crate.
|
|
|
|
|
use the "examples" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+harness-devel
|
|
|
|
|
%files -n %{name}+examples-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+json-devel
|
|
|
|
@ -184,6 +184,18 @@ use the "path" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+path-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+regex-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+regex-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "regex" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+regex-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+structured-data-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -196,6 +208,18 @@ use the "structured-data" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+structured-data-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+term-svg-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+term-svg-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "term-svg" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+term-svg-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|