|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# * tests require files that are not included in published crates
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate zstd
|
|
|
|
|
%global upstream_version 0.11.2+zstd.1.5.2
|
|
|
|
|
%global upstream_version 0.12.3+zstd.1.5.2
|
|
|
|
|
|
|
|
|
|
Name: rust-zstd
|
|
|
|
|
Version: 0.11.2
|
|
|
|
|
Version: 0.12.3
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Binding for the zstd compression library
|
|
|
|
|
|
|
|
|
@ -19,8 +19,6 @@ Source: %{crates_source %{crate} %{upstream_version}}
|
|
|
|
|
# * exclude development-only files
|
|
|
|
|
Patch: zstd-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
@ -114,6 +112,18 @@ use the "experimental" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+experimental-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fat-lto-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fat-lto-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "fat-lto" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fat-lto-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+legacy-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -162,6 +172,18 @@ use the "thin" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+thin-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+thin-lto-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+thin-lto-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "thin-lto" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+thin-lto-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+wasm-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|