Remove unused bundled code

This commit is contained in:
Michal Schorm 2024-06-10 19:19:02 +02:00
parent ff34b7c74e
commit 88bfe26933

View File

@ -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/