|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.3.0)
|
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 1;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
@ -7,7 +8,7 @@
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
# * tests fail with OOM problems on 32-bit architectures:
|
|
|
|
|
# https://github.com/dropbox/rust-brotli/issues/42
|
|
|
|
|
%if 0%{?__isa_bits} == 32
|
|
|
|
@ -20,7 +21,7 @@
|
|
|
|
|
%global crate brotli
|
|
|
|
|
|
|
|
|
|
Name: rust-brotli
|
|
|
|
|
Version: 3.3.4
|
|
|
|
|
Version: 3.4.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Brotli compressor and decompressor with no_std support
|
|
|
|
|
|
|
|
|
@ -30,23 +31,20 @@ Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * fix license in crate metadata:
|
|
|
|
|
# https://github.com/dropbox/rust-brotli/issues/41
|
|
|
|
|
# * bump sha2 dependency from 0.8 to 0.9
|
|
|
|
|
# * drop unwanted brotli and catbrotli binaries
|
|
|
|
|
# * drop simd feature (missing packed_simd2 dependency)
|
|
|
|
|
# * exclude files that are only useful for upstream development:
|
|
|
|
|
# https://github.com/dropbox/rust-brotli/pull/43
|
|
|
|
|
Patch: brotli-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Brotli compressor and decompressor with an interface avoiding the rust
|
|
|
|
|
stdlib. This makes it suitable for embedded devices and kernels. It is designed
|
|
|
|
|
with a pluggable allocator so that the standard lib's allocator may be
|
|
|
|
|
employed. The default build also includes a stdlib allocator and stream
|
|
|
|
|
interface. Disable this with --features=no-stdlib. All included code is safe.}
|
|
|
|
|
A brotli compressor and decompressor that with an interface avoiding the
|
|
|
|
|
rust stdlib. This makes it suitable for embedded devices and kernels. It
|
|
|
|
|
is designed with a pluggable allocator so that the standard lib's
|
|
|
|
|
allocator may be employed. The default build also includes a stdlib
|
|
|
|
|
allocator and stream interface. Disable this with --features=no-stdlib.
|
|
|
|
|
All included code is safe.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -209,11 +207,11 @@ use the "vector_scratch_space" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
# * remove executable bits from Rust source files:
|
|
|
|
|
# https://github.com/dropbox/rust-brotli/pull/40
|
|
|
|
|
find -type f -name '*.rs' -executable -exec chmod -x '{}' +
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
@ -230,22 +228,31 @@ find -type f -name '*.rs' -executable -exec chmod -x '{}' +
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.3.4-1
|
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.4.0-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
* Wed Aug 10 2022 Fabio Valentini <decathorpe@gmail.com> 3.3.4-1
|
|
|
|
|
* Mon Jan 15 2024 Fabio Valentini <decathorpe@gmail.com> - 3.4.0-1
|
|
|
|
|
- Update to version 3.4.0; Fixes RHBZ#2241463
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 10 2022 Fabio Valentini <decathorpe@gmail.com> - 3.3.4-1
|
|
|
|
|
- Update to version 3.3.4; Fixes RHBZ#2070425
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> 3.3.3-2
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 26 2022 Fabio Valentini <decathorpe@gmail.com> 3.3.3-1
|
|
|
|
|
* Wed Jan 26 2022 Fabio Valentini <decathorpe@gmail.com> - 3.3.3-1
|
|
|
|
|
- Update to version 3.3.3; Fixes RHBZ#2041012
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 3.3.2-2
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Aug 01 2021 Fabio Valentini <decathorpe@gmail.com> 3.3.2-1
|
|
|
|
|
* Sun Aug 01 2021 Fabio Valentini <decathorpe@gmail.com> - 3.3.2-1
|
|
|
|
|
- Update to version 3.3.2; Fixes RHBZ#1988749
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-6
|
|
|
|
|