|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
# https://github.com/dropbox/rust-brotli/issues/42
|
|
|
|
# https://github.com/dropbox/rust-brotli/issues/42
|
|
|
|
%if 0%{?__isa_bits} == 32
|
|
|
|
%if 0%{?__isa_bits} == 32
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
@ -7,15 +7,12 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
# The binary is useless and conflicts with original brotli
|
|
|
|
|
|
|
|
%global __cargo_is_bin() false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global crate brotli
|
|
|
|
%global crate brotli
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 3.3.2
|
|
|
|
Version: 3.3.3
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Brotli compressor and decompressor avoiding the rust stdlib
|
|
|
|
Summary: Brotli compressor and decompressor with no_std support
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: BSD-3-Clause/MIT
|
|
|
|
# Upstream license specification: BSD-3-Clause/MIT
|
|
|
|
# * https://github.com/dropbox/rust-brotli/issues/41
|
|
|
|
# * https://github.com/dropbox/rust-brotli/issues/41
|
|
|
@ -23,15 +20,13 @@ License: BSD
|
|
|
|
URL: https://crates.io/crates/brotli
|
|
|
|
URL: https://crates.io/crates/brotli
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Drop unwanted binaries
|
|
|
|
# * Exclude unneeded files, https://github.com/dropbox/rust-brotli/pull/43
|
|
|
|
# * Exclude unneeded files, https://github.com/dropbox/rust-brotli/pull/43
|
|
|
|
# * Exclude simd feature (broken dependencies)
|
|
|
|
# * Exclude simd feature (missing dependencies)
|
|
|
|
# * Bump sha2 dependency from 0.8 to 0.9
|
|
|
|
# * Bump sha2 dependency from 0.8 to 0.9
|
|
|
|
Patch0: brotli-fix-metadata.diff
|
|
|
|
Patch0: brotli-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
|
@ -50,8 +45,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
@ -64,8 +59,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "default" feature of "%{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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -76,8 +71,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+alloc-stdlib-devel %{_description}
|
|
|
|
%description -n %{name}+alloc-stdlib-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "alloc-stdlib" feature of "%{crate}" crate.
|
|
|
|
use the "alloc-stdlib" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+alloc-stdlib-devel
|
|
|
|
%files -n %{name}+alloc-stdlib-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -88,8 +83,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+benchmark-devel %{_description}
|
|
|
|
%description -n %{name}+benchmark-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "benchmark" feature of "%{crate}" crate.
|
|
|
|
use the "benchmark" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+benchmark-devel
|
|
|
|
%files -n %{name}+benchmark-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -100,8 +95,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+disable-timer-devel %{_description}
|
|
|
|
%description -n %{name}+disable-timer-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "disable-timer" feature of "%{crate}" crate.
|
|
|
|
use the "disable-timer" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+disable-timer-devel
|
|
|
|
%files -n %{name}+disable-timer-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -112,8 +107,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+external-literal-probability-devel %{_description}
|
|
|
|
%description -n %{name}+external-literal-probability-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "external-literal-probability" feature of "%{crate}" crate.
|
|
|
|
use the "external-literal-probability" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+external-literal-probability-devel
|
|
|
|
%files -n %{name}+external-literal-probability-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -124,8 +119,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+ffi-api-devel %{_description}
|
|
|
|
%description -n %{name}+ffi-api-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "ffi-api" feature of "%{crate}" crate.
|
|
|
|
use the "ffi-api" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+ffi-api-devel
|
|
|
|
%files -n %{name}+ffi-api-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -136,8 +131,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+pass-through-ffi-panics-devel %{_description}
|
|
|
|
%description -n %{name}+pass-through-ffi-panics-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "pass-through-ffi-panics" feature of "%{crate}" crate.
|
|
|
|
use the "pass-through-ffi-panics" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+pass-through-ffi-panics-devel
|
|
|
|
%files -n %{name}+pass-through-ffi-panics-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -148,8 +143,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+seccomp-devel %{_description}
|
|
|
|
%description -n %{name}+seccomp-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "seccomp" feature of "%{crate}" crate.
|
|
|
|
use the "seccomp" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+seccomp-devel
|
|
|
|
%files -n %{name}+seccomp-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -160,8 +155,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+sha2-devel %{_description}
|
|
|
|
%description -n %{name}+sha2-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "sha2" feature of "%{crate}" crate.
|
|
|
|
use the "sha2" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+sha2-devel
|
|
|
|
%files -n %{name}+sha2-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -172,8 +167,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "std" feature of "%{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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -184,8 +179,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+validation-devel %{_description}
|
|
|
|
%description -n %{name}+validation-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "validation" feature of "%{crate}" crate.
|
|
|
|
use the "validation" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+validation-devel
|
|
|
|
%files -n %{name}+validation-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -196,8 +191,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+vector_scratch_space-devel %{_description}
|
|
|
|
%description -n %{name}+vector_scratch_space-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "vector_scratch_space" feature of "%{crate}" crate.
|
|
|
|
use the "vector_scratch_space" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+vector_scratch_space-devel
|
|
|
|
%files -n %{name}+vector_scratch_space-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|