From 33aab6cdbf83d06d1eee371c0e46848e9a71215d Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sat, 6 Sep 2025 14:22:03 +0000 Subject: [PATCH 1/2] uutils-coreutils 0.2.0 uutils-coreutils: remove build patch Signed-off-by: Rui Chen --- Formula/u/uutils-coreutils.rb | 36 +++++++++++------------------------ 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/Formula/u/uutils-coreutils.rb b/Formula/u/uutils-coreutils.rb index fab8c7b7507e1..d1a5547568402 100644 --- a/Formula/u/uutils-coreutils.rb +++ b/Formula/u/uutils-coreutils.rb @@ -1,8 +1,8 @@ class UutilsCoreutils < Formula desc "Cross-platform Rust rewrite of the GNU coreutils" homepage "https://uutils.github.io/coreutils/" - url "https://github.com/uutils/coreutils/archive/refs/tags/0.1.0.tar.gz" - sha256 "55c528f2b53c1b30cb704550131a806e84721c87b3707b588a961a6c97f110d8" + url "https://github.com/uutils/coreutils/archive/refs/tags/0.2.0.tar.gz" + sha256 "185be1670bb5091f48d29524c6f81326f12aef5e599fcdb122967a95d017f32a" license "MIT" head "https://github.com/uutils/coreutils.git", branch: "main" @@ -31,18 +31,19 @@ class UutilsCoreutils < Formula conflicts_with "unp", because: "both install `ucat` binaries" - # Temporary patch to fix the error; Failed to find 'selinux/selinux.h' - # Issue ref: https://github.com/uutils/coreutils/issues/7996 - patch :DATA - def install man1.mkpath + # Prevent to add a feature for `selinux` + inreplace "GNUmakefile", "$(SELINUX_PROGS)", "" + + args = %W[ + PROG_PREFIX=u + PREFIX=#{prefix} + SPHINXBUILD=#{Formula["sphinx-doc"].opt_bin}/sphinx-build + ] # Call `make` as `gmake` to use Homebrew `make`. - system "gmake", "install", - "PROG_PREFIX=u", - "PREFIX=#{prefix}", - "SPHINXBUILD=#{Formula["sphinx-doc"].opt_bin}/sphinx-build" + system "gmake", "install", *args # Symlink all commands into libexec/uubin without the 'u' prefix coreutils_filenames(bin).each do |cmd| @@ -101,18 +102,3 @@ def coreutils_filenames(dir) system bin/"uln", "-f", "test", "test.sha1" end end - -__END__ -diff --git a/GNUmakefile b/GNUmakefile -index f46126a82..58bf7fbdd 100644 ---- a/GNUmakefile -+++ b/GNUmakefile -@@ -181,8 +181,6 @@ SELINUX_PROGS := \ - - ifneq ($(OS),Windows_NT) - PROGS := $(PROGS) $(UNIX_PROGS) --# Build the selinux command even if not on the system -- PROGS := $(PROGS) $(SELINUX_PROGS) - endif - - UTILS ?= $(PROGS) \ No newline at end of file From 267e77f514a1b98a914cde3cea72a565f9a61a33 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 7 Sep 2025 14:44:52 +0000 Subject: [PATCH 2/2] uutils-coreutils: update 0.2.0 bottle. --- Formula/u/uutils-coreutils.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/u/uutils-coreutils.rb b/Formula/u/uutils-coreutils.rb index d1a5547568402..1caf441d6a599 100644 --- a/Formula/u/uutils-coreutils.rb +++ b/Formula/u/uutils-coreutils.rb @@ -12,13 +12,13 @@ class UutilsCoreutils < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "efc20adfb97e84ed67eeddd69dfad9600b64d916a30b6ddb37ec1ec86e1b0d65" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "f8e49f4ecacb9a3ff50258bc2b33e04eb049b68149bf4bdd362590995ea9dc1a" - sha256 cellar: :any_skip_relocation, arm64_ventura: "72b467ed6f6f15ec60a3cee34fa365bd1121364afb925999c00304b8a33fde62" - sha256 cellar: :any_skip_relocation, sonoma: "c8af817bc30896c6ee0a6d37f0f58345a0c5a9f81ddc1e4f479a9ab79ac5ecdd" - sha256 cellar: :any_skip_relocation, ventura: "b695ba77c5d41cff1f0856d9287c72994b8d94d54de414b0447194675c8d37db" - sha256 arm64_linux: "5f63af088aaf76c4349dd441b1423d5df8a6c722247c66d1663b8023d03d8feb" - sha256 x86_64_linux: "a7b684d72256a852a02a9261707c51e1098033aa25bac60b08629d3ae879631a" + sha256 cellar: :any, arm64_sequoia: "912680e848466669cbb65c3e744a5b96e240da36cb32d516b0d0a0db87ea26c3" + sha256 cellar: :any, arm64_sonoma: "cc1830b49fe485cf5c2666bdaca9dc7ed967c6054d803ca4dc9bbfaf007b51bb" + sha256 cellar: :any, arm64_ventura: "a7725e305b7890270eb1c3b6870ea6524e9b926a58ecf75d630a75dda34fd6a2" + sha256 cellar: :any, sonoma: "02f4f2934ebe230f37a86cbc8d296a3472d8db5de26505b0dc7f175e844f4aee" + sha256 cellar: :any, ventura: "3b9a44d6cec1f7c06697c328b8c8275b854d04df4ef4b03ff02d979cd8a77cea" + sha256 cellar: :any_skip_relocation, arm64_linux: "61f30b0be733a2c05cceb2b16d277612a5d7c1505c1609a886f94ff35019b276" + sha256 cellar: :any_skip_relocation, x86_64_linux: "baf9bc9639ed4dfffddb9ee58d8fd0ec95e54e1175288e65aed831b650cb774d" end depends_on "make" => :build