|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
# Tests require files not included in crate
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
# * tests require files that are not included in published crates
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate zstd
|
|
|
|
|
%global upstream_version 0.9.2+zstd.1.5.1
|
|
|
|
|
%global upstream_version 0.10.0+zstd.1.5.2
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.9.2
|
|
|
|
|
Version: 0.10.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Binding for the zstd compression library
|
|
|
|
|
|
|
|
|
@ -23,7 +23,7 @@ Patch0: zstd-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Binding for the zstd compression library.}
|
|
|
|
@ -40,9 +40,9 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Readme.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
%license %{crate_instdir}/LICENSE
|
|
|
|
|
%doc %{crate_instdir}/Readme.md
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -54,7 +54,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+arrays-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -66,7 +66,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "arrays" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+arrays-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+bindgen-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -78,7 +78,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "bindgen" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+bindgen-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+debug-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -90,7 +90,19 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "debug" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+debug-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+doc-cfg-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+doc-cfg-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "doc-cfg" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+doc-cfg-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+experimental-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -102,7 +114,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "experimental" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+experimental-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+legacy-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -114,7 +126,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "legacy" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+legacy-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+no_asm-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -126,7 +138,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "no_asm" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+no_asm-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+pkg-config-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -138,7 +150,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "pkg-config" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+pkg-config-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+thin-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -150,7 +162,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "thin" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+thin-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+wasm-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -162,7 +174,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "wasm" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+wasm-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+zstdmt-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -174,7 +186,7 @@ This package contains library source intended for building other packages which
|
|
|
|
|
use the "zstdmt" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+zstdmt-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{upstream_version} -p1
|
|
|
|
|