Remove unused bundled code
Remove debian-only files before package build Remove second bundled zlib location
This commit is contained in:
parent
5d38409300
commit
b987f635d7
@ -736,6 +736,14 @@ sources.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%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
|
# Remove JAR files that upstream puts into tarball
|
||||||
find . -name "*.jar" -type f -exec rm --verbose -f {} \;
|
find . -name "*.jar" -type f -exec rm --verbose -f {} \;
|
||||||
# Remove testsuite for the mariadb-connector-c
|
# Remove testsuite for the mariadb-connector-c
|
||||||
|
Loading…
Reference in New Issue
Block a user