|
|
@ -1,12 +1,12 @@
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate zstd-safe
|
|
|
|
%global crate zstd-safe
|
|
|
|
%global upstream_version 4.1.3+zstd.1.5.1
|
|
|
|
%global upstream_version 4.1.4+zstd.1.5.2
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 4.1.3
|
|
|
|
Version: 4.1.4
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Safe low-level bindings for the zstd compression library
|
|
|
|
Summary: Safe low-level bindings for the zstd compression library
|
|
|
|
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ Patch0: zstd-safe-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Safe low-level bindings for the zstd compression library.}
|
|
|
|
Safe low-level bindings for the zstd compression library.}
|
|
|
@ -39,9 +39,11 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE.Apache-2.0 LICENSE.Mit
|
|
|
|
%license %{crate_instdir}/LICENSE
|
|
|
|
%doc Readme.md
|
|
|
|
%license %{crate_instdir}/LICENSE.Apache-2.0
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%license %{crate_instdir}/LICENSE.Mit
|
|
|
|
|
|
|
|
%doc %{crate_instdir}/Readme.md
|
|
|
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -53,7 +55,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+arrays-devel
|
|
|
|
%package -n %{name}+arrays-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -65,7 +67,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "arrays" feature of the "%{crate}" crate.
|
|
|
|
use the "arrays" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+arrays-devel
|
|
|
|
%files -n %{name}+arrays-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+bindgen-devel
|
|
|
|
%package -n %{name}+bindgen-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -77,7 +79,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "bindgen" feature of the "%{crate}" crate.
|
|
|
|
use the "bindgen" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+bindgen-devel
|
|
|
|
%files -n %{name}+bindgen-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+debug-devel
|
|
|
|
%package -n %{name}+debug-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -89,7 +91,19 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "debug" feature of the "%{crate}" crate.
|
|
|
|
use the "debug" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+debug-devel
|
|
|
|
%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
|
|
|
|
%package -n %{name}+experimental-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -101,7 +115,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "experimental" feature of the "%{crate}" crate.
|
|
|
|
use the "experimental" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+experimental-devel
|
|
|
|
%files -n %{name}+experimental-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+legacy-devel
|
|
|
|
%package -n %{name}+legacy-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -113,7 +127,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "legacy" feature of the "%{crate}" crate.
|
|
|
|
use the "legacy" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+legacy-devel
|
|
|
|
%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
|
|
|
|
%package -n %{name}+no_asm-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -125,7 +139,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "no_asm" feature of the "%{crate}" crate.
|
|
|
|
use the "no_asm" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+no_asm-devel
|
|
|
|
%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
|
|
|
|
%package -n %{name}+pkg-config-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -137,7 +151,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "pkg-config" feature of the "%{crate}" crate.
|
|
|
|
use the "pkg-config" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+pkg-config-devel
|
|
|
|
%files -n %{name}+pkg-config-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -149,7 +163,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "std" feature of the "%{crate}" crate.
|
|
|
|
use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+thin-devel
|
|
|
|
%package -n %{name}+thin-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -161,7 +175,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "thin" feature of the "%{crate}" crate.
|
|
|
|
use the "thin" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+thin-devel
|
|
|
|
%files -n %{name}+thin-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+zstdmt-devel
|
|
|
|
%package -n %{name}+zstdmt-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -173,7 +187,7 @@ This package contains library source intended for building other packages which
|
|
|
|
use the "zstdmt" feature of the "%{crate}" crate.
|
|
|
|
use the "zstdmt" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+zstdmt-devel
|
|
|
|
%files -n %{name}+zstdmt-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{upstream_version} -p1
|
|
|
|
%autosetup -n %{crate}-%{upstream_version} -p1
|
|
|
|