|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate zstd-sys
|
|
|
|
|
%global upstream_version 1.4.17+zstd.1.4.5
|
|
|
|
|
%global upstream_version 1.4.20+zstd.1.4.9
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.4.17
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.4.20
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Low-level bindings for the zstd compression library
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -17,7 +17,7 @@ Source: %{crates_source %{crate} %{upstream_version}}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Remove zstd version from version field
|
|
|
|
|
# * Make pkg-config default
|
|
|
|
|
# * Bump bindgen to 0.56: https://github.com/gyscos/zstd-rs/pull/97
|
|
|
|
|
# * Temporarily downgrade bindgen from 0.57 to 0.56
|
|
|
|
|
Patch0: zstd-sys-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
@ -71,6 +71,18 @@ which use "bindgen" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+bindgen-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+debug-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+debug-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "debug" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+debug-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+experimental-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -153,7 +165,7 @@ rm -rf zstd/
|
|
|
|
|
%cargo_generate_buildrequires -a
|
|
|
|
|
echo "pkgconfig(libzstd)"
|
|
|
|
|
echo "bindgen"
|
|
|
|
|
echo "/usr/bin/llvm-config-%{__isa_bits}"
|
|
|
|
|
echo "llvm-devel"
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export LLVM_CONFIG_PATH=/usr/bin/llvm-config-%{__isa_bits}
|
|
|
|
@ -171,6 +183,9 @@ export LLVM_CONFIG_PATH=/usr/bin/llvm-config-%{__isa_bits}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Mar 06 2021 Fabio Valentini <decathorpe@gmail.com> - 1.4.20-1
|
|
|
|
|
- Update to version 1.4.20+zstd.1.4.9.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.17-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|