[19/20] SPECfile cleanup - move general code blocks to a more logical place
This commit is contained in:
parent
e86906d050
commit
bfbe4efc59
14
mariadb.spec
14
mariadb.spec
@ -14,6 +14,13 @@
|
|||||||
# Set to 1 to force run the testsuite even if it was already tested in current version
|
# Set to 1 to force run the testsuite even if it was already tested in current version
|
||||||
%global force_run_testsuite 0
|
%global force_run_testsuite 0
|
||||||
|
|
||||||
|
# Filtering: https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/
|
||||||
|
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::|wsrep)
|
||||||
|
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/%{pkg_name}/plugin/.*\\.so)$
|
||||||
|
|
||||||
|
# Define license macro if not present
|
||||||
|
%{!?_licensedir:%global license %doc}
|
||||||
|
|
||||||
# Temporary workaround to fix the "internal compiler error" described in https://bugzilla.redhat.com/show_bug.cgi?id=2239498
|
# Temporary workaround to fix the "internal compiler error" described in https://bugzilla.redhat.com/show_bug.cgi?id=2239498
|
||||||
# TODO: Remove when the issue is resolved
|
# TODO: Remove when the issue is resolved
|
||||||
%ifarch i686
|
%ifarch i686
|
||||||
@ -281,13 +288,6 @@ Suggests: %{name}-server%{?_isa} = %{sameevr}
|
|||||||
|
|
||||||
Conflicts: %{?fedora:community-}mysql
|
Conflicts: %{?fedora:community-}mysql
|
||||||
|
|
||||||
# Filtering: https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/
|
|
||||||
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::|wsrep)
|
|
||||||
%global __provides_exclude_from ^(%{_datadir}/(mysql|mysql-test)/.*|%{_libdir}/%{pkg_name}/plugin/.*\\.so)$
|
|
||||||
|
|
||||||
# Define license macro if not present
|
|
||||||
%{!?_licensedir:%global license %doc}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MariaDB is a community developed fork from MySQL - a multi-user, multi-threaded
|
MariaDB is a community developed fork from MySQL - a multi-user, multi-threaded
|
||||||
SQL database server. It is a client/server implementation consisting of
|
SQL database server. It is a client/server implementation consisting of
|
||||||
|
Loading…
Reference in New Issue
Block a user