Logoj0ke.net Open Build Service > Projects > server:database:mysql > MySQL-Cluster-gpl > Changes
Sign Up | Log In

Changes of Revision 2

[+] Deleted mysql-cluster-CentOS_5.spec
[+] Deleted mysql-cluster-RHEL_5.spec ^
[+] Deleted mysql-cluster-SLE_10.spec ^
[-] Added mysqlcluster-CentOS_5.spec ^
x
 
1
@@ -0,0 +1,1738 @@
2
+##############################################################################
3
+#
4
+# This is the spec file for the distribution specific RPM files
5
+#
6
+##############################################################################
7
+
8
+##############################################################################
9
+# Some common macro definitions
10
+##############################################################################
11
+
12
+%define mysql_version 6.3.20
13
+%define mysql_vendor  Sun Microsystems, Inc.
14
+%define distribution  centos5
15
+%define release       0.%{distribution}
16
+
17
+%define mysqld_user    mysql
18
+%define mysqld_group   mysql
19
+%define mysqldatadir   /var/lib/mysql
20
+%define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com
21
+
22
+# ------------------------------------------------------------------------------
23
+# Meta information, don't remove!
24
+# ------------------------------------------------------------------------------
25
+# norootforbuild
26
+
27
+# ------------------------------------------------------------------------------
28
+# On SuSE 9 no separate "debuginfo" package is built. To enable basic
29
+# debugging on that platform, we don't strip binaries on SuSE 9. We
30
+# disable the strip of binaries by redefining the RPM macro
31
+# "__os_install_post" leaving out the script calls that normally does
32
+# this. We do this in all cases, as on platforms where "debuginfo" is
33
+# created, a script "find-debuginfo.sh" will be called that will do
34
+# the strip anyway, part of separating the executable and debug
35
+# information into separate files put into separate packages.
36
+#
37
+# Some references (shows more advanced conditional usage):
38
+# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html
39
+# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html
40
+# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html
41
+# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html
42
+# ------------------------------------------------------------------------------
43
+%define __os_install_post /usr/lib/rpm/brp-compress
44
+
45
+# ------------------------------------------------------------------------------
46
+# We don't package all files installed into the build root by intention -
47
+# See BUG#998 for details.
48
+# ------------------------------------------------------------------------------
49
+%define _unpackaged_files_terminate_build 0
50
+
51
+# ------------------------------------------------------------------------------
52
+# RPM build tools now automatically detects Perl module dependencies. This 
53
+# detection gives problems as it is broken in some versions, and it also
54
+# give unwanted dependencies from mandatory scripts in our package.
55
+# Might not be possible to disable in all RPM tool versions, but here we
56
+# try. We keep the "AutoReqProv: no" for the "test" sub package, as disabling
57
+# here might fail, and that package has the most problems.
58
+# See http://fedoraproject.org/wiki/Packaging/Perl#Filtering_Requires:_and_Provides
59
+#     http://www.wideopen.com/archives/rpm-list/2002-October/msg00343.html
60
+# ------------------------------------------------------------------------------
61
+%undefine __perl_provides
62
+%undefine __perl_requires
63
+
64
+##############################################################################
65
+# Command line handling
66
+##############################################################################
67
+
68
+# ----------------------------------------------------------------------
69
+# use "rpmbuild --with yassl" or "rpm --define '_with_yassl 1'" (for RPM 3.x)
70
+# to build with yaSSL support (off by default)
71
+# ----------------------------------------------------------------------
72
+%{?_with_yassl:%define YASSL_BUILD 1}
73
+%{!?_with_yassl:%define YASSL_BUILD 0}
74
+
75
+# ----------------------------------------------------------------------
76
+# use "rpmbuild --without libgcc" or "rpm --define '_without_libgcc 1'" (for RPM 3.x)
77
+# to include libgcc (as libmygcc) (on by default)
78
+# ----------------------------------------------------------------------
79
+%{!?_with_libgcc: %{!?_without_libgcc: %define WITH_LIBGCC 1}}
80
+%{?_with_libgcc:%define WITH_LIBGCC 1}
81
+%{?_without_libgcc:%define WITH_LIBGCC 0}
82
+
83
+##############################################################################
84
+# Product definitions - one of these has to be defined via the RPM build
85
+# options, e.g. "--define 'enterprise 1'"
86
+##############################################################################
87
+
88
+%{!?advanced:%define advanced 0}
89
+%{!?advanced_gpl:%define advanced_gpl 0}
90
+%{!?enterprise:%define enterprise 0}
91
+%{!?enterprise_gpl:%define enterprise_gpl 0}
92
+%{!?cluster_com:%define cluster_com 0}
93
+%{!?cluster_com_pro:%define cluster_com_pro 0}
94
+%{!?cluster_gpl:%define cluster_gpl 0}
95
+%{!?community:%define community 0}
96
+%{!?community_maria:%define community_maria 0}
97
+
98
+# On SuSE 9 no separate "debuginfo" package is built. To enable basic
99
+# debugging on that platform, we don't strip binaries on SuSE 9. We
100
+# disable the strip of binaries by redefining the RPM macro
101
+# "__os_install_post" leaving out the script calls that normally does
102
+# this. We do this in all cases, as on platforms where "debuginfo" is
103
+# created, a script "find-debuginfo.sh" will be called that will do
104
+# the strip anyway, part of separating the executable and debug
105
+# information into separate files put into separate packages.
106
+#
107
+# Some references (shows more advanced conditional usage):
108
+# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html
109
+# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html
110
+# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html
111
+# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html
112
+
113
+%define __os_install_post /usr/lib/rpm/brp-compress
114
+
115
+%if %{community}
116
+%define product_name MySQL Server
117
+%define base_product_prefix MySQL
118
+%define product_prefix MySQL
119
+%define product_suffix -community
120
+%define server_suffix -community
121
+%define ndbug_comment MySQL Community Server (GPL)
122
+%define debug_comment MySQL Community Server - Debug (GPL)
123
+%define commercial 0
124
+%define PARTITION_BUILD 1
125
+%define CLUSTER_BUILD 0
126
+%define COMMUNITY_BUILD 1
127
+%define INNODB_BUILD 1
128
+%define MARIA_BUILD 0
129
+%define NORMAL_TEST_MODE test-bt
130
+%define DEBUG_TEST_MODE test-bt-debug
131
+%endif
132
+
133
+%if %{community_maria}
134
+%define product_name MySQL Server
135
+%define base_product_prefix MySQL
136
+%define product_prefix MySQL
137
+%define product_suffix -community-maria
138
+%define server_suffix -community-maria
139
+%define ndbug_comment MySQL Community Server [Maria] (GPL)
140
+%define debug_comment MySQL Community Server - Debug [Maria] (GPL)
141
+%define commercial 0
142
+%define PARTITION_BUILD 1
143
+%define CLUSTER_BUILD 0
144
+%define COMMUNITY_BUILD 1
145
+%define INNODB_BUILD 1
146
+%define MARIA_BUILD 1
147
+%define NORMAL_TEST_MODE test-bt
148
+%define DEBUG_TEST_MODE test-bt-debug
149
+%endif
150
+
151
+%if %{advanced}
152
+%define product_name MySQL Server
153
+%define base_product_prefix MySQL
154
+%define product_prefix MySQL
155
+%define product_suffix -advanced
156
+%define server_suffix -advanced
157
+%define ndbug_comment MySQL Advanced Server (Commercial)
158
+%define debug_comment MySQL Advanced Server - Debug (Commercial)
159
+%define commercial 1
160
+%define PARTITION_BUILD 1
161
+%define CLUSTER_BUILD 0
162
+%define COMMUNITY_BUILD 0
163
+%define INNODB_BUILD 1
164
+%define MARIA_BUILD 0
165
+%define NORMAL_TEST_MODE test-bt-fast
166
+%define DEBUG_TEST_MODE test-bt-debug-fast
167
+%endif
168
+
169
+%if %{advanced_gpl}
170
+%define product_name MySQL Server
171
+%define base_product_prefix MySQL
172
+%define product_prefix MySQL
173
+%define product_suffix -advanced-gpl
174
+%define server_suffix -advanced-gpl
175
+%define ndbug_comment MySQL Advanced Server (GPL)
176
+%define debug_comment MySQL Advanced Server - Debug (GPL)
177
+%define commercial 0
178
+%define PARTITION_BUILD 1
179
+%define CLUSTER_BUILD 0
180
+%define COMMUNITY_BUILD 0
181
+%define INNODB_BUILD 1
182
+%define MARIA_BUILD 0
183
+%define NORMAL_TEST_MODE test-bt
184
+%define DEBUG_TEST_MODE test-bt-debug
185
+%endif
186
+
187
+%if %{enterprise}
188
+%define product_name MySQL Server
189
+%define base_product_prefix MySQL
190
+%define product_prefix MySQL
191
+%define product_suffix -enterprise
192
+%define server_suffix -enterprise
193
+%define ndbug_comment MySQL Enterprise Server (Commercial)
194
+%define debug_comment MySQL Enterprise Server - Debug (Commercial)
195
+%define commercial 1
196
+%define PARTITION_BUILD 0
197
+%define CLUSTER_BUILD 0
198
+%define COMMUNITY_BUILD 0
199
+%define INNODB_BUILD 1
200
+%define MARIA_BUILD 0
201
[-] Added mysqlcluster-RHEL_5.spec ^
201
 
1
@@ -0,0 +1,1738 @@
2
+##############################################################################
3
+#
4
+# This is the spec file for the distribution specific RPM files
5
+#
6
+##############################################################################
7
+
8
+##############################################################################
9
+# Some common macro definitions
10
+##############################################################################
11
+
12
+%define mysql_version 6.3.20
13
+%define mysql_vendor  Sun Microsystems, Inc.
14
+%define distribution  rhel5
15
+%define release       0.%{distribution}
16
+
17
+%define mysqld_user    mysql
18
+%define mysqld_group   mysql
19
+%define mysqldatadir   /var/lib/mysql
20
+%define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com
21
+
22
+# ------------------------------------------------------------------------------
23
+# Meta information, don't remove!
24
+# ------------------------------------------------------------------------------
25
+# norootforbuild
26
+
27
+# ------------------------------------------------------------------------------
28
+# On SuSE 9 no separate "debuginfo" package is built. To enable basic
29
+# debugging on that platform, we don't strip binaries on SuSE 9. We
30
+# disable the strip of binaries by redefining the RPM macro
31
+# "__os_install_post" leaving out the script calls that normally does
32
+# this. We do this in all cases, as on platforms where "debuginfo" is
33
+# created, a script "find-debuginfo.sh" will be called that will do
34
+# the strip anyway, part of separating the executable and debug
35
+# information into separate files put into separate packages.
36
+#
37
+# Some references (shows more advanced conditional usage):
38
+# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html
39
+# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html
40
+# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html
41
+# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html
42
+# ------------------------------------------------------------------------------
43
+%define __os_install_post /usr/lib/rpm/brp-compress
44
+
45
+# ------------------------------------------------------------------------------
46
+# We don't package all files installed into the build root by intention -
47
+# See BUG#998 for details.
48
+# ------------------------------------------------------------------------------
49
+%define _unpackaged_files_terminate_build 0
50
+
51
+# ------------------------------------------------------------------------------
52
+# RPM build tools now automatically detects Perl module dependencies. This 
53
+# detection gives problems as it is broken in some versions, and it also
54
+# give unwanted dependencies from mandatory scripts in our package.
55
+# Might not be possible to disable in all RPM tool versions, but here we
56
+# try. We keep the "AutoReqProv: no" for the "test" sub package, as disabling
57
+# here might fail, and that package has the most problems.
58
+# See http://fedoraproject.org/wiki/Packaging/Perl#Filtering_Requires:_and_Provides
59
+#     http://www.wideopen.com/archives/rpm-list/2002-October/msg00343.html
60
+# ------------------------------------------------------------------------------
61
+%undefine __perl_provides
62
+%undefine __perl_requires
63
+
64
+##############################################################################
65
+# Command line handling
66
+##############################################################################
67
+
68
+# ----------------------------------------------------------------------
69
+# use "rpmbuild --with yassl" or "rpm --define '_with_yassl 1'" (for RPM 3.x)
70
+# to build with yaSSL support (off by default)
71
+# ----------------------------------------------------------------------
72
+%{?_with_yassl:%define YASSL_BUILD 1}
73
+%{!?_with_yassl:%define YASSL_BUILD 0}
74
+
75
+# ----------------------------------------------------------------------
76
+# use "rpmbuild --without libgcc" or "rpm --define '_without_libgcc 1'" (for RPM 3.x)
77
+# to include libgcc (as libmygcc) (on by default)
78
+# ----------------------------------------------------------------------
79
+%{!?_with_libgcc: %{!?_without_libgcc: %define WITH_LIBGCC 1}}
80
+%{?_with_libgcc:%define WITH_LIBGCC 1}
81
+%{?_without_libgcc:%define WITH_LIBGCC 0}
82
+
83
+##############################################################################
84
+# Product definitions - one of these has to be defined via the RPM build
85
+# options, e.g. "--define 'enterprise 1'"
86
+##############################################################################
87
+
88
+%{!?advanced:%define advanced 0}
89
+%{!?advanced_gpl:%define advanced_gpl 0}
90
+%{!?enterprise:%define enterprise 0}
91
+%{!?enterprise_gpl:%define enterprise_gpl 0}
92
+%{!?cluster_com:%define cluster_com 0}
93
+%{!?cluster_com_pro:%define cluster_com_pro 0}
94
+%{!?cluster_gpl:%define cluster_gpl 0}
95
+%{!?community:%define community 0}
96
+%{!?community_maria:%define community_maria 0}
97
+
98
+# On SuSE 9 no separate "debuginfo" package is built. To enable basic
99
+# debugging on that platform, we don't strip binaries on SuSE 9. We
100
+# disable the strip of binaries by redefining the RPM macro
101
+# "__os_install_post" leaving out the script calls that normally does
102
+# this. We do this in all cases, as on platforms where "debuginfo" is
103
+# created, a script "find-debuginfo.sh" will be called that will do
104
+# the strip anyway, part of separating the executable and debug
105
+# information into separate files put into separate packages.
106
+#
107
+# Some references (shows more advanced conditional usage):
108
+# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html
109
+# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html
110
+# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html
111
+# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html
112
+
113
+%define __os_install_post /usr/lib/rpm/brp-compress
114
+
115
+%if %{community}
116
+%define product_name MySQL Server
117
+%define base_product_prefix MySQL
118
+%define product_prefix MySQL
119
+%define product_suffix -community
120
+%define server_suffix -community
121
+%define ndbug_comment MySQL Community Server (GPL)
122
+%define debug_comment MySQL Community Server - Debug (GPL)
123
+%define commercial 0
124
+%define PARTITION_BUILD 1
125
+%define CLUSTER_BUILD 0
126
+%define COMMUNITY_BUILD 1
127
+%define INNODB_BUILD 1
128
+%define MARIA_BUILD 0
129
+%define NORMAL_TEST_MODE test-bt
130
+%define DEBUG_TEST_MODE test-bt-debug
131
+%endif
132
+
133
+%if %{community_maria}
134
+%define product_name MySQL Server
135
+%define base_product_prefix MySQL
136
+%define product_prefix MySQL
137
+%define product_suffix -community-maria
138
+%define server_suffix -community-maria
139
+%define ndbug_comment MySQL Community Server [Maria] (GPL)
140
+%define debug_comment MySQL Community Server - Debug [Maria] (GPL)
141
+%define commercial 0
142
+%define PARTITION_BUILD 1
143
+%define CLUSTER_BUILD 0
144
+%define COMMUNITY_BUILD 1
145
+%define INNODB_BUILD 1
146
+%define MARIA_BUILD 1
147
+%define NORMAL_TEST_MODE test-bt
148
+%define DEBUG_TEST_MODE test-bt-debug
149
+%endif
150
+
151
+%if %{advanced}
152
+%define product_name MySQL Server
153
+%define base_product_prefix MySQL
154
+%define product_prefix MySQL
155
+%define product_suffix -advanced
156
+%define server_suffix -advanced
157
+%define ndbug_comment MySQL Advanced Server (Commercial)
158
+%define debug_comment MySQL Advanced Server - Debug (Commercial)
159
+%define commercial 1
160
+%define PARTITION_BUILD 1
161
+%define CLUSTER_BUILD 0
162
+%define COMMUNITY_BUILD 0
163
+%define INNODB_BUILD 1
164
+%define MARIA_BUILD 0
165
+%define NORMAL_TEST_MODE test-bt-fast
166
+%define DEBUG_TEST_MODE test-bt-debug-fast
167
+%endif
168
+
169
+%if %{advanced_gpl}
170
+%define product_name MySQL Server
171
+%define base_product_prefix MySQL
172
+%define product_prefix MySQL
173
+%define product_suffix -advanced-gpl
174
+%define server_suffix -advanced-gpl
175
+%define ndbug_comment MySQL Advanced Server (GPL)
176
+%define debug_comment MySQL Advanced Server - Debug (GPL)
177
+%define commercial 0
178
+%define PARTITION_BUILD 1
179
+%define CLUSTER_BUILD 0
180
+%define COMMUNITY_BUILD 0
181
+%define INNODB_BUILD 1
182
+%define MARIA_BUILD 0
183
+%define NORMAL_TEST_MODE test-bt
184
+%define DEBUG_TEST_MODE test-bt-debug
185
+%endif
186
+
187
+%if %{enterprise}
188
+%define product_name MySQL Server
189
+%define base_product_prefix MySQL
190
+%define product_prefix MySQL
191
+%define product_suffix -enterprise
192
+%define server_suffix -enterprise
193
+%define ndbug_comment MySQL Enterprise Server (Commercial)
194
+%define debug_comment MySQL Enterprise Server - Debug (Commercial)
195
+%define commercial 1
196
+%define PARTITION_BUILD 0
197
+%define CLUSTER_BUILD 0
198
+%define COMMUNITY_BUILD 0
199
+%define INNODB_BUILD 1
200
+%define MARIA_BUILD 0
201
[-] Added mysqlcluster-SLE_10.spec ^
201
 
1
@@ -0,0 +1,1738 @@
2
+##############################################################################
3
+#
4
+# This is the spec file for the distribution specific RPM files
5
+#
6
+##############################################################################
7
+
8
+##############################################################################
9
+# Some common macro definitions
10
+##############################################################################
11
+
12
+%define mysql_version 6.3.20
13
+%define mysql_vendor  Sun Microsystems, Inc.
14
+%define distribution  sles10
15
+%define release       0.%{distribution}
16
+
17
+%define mysqld_user    mysql
18
+%define mysqld_group   mysql
19
+%define mysqldatadir   /var/lib/mysql
20
+%define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com
21
+
22
+# ------------------------------------------------------------------------------
23
+# Meta information, don't remove!
24
+# ------------------------------------------------------------------------------
25
+# norootforbuild
26
+
27
+# ------------------------------------------------------------------------------
28
+# On SuSE 9 no separate "debuginfo" package is built. To enable basic
29
+# debugging on that platform, we don't strip binaries on SuSE 9. We
30
+# disable the strip of binaries by redefining the RPM macro
31
+# "__os_install_post" leaving out the script calls that normally does
32
+# this. We do this in all cases, as on platforms where "debuginfo" is
33
+# created, a script "find-debuginfo.sh" will be called that will do
34
+# the strip anyway, part of separating the executable and debug
35
+# information into separate files put into separate packages.
36
+#
37
+# Some references (shows more advanced conditional usage):
38
+# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html
39
+# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html
40
+# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html
41
+# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html
42
+# ------------------------------------------------------------------------------
43
+%define __os_install_post /usr/lib/rpm/brp-compress
44
+
45
+# ------------------------------------------------------------------------------
46
+# We don't package all files installed into the build root by intention -
47
+# See BUG#998 for details.
48
+# ------------------------------------------------------------------------------
49
+%define _unpackaged_files_terminate_build 0
50
+
51
+# ------------------------------------------------------------------------------
52
+# RPM build tools now automatically detects Perl module dependencies. This 
53
+# detection gives problems as it is broken in some versions, and it also
54
+# give unwanted dependencies from mandatory scripts in our package.
55
+# Might not be possible to disable in all RPM tool versions, but here we
56
+# try. We keep the "AutoReqProv: no" for the "test" sub package, as disabling
57
+# here might fail, and that package has the most problems.
58
+# See http://fedoraproject.org/wiki/Packaging/Perl#Filtering_Requires:_and_Provides
59
+#     http://www.wideopen.com/archives/rpm-list/2002-October/msg00343.html
60
+# ------------------------------------------------------------------------------
61
+%undefine __perl_provides
62
+%undefine __perl_requires
63
+
64
+##############################################################################
65
+# Command line handling
66
+##############################################################################
67
+
68
+# ----------------------------------------------------------------------
69
+# use "rpmbuild --with yassl" or "rpm --define '_with_yassl 1'" (for RPM 3.x)
70
+# to build with yaSSL support (off by default)
71
+# ----------------------------------------------------------------------
72
+%{?_with_yassl:%define YASSL_BUILD 1}
73
+%{!?_with_yassl:%define YASSL_BUILD 0}
74
+
75
+# ----------------------------------------------------------------------
76
+# use "rpmbuild --without libgcc" or "rpm --define '_without_libgcc 1'" (for RPM 3.x)
77
+# to include libgcc (as libmygcc) (on by default)
78
+# ----------------------------------------------------------------------
79
+%{!?_with_libgcc: %{!?_without_libgcc: %define WITH_LIBGCC 1}}
80
+%{?_with_libgcc:%define WITH_LIBGCC 1}
81
+%{?_without_libgcc:%define WITH_LIBGCC 0}
82
+
83
+##############################################################################
84
+# Product definitions - one of these has to be defined via the RPM build
85
+# options, e.g. "--define 'enterprise 1'"
86
+##############################################################################
87
+
88
+%{!?advanced:%define advanced 0}
89
+%{!?advanced_gpl:%define advanced_gpl 0}
90
+%{!?enterprise:%define enterprise 0}
91
+%{!?enterprise_gpl:%define enterprise_gpl 0}
92
+%{!?cluster_com:%define cluster_com 0}
93
+%{!?cluster_com_pro:%define cluster_com_pro 0}
94
+%{!?cluster_gpl:%define cluster_gpl 0}
95
+%{!?community:%define community 0}
96
+%{!?community_maria:%define community_maria 0}
97
+
98
+# On SuSE 9 no separate "debuginfo" package is built. To enable basic
99
+# debugging on that platform, we don't strip binaries on SuSE 9. We
100
+# disable the strip of binaries by redefining the RPM macro
101
+# "__os_install_post" leaving out the script calls that normally does
102
+# this. We do this in all cases, as on platforms where "debuginfo" is
103
+# created, a script "find-debuginfo.sh" will be called that will do
104
+# the strip anyway, part of separating the executable and debug
105
+# information into separate files put into separate packages.
106
+#
107
+# Some references (shows more advanced conditional usage):
108
+# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html
109
+# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html
110
+# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html
111
+# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html
112
+
113
+%define __os_install_post /usr/lib/rpm/brp-compress
114
+
115
+%if %{community}
116
+%define product_name MySQL Server
117
+%define base_product_prefix MySQL
118
+%define product_prefix MySQL
119
+%define product_suffix -community
120
+%define server_suffix -community
121
+%define ndbug_comment MySQL Community Server (GPL)
122
+%define debug_comment MySQL Community Server - Debug (GPL)
123
+%define commercial 0
124
+%define PARTITION_BUILD 1
125
+%define CLUSTER_BUILD 0
126
+%define COMMUNITY_BUILD 1
127
+%define INNODB_BUILD 1
128
+%define MARIA_BUILD 0
129
+%define NORMAL_TEST_MODE test-bt
130
+%define DEBUG_TEST_MODE test-bt-debug
131
+%endif
132
+
133
+%if %{community_maria}
134
+%define product_name MySQL Server
135
+%define base_product_prefix MySQL
136
+%define product_prefix MySQL
137
+%define product_suffix -community-maria
138
+%define server_suffix -community-maria
139
+%define ndbug_comment MySQL Community Server [Maria] (GPL)
140
+%define debug_comment MySQL Community Server - Debug [Maria] (GPL)
141
+%define commercial 0
142
+%define PARTITION_BUILD 1
143
+%define CLUSTER_BUILD 0
144
+%define COMMUNITY_BUILD 1
145
+%define INNODB_BUILD 1
146
+%define MARIA_BUILD 1
147
+%define NORMAL_TEST_MODE test-bt
148
+%define DEBUG_TEST_MODE test-bt-debug
149
+%endif
150
+
151
+%if %{advanced}
152
+%define product_name MySQL Server
153
+%define base_product_prefix MySQL
154
+%define product_prefix MySQL
155
+%define product_suffix -advanced
156
+%define server_suffix -advanced
157
+%define ndbug_comment MySQL Advanced Server (Commercial)
158
+%define debug_comment MySQL Advanced Server - Debug (Commercial)
159
+%define commercial 1
160
+%define PARTITION_BUILD 1
161
+%define CLUSTER_BUILD 0
162
+%define COMMUNITY_BUILD 0
163
+%define INNODB_BUILD 1
164
+%define MARIA_BUILD 0
165
+%define NORMAL_TEST_MODE test-bt-fast
166
+%define DEBUG_TEST_MODE test-bt-debug-fast
167
+%endif
168
+
169
+%if %{advanced_gpl}
170
+%define product_name MySQL Server
171
+%define base_product_prefix MySQL
172
+%define product_prefix MySQL
173
+%define product_suffix -advanced-gpl
174
+%define server_suffix -advanced-gpl
175
+%define ndbug_comment MySQL Advanced Server (GPL)
176
+%define debug_comment MySQL Advanced Server - Debug (GPL)
177
+%define commercial 0
178
+%define PARTITION_BUILD 1
179
+%define CLUSTER_BUILD 0
180
+%define COMMUNITY_BUILD 0
181
+%define INNODB_BUILD 1
182
+%define MARIA_BUILD 0
183
+%define NORMAL_TEST_MODE test-bt
184
+%define DEBUG_TEST_MODE test-bt-debug
185
+%endif
186
+
187
+%if %{enterprise}
188
+%define product_name MySQL Server
189
+%define base_product_prefix MySQL
190
+%define product_prefix MySQL
191
+%define product_suffix -enterprise
192
+%define server_suffix -enterprise
193
+%define ndbug_comment MySQL Enterprise Server (Commercial)
194
+%define debug_comment MySQL Enterprise Server - Debug (Commercial)
195
+%define commercial 1
196
+%define PARTITION_BUILD 0
197
+%define CLUSTER_BUILD 0
198
+%define COMMUNITY_BUILD 0
199
+%define INNODB_BUILD 1
200
+%define MARIA_BUILD 0
201