Merge lp:~percona-dev/percona-server/release-5.1.46-11-spec into lp:percona-server/release-5.1.47-11
- release-5.1.46-11-spec
- Merge into release-5.1.47-11
Proposed by
Aleksandr Kuzminsky
Status: | Merged |
---|---|
Approved by: | Vadim Tkachenko |
Approved revision: | no longer in the source branch. |
Merged at revision: | 16 |
Proposed branch: | lp:~percona-dev/percona-server/release-5.1.46-11-spec |
Merge into: | lp:percona-server/release-5.1.47-11 |
Diff against target: |
1463 lines (+1446/-1) 2 files modified
build/percona-server.spec (+1445/-0) innodb_fix_misc.patch (+1/-1) |
To merge this branch: | bzr merge lp:~percona-dev/percona-server/release-5.1.46-11-spec |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vadim Tkachenko | Approve | ||
Review via email: mp+26181@code.launchpad.net |
Commit message
Description of the change
Added RPM .spec file
Changed Percona Server version to 11.0
To post a comment you must log in.
Revision history for this message
Vadim Tkachenko (vadim-tk) : | # |
review:
Approve
Revision history for this message
Vadim Tkachenko (vadim-tk) : | # |
review:
Needs Fixing
Revision history for this message
Vadim Tkachenko (vadim-tk) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'build' |
2 | === added file 'build/percona-server.spec' |
3 | --- build/percona-server.spec 1970-01-01 00:00:00 +0000 |
4 | +++ build/percona-server.spec 2010-05-27 20:37:26 +0000 |
5 | @@ -0,0 +1,1445 @@ |
6 | +############################################################################# |
7 | +# |
8 | +# This is the spec file for the distribution specific RPM files |
9 | +# |
10 | +############################################################################## |
11 | + |
12 | +############################################################################## |
13 | +# Some common macro definitions |
14 | +############################################################################## |
15 | + |
16 | +# Required arguments |
17 | +# gotrevision - Revision in BZR branch |
18 | + |
19 | +%define mysql_vendor Percona, Inc |
20 | +%define redhatversion %(lsb_release -rs | awk -F. '{ print $1}') |
21 | +%define community 1 |
22 | +%define mysqlversion 5.1.46 |
23 | +%define majorversion 11 |
24 | +%define minorversion 0 |
25 | +%define distribution rhel%{redhatversion} |
26 | +%define release rel%{majorversion}.%{minorversion}.%{gotrevision}.%{distribution} |
27 | + |
28 | +%define mysqld_user mysql |
29 | +%define mysqld_group mysql |
30 | +%define mysqldatadir /var/lib/mysql |
31 | +%define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com |
32 | + |
33 | +# ------------------------------------------------------------------------------ |
34 | +# Meta information, don't remove! |
35 | +# ------------------------------------------------------------------------------ |
36 | +# norootforbuild |
37 | + |
38 | +# ------------------------------------------------------------------------------ |
39 | +# On SuSE 9 no separate "debuginfo" package is built. To enable basic |
40 | +# debugging on that platform, we don't strip binaries on SuSE 9. We |
41 | +# disable the strip of binaries by redefining the RPM macro |
42 | +# "__os_install_post" leaving out the script calls that normally does |
43 | +# this. We do this in all cases, as on platforms where "debuginfo" is |
44 | +# created, a script "find-debuginfo.sh" will be called that will do |
45 | +# the strip anyway, part of separating the executable and debug |
46 | +# information into separate files put into separate packages. |
47 | +# |
48 | +# Some references (shows more advanced conditional usage): |
49 | +# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html |
50 | +# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html |
51 | +# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html |
52 | +# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html |
53 | +# ------------------------------------------------------------------------------ |
54 | +%define __os_install_post /usr/lib/rpm/brp-compress |
55 | + |
56 | +# ------------------------------------------------------------------------------ |
57 | +# We don't package all files installed into the build root by intention - |
58 | +# See BUG#998 for details. |
59 | +# ------------------------------------------------------------------------------ |
60 | +%define _unpackaged_files_terminate_build 0 |
61 | + |
62 | +# ------------------------------------------------------------------------------ |
63 | +# RPM build tools now automatically detects Perl module dependencies. This |
64 | +# detection gives problems as it is broken in some versions, and it also |
65 | +# give unwanted dependencies from mandatory scripts in our package. |
66 | +# Might not be possible to disable in all RPM tool versions, but here we |
67 | +# try. We keep the "AutoReqProv: no" for the "test" sub package, as disabling |
68 | +# here might fail, and that package has the most problems. |
69 | +# See http://fedoraproject.org/wiki/Packaging/Perl#Filtering_Requires:_and_Provides |
70 | +# http://www.wideopen.com/archives/rpm-list/2002-October/msg00343.html |
71 | +# ------------------------------------------------------------------------------ |
72 | +%undefine __perl_provides |
73 | +%undefine __perl_requires |
74 | + |
75 | +############################################################################## |
76 | +# Command line handling |
77 | +############################################################################## |
78 | + |
79 | +# ---------------------------------------------------------------------- |
80 | +# use "rpmbuild --with yassl" or "rpm --define '_with_yassl 1'" (for RPM 3.x) |
81 | +# to build with yaSSL support (off by default) |
82 | +# ---------------------------------------------------------------------- |
83 | +%{?_with_yassl:%define YASSL_BUILD 1} |
84 | +%{!?_with_yassl:%define YASSL_BUILD 0} |
85 | + |
86 | +# ---------------------------------------------------------------------- |
87 | +# use "rpmbuild --without libgcc" or "rpm --define '_without_libgcc 1'" (for RPM 3.x) |
88 | +# to include libgcc (as libmygcc) (on by default) |
89 | +# ---------------------------------------------------------------------- |
90 | +%{!?_with_libgcc: %{!?_without_libgcc: %define WITH_LIBGCC 1}} |
91 | +%{?_with_libgcc:%define WITH_LIBGCC 1} |
92 | +%{?_without_libgcc:%define WITH_LIBGCC 0} |
93 | + |
94 | + |
95 | +# On SuSE 9 no separate "debuginfo" package is built. To enable basic |
96 | +# debugging on that platform, we don't strip binaries on SuSE 9. We |
97 | +# disable the strip of binaries by redefining the RPM macro |
98 | +# "__os_install_post" leaving out the script calls that normally does |
99 | +# this. We do this in all cases, as on platforms where "debuginfo" is |
100 | +# created, a script "find-debuginfo.sh" will be called that will do |
101 | +# the strip anyway, part of separating the executable and debug |
102 | +# information into separate files put into separate packages. |
103 | +# |
104 | +# Some references (shows more advanced conditional usage): |
105 | +# http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html |
106 | +# http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html |
107 | +# http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html |
108 | +# http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html |
109 | + |
110 | +%define __os_install_post /usr/lib/rpm/brp-compress |
111 | + |
112 | +%define server_suffix -rel%{majorversion}.%{minorversion} |
113 | +%define package_suffix -51 |
114 | +%define ndbug_comment Percona Server (GPL), %{majorversion}.%{minorversion}, Revision %{gotrevision} |
115 | +%define debug_comment Percona Server - Debug (GPL), %{majorversion}.%{minorversion}, Revision %{gotrevision} |
116 | +%define NORMAL_TEST_MODE test-bt |
117 | +%define DEBUG_TEST_MODE test-bt-debug |
118 | + |
119 | +%define BUILD_DEBUG 0 |
120 | + |
121 | +%define lic_type GNU GPL v2 |
122 | +%define lic_files COPYING README |
123 | +%define src_dir Percona-Server |
124 | + |
125 | +Source1: Percona-Server.tar.gz |
126 | + |
127 | +############################################################################## |
128 | +# Main spec file section |
129 | +############################################################################## |
130 | + |
131 | +Name: Percona-Server%{package_suffix} |
132 | +Summary: Percona-Server: a very fast and reliable SQL database server |
133 | +Group: Applications/Databases |
134 | +Version: %{mysqlversion} |
135 | +Release: %{release} |
136 | +Distribution: Red Hat Enterprise Linux %{redhatversion} |
137 | +License: GPL version 2 http://www.gnu.org/licenses/gpl-2.0.html |
138 | +Source: Percona-Server.tar.gz |
139 | +URL: http://www.percona.com/ |
140 | +Packager: %{mysql_vendor} Development Team <mysql-dev@percona.com> |
141 | +Vendor: %{mysql_vendor} |
142 | +Provides: msqlormysql MySQL-server Percona-XtraDB-server |
143 | +BuildRequires: gperf perl readline-devel gcc-c++ ncurses-devel zlib-devel libtool automake autoconf time ccache bison |
144 | + |
145 | +# Think about what you use here since the first step is to |
146 | +# run a rm -rf |
147 | +BuildRoot: %{_tmppath}/%{name}-%{version}-build |
148 | + |
149 | +# From the manual |
150 | +%description |
151 | +The Percona Server software delivers a very fast, multi-threaded, multi-user, |
152 | +and robust SQL (Structured Query Language) database server. Percona Server |
153 | +is intended for mission-critical, heavy-load production systems as well |
154 | +as for embedding into mass-deployed software. |
155 | + |
156 | +Percona Inc. provides commercial support of Percona Server. |
157 | +For more information visist our web site http://www.percona.com/ |
158 | + |
159 | +############################################################################## |
160 | +# Sub package definition |
161 | +############################################################################## |
162 | + |
163 | +%package -n Percona-Server-server%{package_suffix} |
164 | +Summary: %{ndbug_comment} for Red Hat Enterprise Linux %{redhatversion} |
165 | +Group: Applications/Databases |
166 | +Requires: chkconfig coreutils shadow-utils grep procps |
167 | +Provides: msqlormysql mysql-server MySQL-server Percona-XtraDB-server |
168 | + |
169 | +%description -n Percona-Server-server%{package_suffix} |
170 | +The Percona Server software delivers a very fast, multi-threaded, multi-user, |
171 | +and robust SQL (Structured Query Language) database server. Percona Server |
172 | +is intended for mission-critical, heavy-load production systems as well |
173 | +as for embedding into mass-deployed software. |
174 | + |
175 | +Percona Inc. provides commercial support of Percona Server. |
176 | +For more information visist our web site http://www.percona.com/ |
177 | + |
178 | +This package includes the Percona-XtraDB server binary |
179 | +(configured including XtraDB) |
180 | +as well as related utilities to run and administer a Percona Server. |
181 | + |
182 | +If you want to access and work with the database, you have to install |
183 | +package "Percona-Server-client%{package_suffix}" as well! |
184 | + |
185 | +# ------------------------------------------------------------------------------ |
186 | + |
187 | +%package -n Percona-Server-client%{package_suffix} |
188 | +Summary: Percona-Server - Client |
189 | +Group: Applications/Databases |
190 | +Provides: mysql-client MySQL-client Percona-XtraDB-client mysql MySQL |
191 | + |
192 | +%description -n Percona-Server-client%{package_suffix} |
193 | +This package contains the standard Percona Serverclients and administration tools. |
194 | + |
195 | +%{see_base} |
196 | + |
197 | + |
198 | +# ------------------------------------------------------------------------------ |
199 | + |
200 | +%package -n Percona-Server-test%{package_suffix} |
201 | +Requires: mysql-client perl |
202 | +Summary: Percona-Server - Test suite |
203 | +Group: Applications/Databases |
204 | +Provides: mysql-test MySQL-test Percona-XtraDB-test |
205 | +AutoReqProv: no |
206 | + |
207 | +%description -n Percona-Server-test%{package_suffix} |
208 | +This package contains the Percona-Server regression test suite. |
209 | + |
210 | +%{see_base} |
211 | + |
212 | +# ------------------------------------------------------------------------------ |
213 | + |
214 | +%package -n Percona-Server-devel%{package_suffix} |
215 | +Summary: Percona-Server - Development header files and libraries |
216 | +Group: Applications/Databases |
217 | +Provides: mysql-devel MySQL-devel Percona-XtraDB-devel |
218 | + |
219 | +%description -n Percona-Server-devel%{package_suffix} |
220 | +This package contains the development header files and libraries |
221 | +necessary to develop Percona Server client applications. |
222 | + |
223 | +%{see_base} |
224 | + |
225 | +# ------------------------------------------------------------------------------ |
226 | + |
227 | +%package -n Percona-Server-shared%{package_suffix} |
228 | +Summary: Percona-Server - Shared libraries |
229 | +Group: Applications/Databases |
230 | +Provides: mysql-shared MySQL-shared Percona-XtraDB-shared |
231 | + |
232 | +%description -n Percona-Server-shared%{package_suffix} |
233 | +This package contains the shared libraries (*.so*) which certain |
234 | +languages and applications need to dynamically load and use MySQL. |
235 | + |
236 | +# ------------------------------------------------------------------------------ |
237 | + |
238 | + |
239 | +############################################################################## |
240 | +# |
241 | +############################################################################## |
242 | + |
243 | +%prep |
244 | + |
245 | +%setup -n %{src_dir} |
246 | + |
247 | + |
248 | +############################################################################## |
249 | +# The actual build |
250 | +############################################################################## |
251 | + |
252 | +%build |
253 | + |
254 | +BuildMySQL() { |
255 | +# Get flags from environment. RPM_OPT_FLAGS seems not to be set anywhere. |
256 | +CFLAGS=${CFLAGS:-$RPM_OPT_FLAGS} |
257 | +CXXFLAGS=${CXXFLAGS:-$RPM_OPT_FLAGS} |
258 | +# Evaluate current setting of $DEBUG |
259 | +if [ $DEBUG -gt 0 ] ; then |
260 | + OPT_COMMENT='--with-comment="%{debug_comment}"' |
261 | + OPT_DEBUG='--with-debug' |
262 | + CFLAGS=`echo " $CFLAGS " | \ |
263 | + sed -e 's/ -O[0-9]* / /' -e 's/ -unroll2 / /' -e 's/ -ip / /' \ |
264 | + -e 's/^ //' -e 's/ $//'` |
265 | + CXXFLAGS=`echo " $CXXFLAGS " | \ |
266 | + sed -e 's/ -O[0-9]* / /' -e 's/ -unroll2 / /' -e 's/ -ip / /' \ |
267 | + -e 's/^ //' -e 's/ $//'` |
268 | +else |
269 | + OPT_COMMENT='--with-comment="%{ndbug_comment}"' |
270 | + OPT_DEBUG='' |
271 | +fi |
272 | + |
273 | +echo "BUILD ==================" |
274 | +echo $* |
275 | + |
276 | +# The --enable-assembler simply does nothing on systems that does not |
277 | +# support assembler speedups. |
278 | +sh -c "CFLAGS=\"$CFLAGS\" \ |
279 | + CXXFLAGS=\"$CXXFLAGS\" \ |
280 | + AM_CPPFLAGS=\"$AM_CPPFLAGS\" \ |
281 | + LDFLAGS=\"$LDFLAGS\" \ |
282 | + ./configure \ |
283 | + $* \ |
284 | + --enable-assembler \ |
285 | + --enable-local-infile \ |
286 | + --with-mysqld-user=%{mysqld_user} \ |
287 | + --with-unix-socket-path=/var/lib/mysql/mysql.sock \ |
288 | + --with-pic \ |
289 | + --prefix=/ \ |
290 | + --with-extra-charsets=complex \ |
291 | +%if %{YASSL_BUILD} |
292 | + --with-ssl \ |
293 | +%else |
294 | + --without-ssl \ |
295 | +%endif |
296 | + --exec-prefix=%{_exec_prefix} \ |
297 | + --libexecdir=%{_sbindir} \ |
298 | + --libdir=%{_libdir} \ |
299 | + --sysconfdir=%{_sysconfdir} \ |
300 | + --datadir=%{_datadir} \ |
301 | + --localstatedir=%{mysqldatadir} \ |
302 | + --infodir=%{_infodir} \ |
303 | + --includedir=%{_includedir} \ |
304 | + --mandir=%{_mandir} \ |
305 | + --enable-thread-safe-client \ |
306 | + --enable-profiling \ |
307 | +%if %{?ndbug_comment:1}0 |
308 | + $OPT_COMMENT \ |
309 | +%endif |
310 | + $OPT_DEBUG \ |
311 | + --with-readline \ |
312 | + ; make " |
313 | +} |
314 | +# end of function definition "BuildMySQL" |
315 | + |
316 | + |
317 | +BuildServer() { |
318 | +BuildMySQL "--enable-shared \ |
319 | + --with-server-suffix='%{server_suffix}' \ |
320 | + --without-plugin-innobase \ |
321 | + --with-plugin-innodb_plugin \ |
322 | + --with-plugin-partition \ |
323 | + --with-plugin-csv \ |
324 | + --with-plugin-archive \ |
325 | + --with-plugin-blackhole \ |
326 | + --with-plugin-federated \ |
327 | + --without-embedded-server \ |
328 | + --without-bench \ |
329 | + --with-zlib-dir=bundled \ |
330 | + --with-big-tables" |
331 | + |
332 | +if [ -n "$MYSQL_CONFLOG_DEST" ] ; then |
333 | + cp -fp config.log "$MYSQL_CONFLOG_DEST" |
334 | +fi |
335 | + |
336 | +#if [ -f sql/.libs/mysqld ] ; then |
337 | +# nm --numeric-sort sql/.libs/mysqld > sql/mysqld.sym |
338 | +#else |
339 | +# nm --numeric-sort sql/mysqld > sql/mysqld.sym |
340 | +#fi |
341 | +} |
342 | +# end of function definition "BuildServer" |
343 | + |
344 | + |
345 | +RBR=$RPM_BUILD_ROOT |
346 | +MBD=$RPM_BUILD_DIR/%{src_dir} |
347 | + |
348 | +# Clean up the BuildRoot first |
349 | +[ "$RBR" != "/" ] && [ -d $RBR ] && rm -rf $RBR; |
350 | +mkdir -p $RBR%{_libdir}/mysql $RBR%{_sbindir} |
351 | + |
352 | +# Use gcc for C and C++ code (to avoid a dependency on libstdc++ and |
353 | +# including exceptions into the code |
354 | +if [ -z "$CXX" -a -z "$CC" ] ; then |
355 | + export CC="gcc" CXX="gcc" |
356 | +fi |
357 | + |
358 | +# Create the shared libs seperately to avoid a dependency for the client utilities |
359 | +DEBUG=0 |
360 | +BuildMySQL "--enable-shared" |
361 | + |
362 | +# Install shared libraries |
363 | +cp -av libmysql/.libs/*.so* $RBR/%{_libdir} |
364 | +cp -av libmysql_r/.libs/*.so* $RBR/%{_libdir} |
365 | + |
366 | +############################################################################## |
367 | + |
368 | +# Include libgcc.a in the devel subpackage (BUG 4921) |
369 | +%if %{WITH_LIBGCC} |
370 | +libgcc=`$CC $CFLAGS --print-libgcc-file` |
371 | +install -m 644 "$libgcc" $RBR%{_libdir}/mysql/libmygcc.a |
372 | +%endif |
373 | + |
374 | +############################################################################## |
375 | + |
376 | +# Now create a debug server |
377 | +%if %{BUILD_DEBUG} |
378 | +DEBUG=1 |
379 | +make clean |
380 | + |
381 | +( BuildServer ) # subshell, so that CFLAGS + CXXFLAGS are modified only locally |
382 | + |
383 | +if [ "$MYSQL_RPMBUILD_TEST" != "no" ] ; then |
384 | + MTR_BUILD_THREAD=auto make %{DEBUG_TEST_MODE} |
385 | +fi |
386 | + |
387 | +# Get the debug server and its .sym file from the build tree |
388 | +#if [ -f sql/.libs/mysqld ] ; then |
389 | +# cp sql/.libs/mysqld $RBR%{_sbindir}/mysqld-debug |
390 | +#else |
391 | +# cp sql/mysqld $RBR%{_sbindir}/mysqld-debug |
392 | +#fi |
393 | +#cp libmysqld/libmysqld.a $RBR%{_libdir}/mysql/libmysqld-debug.a |
394 | +#cp sql/mysqld.sym $RBR%{_libdir}/mysql/mysqld-debug.sym |
395 | + |
396 | +%endif |
397 | + |
398 | +# Now, the default server |
399 | +DEBUG=0 |
400 | +make clean |
401 | + |
402 | +BuildServer |
403 | + |
404 | +if [ "$MYSQL_RPMBUILD_TEST" != "no" ] ; then |
405 | + MTR_BUILD_THREAD=auto make %{NORMAL_TEST_MODE} |
406 | +fi |
407 | + |
408 | +# Now, build plugin |
409 | +#BUILDSO=0 |
410 | +#make clean |
411 | + |
412 | +#BuildServer |
413 | + |
414 | +#if [ "$MYSQL_RPMBUILD_TEST" != "no" ] ; then |
415 | +# MTR_BUILD_THREAD=auto make %{NORMAL_TEST_MODE} |
416 | +#fi |
417 | + |
418 | +%install |
419 | +RBR=$RPM_BUILD_ROOT |
420 | +MBD=$RPM_BUILD_DIR/%{src_dir} |
421 | + |
422 | +# Ensure that needed directories exists |
423 | +install -d $RBR%{_sysconfdir}/{logrotate.d,init.d} |
424 | +install -d $RBR%{mysqldatadir}/mysql |
425 | +install -d $RBR%{_datadir}/mysql-test |
426 | +install -d $RBR%{_datadir}/mysql/SELinux/RHEL4 |
427 | +install -d $RBR%{_includedir} |
428 | +install -d $RBR%{_libdir} |
429 | +install -d $RBR%{_mandir} |
430 | +install -d $RBR%{_sbindir} |
431 | +install -d $RBR%{_libdir}/mysql/plugin |
432 | + |
433 | +make DESTDIR=$RBR benchdir_root=%{_datadir} install |
434 | + |
435 | +# install symbol files ( for stack trace resolution) |
436 | +#install -m644 $MBD/sql/mysqld.sym $RBR%{_libdir}/mysql/mysqld.sym |
437 | + |
438 | +# Install logrotate and autostart |
439 | +install -m644 $MBD/support-files/mysql-log-rotate \ |
440 | + $RBR%{_sysconfdir}/logrotate.d/mysql |
441 | +install -m755 $MBD/support-files/mysql.server \ |
442 | + $RBR%{_sysconfdir}/init.d/mysql |
443 | + |
444 | +# in RPMs, it is unlikely that anybody should use "sql-bench" |
445 | +rm -fr $RBR%{_datadir}/sql-bench |
446 | + |
447 | +# Create a symlink "rcmysql", pointing to the init.script. SuSE users |
448 | +# will appreciate that, as all services usually offer this. |
449 | +ln -s %{_sysconfdir}/init.d/mysql $RBR%{_sbindir}/rcmysql |
450 | + |
451 | +# Touch the place where the my.cnf config file and mysqlmanager.passwd |
452 | +# (MySQL Instance Manager password file) might be located |
453 | +# Just to make sure it's in the file list and marked as a config file |
454 | +touch $RBR%{_sysconfdir}/my.cnf |
455 | +touch $RBR%{_sysconfdir}/mysqlmanager.passwd |
456 | + |
457 | +# Install SELinux files in datadir |
458 | +install -m600 $MBD/support-files/RHEL4-SElinux/mysql.{fc,te} \ |
459 | + $RBR%{_datadir}/mysql/SELinux/RHEL4 |
460 | + |
461 | + |
462 | +############################################################################## |
463 | +# Post processing actions, i.e. when installed |
464 | +############################################################################## |
465 | + |
466 | +%pre -n Percona-Server-server%{package_suffix} |
467 | +# Check if we can safely upgrade. An upgrade is only safe if it's from one |
468 | +# of our RPMs in the same version family. |
469 | + |
470 | +installed=`rpm -q --whatprovides mysql-server 2> /dev/null` |
471 | +if [ $? -eq 0 -a -n "$installed" ]; then |
472 | + vendor=`rpm -q --queryformat='%{VENDOR}' "$installed" 2>&1` |
473 | + version=`rpm -q --queryformat='%{VERSION}' "$installed" 2>&1` |
474 | + myvendor='%{mysql_vendor}' |
475 | + myversion='%{mysqlversion}' |
476 | + |
477 | + old_family=`echo $version | sed -n -e 's,^\([1-9][0-9]*\.[0-9][0-9]*\)\..*$,\1,p'` |
478 | + new_family=`echo $myversion | sed -n -e 's,^\([1-9][0-9]*\.[0-9][0-9]*\)\..*$,\1,p'` |
479 | + |
480 | + [ -z "$vendor" ] && vendor='<unknown>' |
481 | + [ -z "$old_family" ] && old_family="<unrecognized version $version>" |
482 | + [ -z "$new_family" ] && new_family="<bad package specification: version $myversion>" |
483 | + |
484 | + error_text= |
485 | +# if [ "$vendor" != "$myvendor" ]; then |
486 | +# error_text="$error_text |
487 | +#The current MySQL server package is provided by a different |
488 | +#vendor ($vendor) than $myvendor. Some files may be installed |
489 | +#to different locations, including log files and the service |
490 | +#startup script in %{_sysconfdir}/init.d/. |
491 | +#" |
492 | +# fi |
493 | + |
494 | + if [ "$old_family" != "$new_family" ]; then |
495 | + error_text="$error_text |
496 | +Upgrading directly from MySQL $old_family to MySQL $new_family may not |
497 | +be safe in all cases. A manual dump and restore using mysqldump is |
498 | +recommended. It is important to review the MySQL manual's Upgrading |
499 | +section for version-specific incompatibilities. |
500 | +" |
501 | + fi |
502 | + |
503 | + if [ -n "$error_text" ]; then |
504 | + cat <<HERE >&2 |
505 | + |
506 | +****************************************************************** |
507 | +A MySQL package ($installed) is installed. |
508 | +$error_text |
509 | +A manual upgrade is required. |
510 | + |
511 | +- Ensure that you have a complete, working backup of your data and my.cnf |
512 | + files |
513 | +- Shut down the MySQL server cleanly |
514 | +- Remove the existing MySQL packages. Usually this command will |
515 | + list the packages you should remove: |
516 | + rpm -qa | grep -i '^mysql-' |
517 | + |
518 | + You may choose to use 'rpm --nodeps -ev <package-name>' to remove |
519 | + the package which contains the mysqlclient shared library. The |
520 | + library will be reinstalled by the Percona-shared-compat package. |
521 | +- Install the new Percona Server packages supplied by $myvendor |
522 | +- Ensure that the Percona Server is started |
523 | +- Run the 'mysql_upgrade' program |
524 | + |
525 | +This is a brief description of the upgrade process. Important details |
526 | +can be found in the MySQL manual, in the Upgrading section. |
527 | +For additional details please visit Percona Documentation page |
528 | +at http://www.percona.com/software/documentation/ |
529 | + |
530 | +****************************************************************** |
531 | +HERE |
532 | + exit 1 |
533 | + fi |
534 | +fi |
535 | + |
536 | +# Shut down a previously installed server first |
537 | +if [ -x %{_sysconfdir}/init.d/mysql ] ; then |
538 | + %{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1 |
539 | + echo "Giving mysqld 5 seconds to exit nicely" |
540 | + sleep 5 |
541 | +fi |
542 | + |
543 | +%post -n Percona-Server-server%{package_suffix} |
544 | +mysql_datadir=%{mysqldatadir} |
545 | + |
546 | +# ---------------------------------------------------------------------- |
547 | +# Create data directory |
548 | +# ---------------------------------------------------------------------- |
549 | +mkdir -p $mysql_datadir/{mysql,test} |
550 | + |
551 | +# ---------------------------------------------------------------------- |
552 | +# Make MySQL start/shutdown automatically when the machine does it. |
553 | +# ---------------------------------------------------------------------- |
554 | +if [ -x /sbin/chkconfig ] ; then |
555 | + /sbin/chkconfig --add mysql |
556 | +fi |
557 | + |
558 | +# ---------------------------------------------------------------------- |
559 | +# Create a MySQL user and group. Do not report any problems if it already |
560 | +# exists. |
561 | +# ---------------------------------------------------------------------- |
562 | +groupadd -r %{mysqld_group} 2> /dev/null || true |
563 | +useradd -M -r -d $mysql_datadir -s /bin/bash -c "Percona Server" -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true |
564 | +# The user may already exist, make sure it has the proper group nevertheless (BUG#12823) |
565 | +usermod -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true |
566 | + |
567 | +# ---------------------------------------------------------------------- |
568 | +# Change permissions so that the user that will run the MySQL daemon |
569 | +# owns all database files. |
570 | +# ---------------------------------------------------------------------- |
571 | +chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir |
572 | + |
573 | +# ---------------------------------------------------------------------- |
574 | +# Initiate databases |
575 | +# ---------------------------------------------------------------------- |
576 | +%{_bindir}/mysql_install_db --rpm --user=%{mysqld_user} |
577 | + |
578 | +# ---------------------------------------------------------------------- |
579 | +# FIXME upgrade databases if needed would go here - but it cannot be |
580 | +# automated yet |
581 | +# ---------------------------------------------------------------------- |
582 | + |
583 | +# ---------------------------------------------------------------------- |
584 | +# Change permissions again to fix any new files. |
585 | +# ---------------------------------------------------------------------- |
586 | +chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir |
587 | + |
588 | +# ---------------------------------------------------------------------- |
589 | +# Fix permissions for the permission database so that only the user |
590 | +# can read them. |
591 | +# ---------------------------------------------------------------------- |
592 | +chmod -R og-rw $mysql_datadir/mysql |
593 | + |
594 | +# ---------------------------------------------------------------------- |
595 | +# install SELinux files - but don't override existing ones |
596 | +# ---------------------------------------------------------------------- |
597 | +SETARGETDIR=/etc/selinux/targeted/src/policy |
598 | +SEDOMPROG=$SETARGETDIR/domains/program |
599 | +SECONPROG=$SETARGETDIR/file_contexts/program |
600 | +if [ -f /etc/redhat-release ] && \ |
601 | + (grep -q "Red Hat Enterprise Linux .. release 4" /etc/redhat-release \ |
602 | + || grep -q "CentOS release 4" /etc/redhat-release) ; then |
603 | + echo |
604 | + echo |
605 | + echo 'Notes regarding SELinux on this platform:' |
606 | + echo '=========================================' |
607 | + echo |
608 | + echo 'The default policy might cause server startup to fail because it is ' |
609 | + echo 'not allowed to access critical files. In this case, please update ' |
610 | + echo 'your installation. ' |
611 | + echo |
612 | + echo 'The default policy might also cause inavailability of SSL related ' |
613 | + echo 'features because the server is not allowed to access /dev/random ' |
614 | + echo 'and /dev/urandom. If this is a problem, please do the following: ' |
615 | + echo |
616 | + echo ' 1) install selinux-policy-targeted-sources from your OS vendor' |
617 | + echo ' 2) add the following two lines to '$SEDOMPROG/mysqld.te':' |
618 | + echo ' allow mysqld_t random_device_t:chr_file read;' |
619 | + echo ' allow mysqld_t urandom_device_t:chr_file read;' |
620 | + echo ' 3) cd to '$SETARGETDIR' and issue the following command:' |
621 | + echo ' make load' |
622 | + echo |
623 | + echo |
624 | +fi |
625 | + |
626 | +if [ -x sbin/restorecon ] ; then |
627 | + sbin/restorecon -R var/lib/mysql |
628 | +fi |
629 | + |
630 | +# Restart in the same way that mysqld will be started normally. |
631 | +if [ -x %{_sysconfdir}/init.d/mysql ] ; then |
632 | + %{_sysconfdir}/init.d/mysql start |
633 | + echo "Giving mysqld 2 seconds to start" |
634 | + sleep 2 |
635 | +fi |
636 | + |
637 | +# Allow mysqld_safe to start mysqld and print a message before we exit |
638 | +sleep 2 |
639 | + |
640 | +%preun -n Percona-Server-server%{package_suffix} |
641 | +if [ $1 = 0 ] ; then |
642 | + # Stop MySQL before uninstalling it |
643 | + if [ -x %{_sysconfdir}/init.d/mysql ] ; then |
644 | + %{_sysconfdir}/init.d/mysql stop > /dev/null |
645 | + # Don't start it automatically anymore |
646 | + if [ -x /sbin/chkconfig ] ; then |
647 | + /sbin/chkconfig --del mysql |
648 | + fi |
649 | + fi |
650 | +fi |
651 | + |
652 | +# We do not remove the mysql user since it may still own a lot of |
653 | +# database files. |
654 | + |
655 | +# ---------------------------------------------------------------------- |
656 | +# Clean up the BuildRoot after build is done |
657 | +# ---------------------------------------------------------------------- |
658 | +%clean |
659 | +[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; |
660 | + |
661 | +############################################################################## |
662 | +# Files section |
663 | +############################################################################## |
664 | + |
665 | +%files -n Percona-Server-server%{package_suffix} |
666 | +%defattr(-,root,root,0755) |
667 | + |
668 | +%doc %{lic_files} |
669 | +%doc support-files/my-*.cnf |
670 | + |
671 | +%doc %attr(644, root, root) %{_infodir}/mysql.info* |
672 | + |
673 | +%doc %attr(644, root, man) %{_mandir}/man1/my_print_defaults.1* |
674 | +%doc %attr(644, root, man) %{_mandir}/man1/myisam_ftdump.1* |
675 | +%doc %attr(644, root, man) %{_mandir}/man1/myisamchk.1* |
676 | +%doc %attr(644, root, man) %{_mandir}/man1/myisamlog.1* |
677 | +%doc %attr(644, root, man) %{_mandir}/man1/myisampack.1* |
678 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_convert_table_format.1* |
679 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_fix_extensions.1* |
680 | +%doc %attr(644, root, man) %{_mandir}/man8/mysqld.8* |
681 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqld_multi.1* |
682 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqld_safe.1* |
683 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_fix_privilege_tables.1* |
684 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_install_db.1* |
685 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_secure_installation.1* |
686 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_setpermission.1* |
687 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_upgrade.1* |
688 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqlhotcopy.1* |
689 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqlman.1* |
690 | +%doc %attr(644, root, man) %{_mandir}/man8/mysqlmanager.8* |
691 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql.server.1* |
692 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqltest.1* |
693 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_tzinfo_to_sql.1* |
694 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_zap.1* |
695 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqlbug.1* |
696 | +%doc %attr(644, root, man) %{_mandir}/man1/perror.1* |
697 | +%doc %attr(644, root, man) %{_mandir}/man1/replace.1* |
698 | +%doc %attr(644, root, man) %{_mandir}/man1/resolve_stack_dump.1* |
699 | +%doc %attr(644, root, man) %{_mandir}/man1/resolveip.1* |
700 | + |
701 | +%ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf |
702 | +%ghost %config(noreplace,missingok) %{_sysconfdir}/mysqlmanager.passwd |
703 | + |
704 | +%attr(755, root, root) %{_bindir}/my_print_defaults |
705 | +%attr(755, root, root) %{_bindir}/myisam_ftdump |
706 | +%attr(755, root, root) %{_bindir}/myisamchk |
707 | +%attr(755, root, root) %{_bindir}/myisamlog |
708 | +%attr(755, root, root) %{_bindir}/myisampack |
709 | +%attr(755, root, root) %{_bindir}/mysql_convert_table_format |
710 | +%attr(755, root, root) %{_bindir}/mysql_fix_extensions |
711 | +%attr(755, root, root) %{_bindir}/mysql_fix_privilege_tables |
712 | +%attr(755, root, root) %{_bindir}/mysql_install_db |
713 | +%attr(755, root, root) %{_bindir}/mysql_secure_installation |
714 | +%attr(755, root, root) %{_bindir}/mysql_setpermission |
715 | +%attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql |
716 | +%attr(755, root, root) %{_bindir}/mysql_upgrade |
717 | +%attr(755, root, root) %{_bindir}/mysql_zap |
718 | +%attr(755, root, root) %{_bindir}/mysqlbug |
719 | +%attr(755, root, root) %{_bindir}/mysqld_multi |
720 | +%attr(755, root, root) %{_bindir}/mysqld_safe |
721 | +%attr(755, root, root) %{_bindir}/mysqldumpslow |
722 | +%attr(755, root, root) %{_bindir}/mysqlhotcopy |
723 | +%attr(755, root, root) %{_bindir}/mysqltest |
724 | +%attr(755, root, root) %{_bindir}/perror |
725 | +%attr(755, root, root) %{_bindir}/replace |
726 | +%attr(755, root, root) %{_bindir}/resolve_stack_dump |
727 | +%attr(755, root, root) %{_bindir}/resolveip |
728 | + |
729 | +%attr(755, root, root) %{_sbindir}/mysqld |
730 | +%if %{BUILD_DEBUG} |
731 | +%attr(755, root, root) %{_sbindir}/mysqld-debug |
732 | +%endif |
733 | +%attr(755, root, root) %{_sbindir}/mysqlmanager |
734 | +%attr(755, root, root) %{_sbindir}/rcmysql |
735 | +#%attr(644, root, root) %{_libdir}/mysql/mysqld.sym |
736 | +%if %{BUILD_DEBUG} |
737 | +#%attr(644, root, root) %{_libdir}/mysql/mysqld-debug.sym |
738 | +%endif |
739 | + |
740 | +%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql |
741 | +%attr(755, root, root) %{_sysconfdir}/init.d/mysql |
742 | + |
743 | +%attr(755, root, root) %{_datadir}/mysql/ |
744 | + |
745 | +%files -n Percona-Server-client%{package_suffix} |
746 | +%defattr(-, root, root, 0755) |
747 | +%attr(755, root, root) %{_bindir}/msql2mysql |
748 | +%attr(755, root, root) %{_bindir}/mysql |
749 | +%attr(755, root, root) %{_bindir}/mysql_find_rows |
750 | +%attr(755, root, root) %{_bindir}/mysql_waitpid |
751 | +%attr(755, root, root) %{_bindir}/mysqlaccess |
752 | +%attr(755, root, root) %{_bindir}/mysqladmin |
753 | +%attr(755, root, root) %{_bindir}/mysqlbinlog |
754 | +%attr(755, root, root) %{_bindir}/mysqlcheck |
755 | +%attr(755, root, root) %{_bindir}/mysqldump |
756 | +%attr(755, root, root) %{_bindir}/mysqlimport |
757 | +%attr(755, root, root) %{_bindir}/mysqlshow |
758 | +%attr(755, root, root) %{_bindir}/mysqlslap |
759 | + |
760 | +%doc %attr(644, root, man) %{_mandir}/man1/msql2mysql.1* |
761 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql.1* |
762 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_find_rows.1* |
763 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_waitpid.1* |
764 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqlaccess.1* |
765 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqladmin.1* |
766 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqlbinlog.1* |
767 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqlcheck.1* |
768 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqldump.1* |
769 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqlimport.1* |
770 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqlshow.1* |
771 | +%doc %attr(644, root, man) %{_mandir}/man1/mysqlslap.1* |
772 | + |
773 | +%post -n Percona-Server-shared%{package_suffix} |
774 | +/sbin/ldconfig |
775 | + |
776 | +%postun -n Percona-Server-shared%{package_suffix} |
777 | +/sbin/ldconfig |
778 | + |
779 | + |
780 | +%files -n Percona-Server-devel%{package_suffix} |
781 | +%defattr(-, root, root, 0755) |
782 | +%doc %attr(644, root, man) %{_mandir}/man1/comp_err.1* |
783 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_config.1* |
784 | +%attr(755, root, root) %{_bindir}/mysql_config |
785 | +%dir %attr(755, root, root) %{_libdir}/mysql |
786 | +%{_includedir}/mysql |
787 | +%{_datadir}/aclocal/mysql.m4 |
788 | +%{_libdir}/mysql/libdbug.a |
789 | +%{_libdir}/mysql/libheap.a |
790 | +%if %{WITH_LIBGCC} |
791 | +%{_libdir}/mysql/libmygcc.a |
792 | +%endif |
793 | +%{_libdir}/mysql/libmyisam.a |
794 | +%{_libdir}/mysql/libmyisammrg.a |
795 | +%{_libdir}/mysql/libmysqlclient.a |
796 | +%{_libdir}/mysql/libmysqlclient.la |
797 | +%{_libdir}/mysql/libmysqlclient_r.a |
798 | +%{_libdir}/mysql/libmysqlclient_r.la |
799 | +%{_libdir}/mysql/libmystrings.a |
800 | +%{_libdir}/mysql/libmysys.a |
801 | +%{_libdir}/mysql/libvio.a |
802 | +%{_libdir}/mysql/libz.a |
803 | +%{_libdir}/mysql/libz.la |
804 | +%if %{CLUSTER_BUILD} |
805 | +%{_libdir}/mysql/libndbclient.a |
806 | +%{_libdir}/mysql/libndbclient.la |
807 | +%endif |
808 | + |
809 | +%files -n Percona-Server-shared%{package_suffix} |
810 | +%defattr(-, root, root, 0755) |
811 | +# Shared libraries (omit for architectures that don't support them) |
812 | +%{_libdir}/*.so* |
813 | + |
814 | +%files -n Percona-Server-test%{package_suffix} |
815 | +%defattr(-, root, root, 0755) |
816 | +%{_datadir}/mysql-test |
817 | +%attr(755, root, root) %{_bindir}/mysql_client_test |
818 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql_client_test.1* |
819 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql-stress-test.pl.1* |
820 | +%doc %attr(644, root, man) %{_mandir}/man1/mysql-test-run.pl.1* |
821 | + |
822 | +############################################################################## |
823 | +# The spec file changelog only includes changes made to the spec file |
824 | +# itself - note that they must be ordered by date (important when |
825 | +# merging BK trees) |
826 | +############################################################################## |
827 | +%changelog |
828 | +* Wed May 22 2010 Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com> |
829 | + |
830 | +Percona Server Release 11.0 |
831 | + |
832 | +* Mon Mar 22 2010 Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com> |
833 | + |
834 | +XtraDB Release 10 |
835 | + |
836 | +* Thu Feb 11 2010 Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com> |
837 | + |
838 | +Package name changed to Percona-XtraDB |
839 | + |
840 | +* Tue Jan 05 2010 Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com> |
841 | + |
842 | +- Corrected emails |
843 | +- -m64 is removed from CFLAGS |
844 | + |
845 | +* Tue Apr 21 2009 Aleksandr Kuzminsky <aleksandr.kuzminsky@percona.com> |
846 | + |
847 | +- Adoption for XtraDB Storage Engine |
848 | + |
849 | +* Fri Nov 07 2008 Joerg Bruehe <joerg@mysql.com> |
850 | + |
851 | +- Modify CFLAGS and CXXFLAGS such that a debug build is not optimized. |
852 | + This should cover both gcc and icc flags. Fixes bug#40546. |
853 | + |
854 | +* Mon Aug 18 2008 Joerg Bruehe <joerg@mysql.com> |
855 | + |
856 | +- Get rid of the "warning: Installed (but unpackaged) file(s) found:" |
857 | + Some generated files aren't needed in RPMs: |
858 | + - the "sql-bench/" subdirectory |
859 | + Some files were missing: |
860 | + - /usr/share/aclocal/mysql.m4 ("devel" subpackage) |
861 | + - Manuals for embedded tests ("test" subpackage) |
862 | + - Manual "mysqlbug" ("server" subpackage) |
863 | + - Manual "mysql_find_rows" ("client" subpackage) |
864 | + |
865 | +* Wed Jun 11 2008 Kent Boortz <kent@mysql.com> |
866 | + |
867 | +- Removed the Example storage engine, it is not to be in products |
868 | + |
869 | +* Fri Apr 04 2008 Daniel Fischer <df@mysql.com> |
870 | + |
871 | +- Added Cluster+InnoDB product |
872 | + |
873 | +* Mon Mar 31 2008 Kent Boortz <kent@mysql.com> |
874 | + |
875 | +- Made the "Federated" storage engine an option |
876 | + |
877 | +* Tue Mar 11 2008 Joerg Bruehe <joerg@mysql.com> |
878 | + |
879 | +- Cleanup: Remove manual file "mysql_tableinfo.1". |
880 | + |
881 | +* Mon Feb 18 2008 Timothy Smith <tim@mysql.com> |
882 | + |
883 | +- Require a manual upgrade if the alread-installed mysql-server is |
884 | + from another vendor, or is of a different major version. |
885 | + |
886 | +* Fri Dec 14 2007 Joerg Bruehe <joerg@mysql.com> |
887 | + |
888 | +- Add the "%doc" directive for all man pages and other documentation; |
889 | + also, some re-ordering to reduce differences between spec files. |
890 | + |
891 | +* Fri Dec 14 2007 Joerg Bruehe <joerg@mysql.com> |
892 | + |
893 | +- Added "client/mysqlslap" (bug#32077) |
894 | + |
895 | +* Wed Oct 31 2007 Joerg Bruehe <joerg@mysql.com> |
896 | + |
897 | +- Explicitly handle InnoDB using its own variable and "--with"/"--without" |
898 | + options, because the "configure" default is "yes". |
899 | + Also, fix the specification of "community" to include "partitioning". |
900 | + |
901 | +* Mon Sep 03 2007 Kent Boortz <kent@mysql.com> |
902 | + |
903 | +- Let libmygcc be included unless "--without libgcc" is given. |
904 | + |
905 | +* Sun Sep 02 2007 Kent Boortz <kent@mysql.com> |
906 | + |
907 | +- Changed SSL flag given to configure to "--with-ssl" |
908 | +- Removed symbolic link "safe_mysqld" |
909 | +- Removed script and man page for "mysql_explain_log" |
910 | +- Removed scripts "mysql_tableinfo" and "mysql_upgrade_shell" |
911 | +- Removed "comp_err" from list to install |
912 | +- Removed duplicates of "libndbclient.a" and "libndbclient.la" |
913 | + |
914 | +* Tue Jul 17 2007 Joerg Bruehe <joerg@mysql.com> |
915 | + |
916 | +- Add the man page for "mysql-stress-test.pl" to the "test" RPM |
917 | + (consistency in fixing bug#21023, the script is handled by "Makefile.am") |
918 | + |
919 | +* Wed Jul 11 2007 Daniel Fischer <df@mysql.com> |
920 | + |
921 | +- Change the way broken SELinux policies on RHEL4 and CentOS 4 |
922 | + are handled to be more likely to actually work |
923 | + |
924 | +* Thu Jun 05 2007 kent Boortz <kent@mysql.com> |
925 | + |
926 | +- Enabled the CSV engine in all builds |
927 | + |
928 | +* Thu May 3 2007 Mads Martin Joergensen <mmj@mysql.com> |
929 | + |
930 | +- Spring cleanup |
931 | + |
932 | +* Thu Apr 19 2007 Mads Martin Joergensen <mmj@mysql.com> |
933 | + |
934 | +- If sbin/restorecon exists then run it |
935 | + |
936 | +* Wed Apr 18 2007 Kent Boortz <kent@mysql.com> |
937 | + |
938 | +- Packed unpacked files |
939 | + |
940 | + /usr/sbin/ndb_cpcd |
941 | + /usr/bin/mysql_upgrade_shell |
942 | + /usr/bin/innochecksum |
943 | + /usr/share/man/man1/ndb_cpcd.1.gz |
944 | + /usr/share/man/man1/innochecksum.1.gz |
945 | + /usr/share/man/man1/mysql_fix_extensions.1.gz |
946 | + /usr/share/man/man1/mysql_secure_installation.1.gz |
947 | + /usr/share/man/man1/mysql_tableinfo.1.gz |
948 | + /usr/share/man/man1/mysql_waitpid.1.gz |
949 | + |
950 | +- Commands currently not installed but that has man pages |
951 | + |
952 | + /usr/share/man/man1/make_win_bin_dist.1.gz |
953 | + /usr/share/man/man1/make_win_src_distribution.1.gz |
954 | + /usr/share/man/man1/mysql-stress-test.pl.1.gz |
955 | + /usr/share/man/man1/ndb_print_backup_file.1.gz |
956 | + /usr/share/man/man1/ndb_print_schema_file.1.gz |
957 | + /usr/share/man/man1/ndb_print_sys_file.1.gz |
958 | + |
959 | +* Thu Mar 22 2007 Joerg Bruehe <joerg@mysql.com> |
960 | + |
961 | +- Add "comment" options to the test runs, for better log analysis. |
962 | + |
963 | +* Wed Mar 21 2007 Joerg Bruehe <joerg@mysql.com> |
964 | + |
965 | +- Add even more man pages. |
966 | + |
967 | +* Fri Mar 16 2007 Joerg Bruehe <joerg@mysql.com> |
968 | + |
969 | +- Build the server twice, once as "mysqld-debug" and once as "mysqld"; |
970 | + test them both, and include them in the resulting file. |
971 | +- Consequences of the fix for bug#20166: |
972 | + Remove "mysql_create_system_tables", |
973 | + new "mysql_fix_privilege_tables.sql" is included implicitly. |
974 | + |
975 | +* Wed Mar 14 2007 Daniel Fischer <df@mysql.com> |
976 | + |
977 | +- Adjust compile options some more and change naming of community |
978 | + cluster RPMs to explicitly say 'cluster'. |
979 | + |
980 | +* Mon Mar 12 2007 Daniel Fischer <df@mysql.com> |
981 | + |
982 | +- Adjust compile options and other settings for 5.0 community builds. |
983 | + |
984 | +* Fri Mar 02 2007 Joerg Bruehe <joerg@mysql.com> |
985 | + |
986 | +- Add several man pages which are now created. |
987 | + |
988 | +* Mon Jan 29 2007 Mads Martin Joergensen <mmj@mysql.com> |
989 | + |
990 | +- Make sure SELinux works correctly. Files from Colin Charles. |
991 | + |
992 | +* Fri Jan 05 2007 Kent Boortz <kent@mysql.com> |
993 | + |
994 | +- Add CFLAGS to gcc call with --print-libgcc-file, to make sure the |
995 | + correct "libgcc.a" path is returned for the 32/64 bit architecture. |
996 | + |
997 | +* Tue Dec 19 2006 Joerg Bruehe <joerg@mysql.com> |
998 | + |
999 | +- The man page for "mysqld" is now in section 8. |
1000 | + |
1001 | +* Thu Dec 14 2006 Joerg Bruehe <joerg@mysql.com> |
1002 | + |
1003 | +- Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql" |
1004 | + in the server RPM. |
1005 | +- The "mysqlmanager" man page was relocated to section 8, reflect that. |
1006 | + |
1007 | +* Fri Nov 17 2006 Mads Martin Joergensen <mmj@mysql.com> |
1008 | + |
1009 | +- Really fix obsoletes/provides for community -> this |
1010 | +- Make it possible to not run test by setting |
1011 | + MYSQL_RPMBUILD_TEST to "no" |
1012 | + |
1013 | +* Wed Nov 15 2006 Joerg Bruehe <joerg@mysql.com> |
1014 | + |
1015 | +- Switch from "make test*" to explicit calls of the test suite, |
1016 | + so that "report features" can be used. |
1017 | + |
1018 | +* Wed Nov 15 2006 Kent Boortz <kent@mysql.com> |
1019 | + |
1020 | +- Added "--with cluster" and "--define cluster{_gpl}" |
1021 | + |
1022 | +* Tue Oct 24 2006 Mads Martin Joergensen <mmj@mysql.com> |
1023 | + |
1024 | +- Shared need to Provide/Obsolete mysql-shared |
1025 | + |
1026 | +* Mon Oct 23 2006 Mads Martin Joergensen <mmj@mysql.com> |
1027 | + |
1028 | +- Run sbin/restorecon after db init (Bug#12676) |
1029 | + |
1030 | +* Thu Jul 06 2006 Joerg Bruehe <joerg@mysql.com> |
1031 | + |
1032 | +- Correct a typing error in my previous change. |
1033 | + |
1034 | +* Tue Jul 04 2006 Joerg Bruehe <joerg@mysql.com> |
1035 | + |
1036 | +- Use the Perl script to run the tests, because it will automatically check |
1037 | + whether the server is configured with SSL. |
1038 | + |
1039 | +* Wed Jun 28 2006 Joerg Bruehe <joerg@mysql.com> |
1040 | + |
1041 | +- Revert all previous attempts to call "mysql_upgrade" during RPM upgrade, |
1042 | + there are some more aspects which need to be solved before this is possible. |
1043 | + For now, just ensure the binary "mysql_upgrade" is delivered and installed. |
1044 | + |
1045 | +* Wed Jun 28 2006 Joerg Bruehe <joerg@mysql.com> |
1046 | + |
1047 | +- Move "mysqldumpslow" from the client RPM to the server RPM (bug#20216). |
1048 | + |
1049 | +* Wed Jun 21 2006 Joerg Bruehe <joerg@mysql.com> |
1050 | + |
1051 | +- To run "mysql_upgrade", we need a running server; |
1052 | + start it in isolation and skip password checks. |
1053 | + |
1054 | +* Sat May 23 2006 Kent Boortz <kent@mysql.com> |
1055 | + |
1056 | +- Always compile for PIC, position independent code. |
1057 | + |
1058 | +* Fri Apr 28 2006 Kent Boortz <kent@mysql.com> |
1059 | + |
1060 | +- Install and run "mysql_upgrade" |
1061 | + |
1062 | +* Sat Apr 01 2006 Kent Boortz <kent@mysql.com> |
1063 | + |
1064 | +- Allow to override $LDFLAGS |
1065 | + |
1066 | +* Fri Jan 06 2006 Lenz Grimmer <lenz@mysql.com> |
1067 | + |
1068 | +- added a MySQL-test subpackage (BUG#16070) |
1069 | + |
1070 | +* Tue Dec 27 2005 Joerg Bruehe <joerg@mysql.com> |
1071 | + |
1072 | +- Some minor alignment with the 4.1 version |
1073 | + |
1074 | +* Wed Dec 14 2005 Rodrigo Novo <rodrigo@mysql.com> |
1075 | + |
1076 | +- Cosmetic changes: source code location & rpm packager |
1077 | +- Protect "nm -D" against libtool weirdness |
1078 | +- Add libz.a & libz.la to the list of files for subpackage -devel |
1079 | +- moved --with-zlib-dir=bundled out of BuildMySQL, as it doesn't makes |
1080 | + sense for the shared package |
1081 | + |
1082 | +* Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com> |
1083 | + |
1084 | +- Extend the file existence check for "init.d/mysql" on un-install |
1085 | + to also guard the call to "insserv"/"chkconfig". |
1086 | + |
1087 | +* Wed Nov 16 2005 Lenz Grimmer <lenz@mysql.com> |
1088 | + |
1089 | +- added mysql_client_test to the "client" subpackage (BUG#14546) |
1090 | + |
1091 | +* Tue Nov 15 2005 Lenz Grimmer <lenz@mysql.com> |
1092 | + |
1093 | +- changed default definitions to build a standard GPL release when not |
1094 | + defining anything else |
1095 | +- install the shared libs more elegantly by using "make install" |
1096 | + |
1097 | +* Wed Oct 19 2005 Kent Boortz <kent@mysql.com> |
1098 | + |
1099 | +- Made yaSSL support an option (off by default) |
1100 | + |
1101 | +* Wed Oct 19 2005 Kent Boortz <kent@mysql.com> |
1102 | + |
1103 | +- Enabled yaSSL support |
1104 | + |
1105 | +* Thu Oct 13 2005 Lenz Grimmer <lenz@mysql.com> |
1106 | + |
1107 | +- added a usermod call to assign a potential existing mysql user to the |
1108 | + correct user group (BUG#12823) |
1109 | +- added a separate macro "mysqld_group" to be able to define the |
1110 | + user group of the mysql user seperately, if desired. |
1111 | + |
1112 | +* Fri Oct 1 2005 Kent Boortz <kent@mysql.com> |
1113 | + |
1114 | +- Copy the config.log file to location outside |
1115 | + the build tree |
1116 | + |
1117 | +* Fri Sep 30 2005 Lenz Grimmer <lenz@mysql.com> |
1118 | + |
1119 | +- don't use install-strip to install the binaries (strip segfaults on |
1120 | + icc-compiled binaries on IA64) |
1121 | + |
1122 | +* Thu Sep 22 2005 Lenz Grimmer <lenz@mysql.com> |
1123 | + |
1124 | +- allow overriding the CFLAGS (needed for Intel icc compiles) |
1125 | +- replace the CPPFLAGS=-DBIG_TABLES with "--with-big-tables" configure option |
1126 | + |
1127 | +* Fri Aug 19 2005 Joerg Bruehe <joerg@mysql.com> |
1128 | + |
1129 | +- Protect against failing tests. |
1130 | + |
1131 | +* Thu Aug 04 2005 Lenz Grimmer <lenz@mysql.com> |
1132 | + |
1133 | +- Fixed the creation of the mysql user group account in the postinstall |
1134 | + section (BUG 12348) |
1135 | + |
1136 | +* Fri Jul 29 2005 Lenz Grimmer <lenz@mysql.com> |
1137 | + |
1138 | +- Fixed external RPM Requirements to better suit the target distribution |
1139 | + (BUG 12233) |
1140 | + |
1141 | +* Fri Jul 15 2005 Lenz Grimmer <lenz@mysql.com> |
1142 | + |
1143 | +- create a "mysql" user group and assign the mysql user account to that group |
1144 | + in the server postinstall section. (BUG 10984) |
1145 | + |
1146 | +* Wed Jun 01 2005 Lenz Grimmer <lenz@mysql.com> |
1147 | + |
1148 | +- use "mysqldatadir" variable instead of hard-coding the path multiple times |
1149 | +- use the "mysqld_user" variable on all occasions a user name is referenced |
1150 | +- removed (incomplete) Brazilian translations |
1151 | +- removed redundant release tags from the subpackage descriptions |
1152 | + |
1153 | +* Fri May 27 2005 Lenz Grimmer <lenz@mysql.com> |
1154 | + |
1155 | +- fixed file list (removed libnisam.a and libmerge.a from the devel subpackage) |
1156 | +- force running the test suite |
1157 | + |
1158 | +* Wed Apr 20 2005 Lenz Grimmer <lenz@mysql.com> |
1159 | + |
1160 | +- Enabled the "blackhole" storage engine for the Max RPM |
1161 | + |
1162 | +* Wed Apr 13 2005 Lenz Grimmer <lenz@mysql.com> |
1163 | + |
1164 | +- removed the MySQL manual files (html/ps/texi) - they have been removed |
1165 | + from the MySQL sources and are now available seperately. |
1166 | + |
1167 | +* Mon Apr 4 2005 Petr Chardin <petr@mysql.com> |
1168 | + |
1169 | +- old mysqlmanager, mysqlmanagerc and mysqlmanager-pwger renamed into |
1170 | + mysqltestmanager, mysqltestmanager and mysqltestmanager-pwgen respectively |
1171 | + |
1172 | +* Fri Mar 18 2005 Lenz Grimmer <lenz@mysql.com> |
1173 | + |
1174 | +- Disabled RAID in the Max binaries once and for all (it has finally been |
1175 | + removed from the source tree) |
1176 | + |
1177 | +* Sun Feb 20 2005 Petr Chardin <petr@mysql.com> |
1178 | + |
1179 | +- Install MySQL Instance Manager together with mysqld, touch mysqlmanager |
1180 | + password file |
1181 | + |
1182 | +* Mon Feb 14 2005 Lenz Grimmer <lenz@mysql.com> |
1183 | + |
1184 | +- Fixed the compilation comments and moved them into the separate build sections |
1185 | + for Max and Standard |
1186 | + |
1187 | +* Mon Feb 7 2005 Tomas Ulin <tomas@mysql.com> |
1188 | + |
1189 | +- enabled the "Ndbcluster" storage engine for the max binary |
1190 | +- added extra make install in ndb subdir after Max build to get ndb binaries |
1191 | +- added packages for ndbcluster storage engine |
1192 | + |
1193 | +* Fri Jan 14 2005 Lenz Grimmer <lenz@mysql.com> |
1194 | + |
1195 | +- replaced obsoleted "BuildPrereq" with "BuildRequires" instead |
1196 | + |
1197 | +* Thu Jan 13 2005 Lenz Grimmer <lenz@mysql.com> |
1198 | + |
1199 | +- enabled the "Federated" storage engine for the max binary |
1200 | + |
1201 | +* Tue Jan 04 2005 Petr Chardin <petr@mysql.com> |
1202 | + |
1203 | +- ISAM and merge storage engines were purged. As well as appropriate |
1204 | + tools and manpages (isamchk and isamlog) |
1205 | + |
1206 | +* Thu Dec 31 2004 Lenz Grimmer <lenz@mysql.com> |
1207 | + |
1208 | +- enabled the "Archive" storage engine for the max binary |
1209 | +- enabled the "CSV" storage engine for the max binary |
1210 | +- enabled the "Example" storage engine for the max binary |
1211 | + |
1212 | +* Thu Aug 26 2004 Lenz Grimmer <lenz@mysql.com> |
1213 | + |
1214 | +- MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860) |
1215 | + |
1216 | +* Fri Aug 20 2004 Lenz Grimmer <lenz@mysql.com> |
1217 | + |
1218 | +- do not link statically on IA64/AMD64 as these systems do not have |
1219 | + a patched glibc installed |
1220 | + |
1221 | +* Tue Aug 10 2004 Lenz Grimmer <lenz@mysql.com> |
1222 | + |
1223 | +- Added libmygcc.a to the devel subpackage (required to link applications |
1224 | + against the the embedded server libmysqld.a) (BUG 4921) |
1225 | + |
1226 | +* Mon Aug 09 2004 Lenz Grimmer <lenz@mysql.com> |
1227 | + |
1228 | +- Added EXCEPTIONS-CLIENT to the "devel" package |
1229 | + |
1230 | +* Thu Jul 29 2004 Lenz Grimmer <lenz@mysql.com> |
1231 | + |
1232 | +- disabled OpenSSL in the Max binaries again (the RPM packages were the |
1233 | + only exception to this anyway) (BUG 1043) |
1234 | + |
1235 | +* Wed Jun 30 2004 Lenz Grimmer <lenz@mysql.com> |
1236 | + |
1237 | +- fixed server postinstall (mysql_install_db was called with the wrong |
1238 | + parameter) |
1239 | + |
1240 | +* Thu Jun 24 2004 Lenz Grimmer <lenz@mysql.com> |
1241 | + |
1242 | +- added mysql_tzinfo_to_sql to the server subpackage |
1243 | +- run "make clean" instead of "make distclean" |
1244 | + |
1245 | +* Mon Apr 05 2004 Lenz Grimmer <lenz@mysql.com> |
1246 | + |
1247 | +- added ncurses-devel to the build prerequisites (BUG 3377) |
1248 | + |
1249 | +* Thu Feb 12 2004 Lenz Grimmer <lenz@mysql.com> |
1250 | + |
1251 | +- when using gcc, _always_ use CXX=gcc |
1252 | +- replaced Copyright with License field (Copyright is obsolete) |
1253 | + |
1254 | +* Tue Feb 03 2004 Lenz Grimmer <lenz@mysql.com> |
1255 | + |
1256 | +- added myisam_ftdump to the Server package |
1257 | + |
1258 | +* Tue Jan 13 2004 Lenz Grimmer <lenz@mysql.com> |
1259 | + |
1260 | +- link the mysql client against libreadline instead of libedit (BUG 2289) |
1261 | + |
1262 | +* Mon Dec 22 2003 Lenz Grimmer <lenz@mysql.com> |
1263 | + |
1264 | +- marked /etc/logrotate.d/mysql as a config file (BUG 2156) |
1265 | + |
1266 | +* Fri Dec 13 2003 Lenz Grimmer <lenz@mysql.com> |
1267 | + |
1268 | +- fixed file permissions (BUG 1672) |
1269 | + |
1270 | +* Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com> |
1271 | + |
1272 | +- made testing for gcc3 a bit more robust |
1273 | + |
1274 | +* Fri Dec 05 2003 Lenz Grimmer <lenz@mysql.com> |
1275 | + |
1276 | +- added missing file mysql_create_system_tables to the server subpackage |
1277 | + |
1278 | +* Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com> |
1279 | + |
1280 | +- removed dependency on MySQL-client from the MySQL-devel subpackage |
1281 | + as it is not really required. (BUG 1610) |
1282 | + |
1283 | +* Fri Aug 29 2003 Lenz Grimmer <lenz@mysql.com> |
1284 | + |
1285 | +- Fixed BUG 1162 (removed macro names from the changelog) |
1286 | +- Really fixed BUG 998 (disable the checking for installed but |
1287 | + unpackaged files) |
1288 | + |
1289 | +* Tue Aug 05 2003 Lenz Grimmer <lenz@mysql.com> |
1290 | + |
1291 | +- Fixed BUG 959 (libmysqld not being compiled properly) |
1292 | +- Fixed BUG 998 (RPM build errors): added missing files to the |
1293 | + distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow, |
1294 | + mysql_fix_privilege_tables.1), removed "-n" from install section. |
1295 | + |
1296 | +* Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com> |
1297 | + |
1298 | +- removed the GIF Icon (file was not included in the sources anyway) |
1299 | +- removed unused variable shared_lib_version |
1300 | +- do not run automake before building the standard binary |
1301 | + (should not be necessary) |
1302 | +- add server suffix '-standard' to standard binary (to be in line |
1303 | + with the binary tarball distributions) |
1304 | +- Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir, |
1305 | + _datadir, _includedir) throughout the spec file. |
1306 | +- allow overriding CC and CXX (required when building with other compilers) |
1307 | + |
1308 | +* Fri May 16 2003 Lenz Grimmer <lenz@mysql.com> |
1309 | + |
1310 | +- re-enabled RAID again |
1311 | + |
1312 | +* Wed Apr 30 2003 Lenz Grimmer <lenz@mysql.com> |
1313 | + |
1314 | +- disabled MyISAM RAID (--with-raid) - it throws an assertion which |
1315 | + needs to be investigated first. |
1316 | + |
1317 | +* Mon Mar 10 2003 Lenz Grimmer <lenz@mysql.com> |
1318 | + |
1319 | +- added missing file mysql_secure_installation to server subpackage |
1320 | + (BUG 141) |
1321 | + |
1322 | +* Tue Feb 11 2003 Lenz Grimmer <lenz@mysql.com> |
1323 | + |
1324 | +- re-added missing pre- and post(un)install scripts to server subpackage |
1325 | +- added config file /etc/my.cnf to the file list (just for completeness) |
1326 | +- make sure to create the datadir with 755 permissions |
1327 | + |
1328 | +* Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com> |
1329 | + |
1330 | +- removed unused CC and CXX variables |
1331 | +- CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS |
1332 | + |
1333 | +* Fri Jan 24 2003 Lenz Grimmer <lenz@mysql.com> |
1334 | + |
1335 | +- renamed package "MySQL" to "MySQL-server" |
1336 | +- fixed Copyright tag |
1337 | +- added mysql_waitpid to client subpackage (required for mysql-test-run) |
1338 | + |
1339 | +* Wed Nov 27 2002 Lenz Grimmer <lenz@mysql.com> |
1340 | + |
1341 | +- moved init script from /etc/rc.d/init.d to /etc/init.d (the majority of |
1342 | + Linux distributions now support this scheme as proposed by the LSB either |
1343 | + directly or via a compatibility symlink) |
1344 | +- Use new "restart" init script action instead of starting and stopping |
1345 | + separately |
1346 | +- Be more flexible in activating the automatic bootup - use insserv (on |
1347 | + older SuSE versions) or chkconfig (Red Hat, newer SuSE versions and |
1348 | + others) to create the respective symlinks |
1349 | + |
1350 | +* Wed Sep 25 2002 Lenz Grimmer <lenz@mysql.com> |
1351 | + |
1352 | +- MySQL-Max now requires MySQL >= 4.0 to avoid version mismatches |
1353 | + (mixing 3.23 and 4.0 packages) |
1354 | + |
1355 | +* Fri Aug 09 2002 Lenz Grimmer <lenz@mysql.com> |
1356 | + |
1357 | +- Turn off OpenSSL in MySQL-Max for now until it works properly again |
1358 | +- enable RAID for the Max binary instead |
1359 | +- added compatibility link: safe_mysqld -> mysqld_safe to ease the |
1360 | + transition from 3.23 |
1361 | + |
1362 | +* Thu Jul 18 2002 Lenz Grimmer <lenz@mysql.com> |
1363 | + |
1364 | +- Reworked the build steps a little bit: the Max binary is supposed |
1365 | + to include OpenSSL, which cannot be linked statically, thus trying |
1366 | + to statically link against a special glibc is futile anyway |
1367 | +- because of this, it is not required to make yet another build run |
1368 | + just to compile the shared libs (saves a lot of time) |
1369 | +- updated package description of the Max subpackage |
1370 | +- clean up the BuildRoot directory afterwards |
1371 | + |
1372 | +* Mon Jul 15 2002 Lenz Grimmer <lenz@mysql.com> |
1373 | + |
1374 | +- Updated Packager information |
1375 | +- Fixed the build options: the regular package is supposed to |
1376 | + include InnoDB and linked statically, while the Max package |
1377 | + should include BDB and SSL support |
1378 | + |
1379 | +* Fri May 03 2002 Lenz Grimmer <lenz@mysql.com> |
1380 | + |
1381 | +- Use more RPM macros (e.g. infodir, mandir) to make the spec |
1382 | + file more portable |
1383 | +- reorganized the installation of documentation files: let RPM |
1384 | + take care of this |
1385 | +- reorganized the file list: actually install man pages along |
1386 | + with the binaries of the respective subpackage |
1387 | +- do not include libmysqld.a in the devel subpackage as well, if we |
1388 | + have a special "embedded" subpackage |
1389 | +- reworked the package descriptions |
1390 | + |
1391 | +* Mon Oct 8 2001 Monty |
1392 | + |
1393 | +- Added embedded server as a separate RPM |
1394 | + |
1395 | +* Fri Apr 13 2001 Monty |
1396 | + |
1397 | +- Added mysqld-max to the distribution |
1398 | + |
1399 | +* Tue Jan 2 2001 Monty |
1400 | + |
1401 | +- Added mysql-test to the bench package |
1402 | + |
1403 | +* Fri Aug 18 2000 Tim Smith <tim@mysql.com> |
1404 | + |
1405 | +- Added separate libmysql_r directory; now both a threaded |
1406 | + and non-threaded library is shipped. |
1407 | + |
1408 | +* Wed Sep 28 1999 David Axmark <davida@mysql.com> |
1409 | + |
1410 | +- Added the support-files/my-example.cnf to the docs directory. |
1411 | + |
1412 | +- Removed devel dependency on base since it is about client |
1413 | + development. |
1414 | + |
1415 | +* Wed Sep 8 1999 David Axmark <davida@mysql.com> |
1416 | + |
1417 | +- Cleaned up some for 3.23. |
1418 | + |
1419 | +* Thu Jul 1 1999 David Axmark <davida@mysql.com> |
1420 | + |
1421 | +- Added support for shared libraries in a separate sub |
1422 | + package. Original fix by David Fox (dsfox@cogsci.ucsd.edu) |
1423 | + |
1424 | +- The --enable-assembler switch is now automatically disables on |
1425 | + platforms there assembler code is unavailable. This should allow |
1426 | + building this RPM on non i386 systems. |
1427 | + |
1428 | +* Mon Feb 22 1999 David Axmark <david@detron.se> |
1429 | + |
1430 | +- Removed unportable cc switches from the spec file. The defaults can |
1431 | + now be overridden with environment variables. This feature is used |
1432 | + to compile the official RPM with optimal (but compiler version |
1433 | + specific) switches. |
1434 | + |
1435 | +- Removed the repetitive description parts for the sub rpms. Maybe add |
1436 | + again if RPM gets a multiline macro capability. |
1437 | + |
1438 | +- Added support for a pt_BR translation. Translation contributed by |
1439 | + Jorge Godoy <jorge@bestway.com.br>. |
1440 | + |
1441 | +* Wed Nov 4 1998 David Axmark <david@detron.se> |
1442 | + |
1443 | +- A lot of changes in all the rpm and install scripts. This may even |
1444 | + be a working RPM :-) |
1445 | + |
1446 | +* Sun Aug 16 1998 David Axmark <david@detron.se> |
1447 | + |
1448 | +- A developers changelog for MySQL is available in the source RPM. And |
1449 | + there is a history of major user visible changed in the Reference |
1450 | + Manual. Only RPM specific changes will be documented here. |
1451 | |
1452 | === modified file 'innodb_fix_misc.patch' |
1453 | --- innodb_fix_misc.patch 2010-05-26 10:15:29 +0000 |
1454 | +++ innodb_fix_misc.patch 2010-05-27 20:37:26 +0000 |
1455 | @@ -6,7 +6,7 @@ |
1456 | #define INNODB_VERSION_BUGFIX 8 |
1457 | |
1458 | +#ifndef PERCONA_INNODB_VERSION |
1459 | -+#define PERCONA_INNODB_VERSION unknown |
1460 | ++#define PERCONA_INNODB_VERSION 11.0 |
1461 | +#endif |
1462 | + |
1463 | + |