|
|
@ -1,23 +1,24 @@
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# * test fixtures are not included in published crates
|
|
|
|
# * data files required by tests are not included in published crates
|
|
|
|
%bcond check 0
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
# prevent executables from being installed
|
|
|
|
|
|
|
|
%global cargo_install_bin 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global crate ruzstd
|
|
|
|
%global crate ruzstd
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-ruzstd
|
|
|
|
Name: rust-ruzstd
|
|
|
|
Version: 0.7.3
|
|
|
|
Version: 0.5.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Decoder for the zstd compression format
|
|
|
|
Summary: Decoder for the zstd compression format
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/ruzstd
|
|
|
|
URL: https://crates.io/crates/ruzstd
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
|
|
|
# * drop unused command-line applications
|
|
|
|
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency
|
|
|
|
|
|
|
|
Patch: ruzstd-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 26
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
A decoder for the zstd compression format.}
|
|
|
|
A decoder for the zstd compression format.}
|
|
|
@ -35,7 +36,6 @@ use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license %{crate_instdir}/LICENSE
|
|
|
|
%license %{crate_instdir}/LICENSE
|
|
|
|
%doc %{crate_instdir}/Changelog.md
|
|
|
|
|
|
|
|
%doc %{crate_instdir}/Readme.md
|
|
|
|
%doc %{crate_instdir}/Readme.md
|
|
|
|
%doc %{crate_instdir}/optimizations.md
|
|
|
|
%doc %{crate_instdir}/optimizations.md
|
|
|
|
%{crate_instdir}/
|
|
|
|
%{crate_instdir}/
|
|
|
@ -52,18 +52,6 @@ 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}+hash-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+hash-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "hash" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+hash-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|