public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-brotli] f44: Update to version 8.0.4; Fixes RHBZ#2482480
@ 2026-08-31 17:44 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-31 17:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-brotli
Branch : f44
Commit : bb6c638e791e8af2635d8556c7590460aeb19fae
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-31T19:23:48+02:00
Stats  : +12/-54 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-brotli/c/bb6c638e791e8af2635d8556c7590460aeb19fae?branch=f44

Log:
Update to version 8.0.4; Fixes RHBZ#2482480

---
diff --git a/.gitignore b/.gitignore
index 24299ac..1fbf0ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,5 @@
 /brotli-7.0.0.crate
 /brotli-8.0.2.crate
 /rust-brotli-8.0.2.tar.gz
+/brotli-8.0.4.crate
+/rust-brotli-8.0.4.tar.gz

diff --git a/LICENSE.BSD-3-Clause b/LICENSE.BSD-3-Clause
deleted file mode 100644
index cd496ba..0000000
--- a/LICENSE.BSD-3-Clause
+++ /dev/null
@@ -1,12 +0,0 @@
-Copyright (c) 2016 Dropbox, Inc.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

diff --git a/brotli-fix-metadata.diff b/brotli-fix-metadata.diff
deleted file mode 100644
index 08ff3ce..0000000
--- a/brotli-fix-metadata.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- brotli-8.0.2/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ brotli-8.0.2/Cargo.toml	2025-09-03T08:32:53.643647+00:00
-@@ -24,6 +24,7 @@
-     "/examples/**/*.rs",
-     "/Cargo.toml",
-     "/README.md",
-+    "/LICENSE.BSD-3-Clause",
-     "/LICENSE.MIT",
- ]
- autolib = false

diff --git a/rust-brotli.spec b/rust-brotli.spec
index b6b9c79..ba93c3f 100644
--- a/rust-brotli.spec
+++ b/rust-brotli.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 %bcond check 1
 %global debug_package %{nil}
 
@@ -8,7 +8,7 @@
 %global crate brotli
 
 Name:           rust-brotli
-Version:        8.0.2
+Version:        8.0.4
 Release:        %autorelease
 Summary:        Brotli compressor and decompressor with no_std support
 
@@ -18,13 +18,6 @@ Source:         %{crates_source}
 # * GitHub source archive corresponding to the published crate; used only for
 #   test data files, extracted in %%check.
 Source10:       https://github.com/dropbox/rust-brotli/archive/%{version}/rust-brotli-%{version}.tar.gz
-# * Fix missing LICENSE.BSD-3-Clause in published crate:
-#   https://github.com/dropbox/rust-brotli/pull/231
-Source11:       https://github.com/dropbox/rust-brotli/raw/refs/tags/%{version}/LICENSE.BSD-3-Clause
-# Manually created patch for downstream crate metadata changes
-# * Fix missing LICENSE.BSD-3-Clause in published crate:
-#   https://github.com/dropbox/rust-brotli/pull/231
-Patch:          brotli-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 26
 
@@ -259,8 +252,9 @@ use the "vector_scratch_space" feature of the "%{crate}" crate.
 
 %prep
 %autosetup -n %{crate}-%{version} -p1
-cp -p '%{SOURCE11}' .
 %cargo_prep
+# Remove executable bits from source files
+find -type f -executable -exec chmod -v -x '{}' +
 
 %generate_buildrequires
 %cargo_generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 267d341..250233f 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -4,15 +4,6 @@ summary = "Brotli compressor and decompressor with no_std support"
 # The catbrotli binary would not, so we *could* install it, but it doesn’t seem
 # useful enough to bother.
 cargo-install-bin = false
-cargo-toml-patch-comments = [
-    """\
-    Fix missing LICENSE.BSD-3-Clause in published crate: \
-    https://github.com/dropbox/rust-brotli/pull/231\
-    """,
-]
-license-files.include = [
-    "LICENSE.BSD-3-Clause",
-]
 
 [[package.extra-sources]]
 number = 10
@@ -24,18 +15,11 @@ comments = [
     """,
 ]
 
-[[package.extra-sources]]
-number = 11
-file = "https://github.com/dropbox/rust-brotli/raw/refs/tags/%{version}/LICENSE.BSD-3-Clause"
-comments = [
-    """\
-    Fix missing LICENSE.BSD-3-Clause in published crate: \
-    https://github.com/dropbox/rust-brotli/pull/231\
-    """,
-]
-
 [scripts.prep]
-pre = ["cp -p '%{SOURCE11}' ."]
+post = [
+    "# Remove executable bits from source files",
+    "find -type f -executable -exec chmod -v -x '{}' +",
+]
 
 [scripts.check]
 pre = [

diff --git a/sources b/sources
index c226e19..4db711c 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (brotli-8.0.2.crate) = 12ade628a82be25dde47aa203df9c567da7daf729131749fa5fc698e0e6e2b7aa24f842cad40a8e09f69bfd5f0f3c6b2dc9d9de8a6724d79d105ae9d796dd09d
-SHA512 (rust-brotli-8.0.2.tar.gz) = 974718466461fb2f903411fb000141b34f4bcaf7d75b58b438cded14ffa2eda1bb67e0f1ce2afc48d48873f301a8e347dff7b131edb05606aead55a71b70b157
+SHA512 (brotli-8.0.4.crate) = 86d7eae920178809df7939fdff1cbcd6d220101ce50d92c16c58a70ffb8fe08fc5fc02879d7d0a1d3f9d568314223e141e467e8181602f52a735f70fd7154f0a
+SHA512 (rust-brotli-8.0.4.tar.gz) = 0c904e365ae4400132beccbb382897ea18b84fd439af03a4253103cf5f182d30c851e5de3a246bb9f2fdbb11d6e8ef9ecbd7bc241145eb49179061f7989615bf

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-31 17:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31 17:44 [rpms/rust-brotli] f44: Update to version 8.0.4; Fixes RHBZ#2482480 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox