diff --git a/.gitignore b/.gitignore index 791962a..56e01af 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /brotli-3.3.3.crate /brotli-3.3.4.crate /brotli-3.4.0.crate +/brotli-3.5.0.crate diff --git a/brotli-fix-metadata.diff b/brotli-fix-metadata.diff index 1c3711a..bd549e2 100644 --- a/brotli-fix-metadata.diff +++ b/brotli-fix-metadata.diff @@ -1,10 +1,10 @@ ---- brotli-3.4.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ brotli-3.4.0/Cargo.toml 2024-01-14T22:09:14.729914+00:00 -@@ -28,34 +28,35 @@ - "huffman", - "nostd", +--- brotli-3.5.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ brotli-3.5.0/Cargo.toml 2024-03-19T19:53:50.395002+00:00 +@@ -33,20 +33,21 @@ + "compression", + "no-std", ] --license = "BSD-3-Clause/MIT" +-license = "BSD-3-Clause OR MIT" +license = "BSD-3-Clause" repository = "https://github.com/dropbox/rust-brotli" +exclude = [ @@ -20,7 +20,7 @@ [profile.release] lto = true incremental = false - +- -[[bin]] -name = "brotli" -doc = false @@ -28,23 +28,6 @@ -[[bin]] -name = "catbrotli" -doc = false -- + [dependencies.alloc-no-stdlib] version = "2.0" - - [dependencies.alloc-stdlib] --version = "~0.2" -+version = "0.2" - optional = true - - [dependencies.brotli-decompressor] --version = "~2.5" -+version = "2.5" - default-features = false - - [dependencies.sha2] --version = "~0.10" -+version = "0.10" - optional = true - - [features] diff --git a/rust-brotli.spec b/rust-brotli.spec index f91fe32..044363a 100644 --- a/rust-brotli.spec +++ b/rust-brotli.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 # * tests fail with OOM problems on 32-bit architectures: # https://github.com/dropbox/rust-brotli/issues/42 %if 0%{?__isa_bits} == 32 @@ -11,7 +11,7 @@ %global crate brotli Name: rust-brotli -Version: 3.4.0 +Version: 3.5.0 Release: %autorelease Summary: Brotli compressor and decompressor with no_std support @@ -160,6 +160,18 @@ use the "sha2" feature of the "%{crate}" crate. %files -n %{name}+sha2-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+simd-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd-devel %{_description} + +This package contains library source intended for building other packages which +use the "simd" feature of the "%{crate}" crate. + +%files -n %{name}+simd-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 3660cbf..5ee9c5f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (brotli-3.4.0.crate) = 4f08f274f1fa00d8b40b713e4deeff0eafdbfe8621c5478777df6efd72690cb214974fc9f8fd3f070b3f587c99e3f4396c2409f7c7289f6c7225238e1f14b302 +SHA512 (brotli-3.5.0.crate) = e6d5b3e59606dfd76cc8638895fbf03f36a19750faff6fb8ceca0a091c620ca1082b99fd89390d74c212f1103f24edd6d8fc08724898d695020cf5de66cffd56