From 88bfe269339fd1dc495b6d56d37253b25153d9fc Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Mon, 10 Jun 2024 19:19:02 +0200 Subject: [PATCH] Remove unused bundled code --- mariadb10.11.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mariadb10.11.spec b/mariadb10.11.spec index 10d18d8..7190365 100644 --- a/mariadb10.11.spec +++ b/mariadb10.11.spec @@ -799,6 +799,13 @@ sources. %prep %setup -q -n %{majorname}-%{version} +# Remove bundled code that is unused (all cases in which we use the system version of the library instead) +# as required by https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling +rm -r zlib +rm -r win libmariadb/win +rm -r extra/wolfssl +rm -r storage/columnstore + %if %{with bundled_fmt} mkdir -p redhat-linux-build/extra/libfmt/ mv %{SOURCE1} redhat-linux-build/extra/libfmt/