|
|
|
@ -1,12 +1,22 @@
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.7.2)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 1;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate zstd-sys
|
|
|
|
|
%global upstream_version 2.0.9+zstd.1.5.5
|
|
|
|
|
%global upstream_version 2.0.13+zstd.1.5.6
|
|
|
|
|
|
|
|
|
|
Name: rust-zstd-sys
|
|
|
|
|
Version: 2.0.9
|
|
|
|
|
Version: 2.0.13
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Low-level bindings for the zstd compression library
|
|
|
|
|
|
|
|
|
@ -18,14 +28,14 @@ Source: %{crates_source %{crate} %{upstream_version}}
|
|
|
|
|
Patch: zstd-sys-fix-metadata-auto.diff
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * make bindgen build-dependency non-optional
|
|
|
|
|
# * temporarily downgrade bindgen build-dependency from 0.64 to 0.63
|
|
|
|
|
# * fix logic for included / excluded files
|
|
|
|
|
# * exclude files that are only useful for upstream development
|
|
|
|
|
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
|
|
|
|
|
Patch10: 0001-unconditionally-use-bindgen-and-pkg-config-to-link-a.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
BuildRequires: pkgconfig(libzstd)
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Low-level bindings for the zstd compression library.}
|
|
|
|
@ -225,7 +235,6 @@ rm -vr zstd/
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
echo 'pkgconfig(libzstd)'
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
@ -239,4 +248,92 @@ echo 'pkgconfig(libzstd)'
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
%autochangelog
|
|
|
|
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.0.13-1
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Mon Oct 07 2024 Fabio Valentini <decathorpe@gmail.com> - 2.0.13-1
|
|
|
|
|
- Update to version 2.0.13+zstd.1.5.6; Fixes RHBZ#2302536
|
|
|
|
|
|
|
|
|
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jul 07 2024 Fabio Valentini <decathorpe@gmail.com> - 2.0.12-1
|
|
|
|
|
- Update to version 2.0.12+zstd.1.5.6; Fixes RHBZ#2292666
|
|
|
|
|
|
|
|
|
|
* Thu May 16 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 2.0.10-1
|
|
|
|
|
- Update to version 2.0.10; Fixes RHBZ#2271895
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.9-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 23 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.7-1
|
|
|
|
|
- Update to version 2.0.7+zstd.1.5.4; Fixes RHBZ#2145250
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Aug 06 2022 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-1
|
|
|
|
|
- Update to version 2.0.1+zstd.1.5.2; Fixes RHBZ#2043687
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Apr 12 2022 Fabio Valentini <decathorpe@gmail.com> - 1.6.3-1
|
|
|
|
|
- Update to version 1.6.3+zstd.1.5.2
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 07 2022 Fabio Valentini <decathorpe@gmail.com> - 1.6.2-1
|
|
|
|
|
- Update to version 1.6.2+zstd.1.5.1; Fixes RHBZ#2035404
|
|
|
|
|
|
|
|
|
|
* Sat Nov 13 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.6.1-1
|
|
|
|
|
- Update to 1.6.1 Close: rhbz#1960714
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 10 2021 Fabio Valentini <decathorpe@gmail.com> - 1.5.0-1
|
|
|
|
|
- Update to version 1.5.0+zstd.1.4.9.
|
|
|
|
|
|
|
|
|
|
* Wed Mar 31 21:35:34 CEST 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.4.20-2
|
|
|
|
|
- Remove downgrade of bindgen to 0.56
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Fri Nov 27 2020 Fabio Valentini <decathorpe@gmail.com> - 1.4.17-3
|
|
|
|
|
- Bump to bindgen 0.56.
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.17-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 19 2020 Josh Stone <jistone@redhat.com> - 1.4.17-1
|
|
|
|
|
- Update to 1.4.17+zstd.1.4.5
|
|
|
|
|
|
|
|
|
|
* Sat May 30 2020 Josh Stone <jistone@redhat.com> - 1.4.16-1
|
|
|
|
|
- Update to 1.4.16+zstd.1.4.5
|
|
|
|
|
|
|
|
|
|
* Thu Feb 27 2020 Josh Stone <jistone@redhat.com> - 1.4.15-3
|
|
|
|
|
- Bump to bindgen 0.53.1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.15-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* 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
|