|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
|
## (rpmautospec version 0.5.1)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 1;
|
|
|
|
@ -8,15 +8,15 @@
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate zstd-sys
|
|
|
|
|
%global upstream_version 2.0.8+zstd.1.5.5
|
|
|
|
|
%global upstream_version 2.0.9+zstd.1.5.5
|
|
|
|
|
|
|
|
|
|
Name: rust-zstd-sys
|
|
|
|
|
Version: 2.0.8
|
|
|
|
|
Version: 2.0.9
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Low-level bindings for the zstd compression library
|
|
|
|
|
|
|
|
|
@ -24,8 +24,9 @@ Summary: Low-level bindings for the zstd compression library
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/zstd-sys
|
|
|
|
|
Source: %{crates_source %{crate} %{upstream_version}}
|
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
|
Patch: zstd-sys-fix-metadata-auto.diff
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * remove zstd version from version field
|
|
|
|
|
# * make bindgen build-dependency non-optional
|
|
|
|
|
# * temporarily downgrade bindgen build-dependency from 0.64 to 0.63
|
|
|
|
|
# * fix logic for included / excluded files
|
|
|
|
@ -34,7 +35,7 @@ Patch: zstd-sys-fix-metadata.diff
|
|
|
|
|
# * unconditionally use bindgen and pkg-config to link against system libzstd
|
|
|
|
|
Patch: 0001-unconditionally-use-bindgen-and-pkg-config-to-link-a.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Low-level bindings for the zstd compression library.}
|
|
|
|
@ -228,9 +229,9 @@ use the "zstdmt" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{upstream_version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
# * remove bundled zstd sources
|
|
|
|
|
rm -vr zstd/
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
@ -248,9 +249,13 @@ echo 'pkgconfig(libzstd)'
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.0.8-1
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.0.9-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
* Mon Jan 15 2024 Fabio Valentini <decathorpe@gmail.com> - 2.0.9-1
|
|
|
|
|
- Update to version 2.0.9+zstd.1.5.5; Fixes RHBZ#2243313
|
|
|
|
|
|
|
|
|
|
* Tue Aug 01 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.8-1
|
|
|
|
|
- Update to version 2.0.8+zstd.1.5.5; Fixes RHBZ#2184801
|
|
|
|
|
|
|
|
|
@ -317,3 +322,4 @@ echo 'pkgconfig(libzstd)'
|
|
|
|
|
* Sun Dec 15 23:59:34 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.4.15-1
|
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|