Remove unused bundled code

Remove debian-only files before package build

Remove second bundled zlib location
This commit is contained in:
Michal Schorm 2024-10-16 17:31:12 +02:00
parent 5e6e8c1b39
commit ff1e7f55e4

View File

@ -724,6 +724,14 @@ sources.
%prep
%setup -q -n %{pkg_name}-%{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 libmariadb/external/zlib
rm -r win libmariadb/win
rm -r extra/wolfssl
rm -r storage/columnstore
rm -r debian
# Remove JAR files that upstream puts into tarball
find . -name "*.jar" -type f -exec rm --verbose -f {} \;
# Remove testsuite for the mariadb-connector-c