Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
336d1923
Commit
336d1923
authored
Aug 15, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1
parents
5bb1abfb
3027249e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
37 deletions
+7
-37
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+7
-37
No files found.
support-files/mysql.spec.sh
View file @
336d1923
...
@@ -218,12 +218,10 @@ client/server version.
...
@@ -218,12 +218,10 @@ client/server version.
%
{
see_base
}
%
{
see_base
}
%prep
%prep
# We unpack the source t
hree times, for 'debug', 'max
' and 'release' build.
# We unpack the source t
wo times, for 'debug
' and 'release' build.
%setup
-T
-a
0
-c
-n
mysql-%
{
mysql_version
}
%setup
-T
-a
0
-c
-n
mysql-%
{
mysql_version
}
mv
mysql-%
{
mysql_version
}
mysql-debug-%
{
mysql_version
}
mv
mysql-%
{
mysql_version
}
mysql-debug-%
{
mysql_version
}
%setup
-D
-T
-a
0
-n
mysql-%
{
mysql_version
}
%setup
-D
-T
-a
0
-n
mysql-%
{
mysql_version
}
mv
mysql-%
{
mysql_version
}
mysql-max-%
{
mysql_version
}
%setup
-D
-T
-a
0
-n
mysql-%
{
mysql_version
}
mv
mysql-%
{
mysql_version
}
mysql-release-%
{
mysql_version
}
mv
mysql-%
{
mysql_version
}
mysql-release-%
{
mysql_version
}
%build
%build
...
@@ -332,35 +330,6 @@ fi
...
@@ -332,35 +330,6 @@ fi
(
cd
mysql-debug-%
{
mysql_version
}
;
\
(
cd
mysql-debug-%
{
mysql_version
}
;
\
./mysql-test-run.pl
--comment
=
debug
--skip-rpl
--skip-ndbcluster
--force
;
\
./mysql-test-run.pl
--comment
=
debug
--skip-rpl
--skip-ndbcluster
--force
;
\
true
)
true
)
##############################################################################
#
# Build the max binary
#
##############################################################################
(
cd
mysql-max-%
{
mysql_version
}
&&
CFLAGS
=
"
${
MYSQL_BUILD_CFLAGS
:-
$RPM_OPT_FLAGS
}
-g"
\
CXXFLAGS
=
"
${
MYSQL_BUILD_CXXFLAGS
:-
$RPM_OPT_FLAGS
-felide-constructors -fno-exceptions -fno-rtti
}
-g"
\
BuildMySQL
"--enable-shared
\
--with-berkeley-db
\
--with-ndbcluster
\
--with-archive-storage-engine
\
--with-csv-storage-engine
\
--with-example-storage-engine
\
--with-blackhole-storage-engine
\
--with-federated-storage-engine
\
--with-big-tables
\
--with-comment=
\"
MySQL Community Server - Max (GPL)
\"
"
)
# We might want to save the config log file
if
test
-n
"
$MYSQL_MAXCONFLOG_DEST
"
then
cp
-fp
mysql-max-%
{
mysql_version
}
/config.log
"
$MYSQL_MAXCONFLOG_DEST
"
fi
(
cd
mysql-max-%
{
mysql_version
}
;
\
./mysql-test-run.pl
--comment
=
max
--skip-ndbcluster
--do-test
=
bdb
--force
;
\
true
)
##############################################################################
##############################################################################
#
#
...
@@ -417,13 +386,10 @@ install -d $RBR%{_sbindir}
...
@@ -417,13 +386,10 @@ install -d $RBR%{_sbindir}
# the same here.
# the same here.
mv
$RBR
/%
{
_libdir
}
/mysql/
*
.so
*
$RBR
/%
{
_libdir
}
/
mv
$RBR
/%
{
_libdir
}
/mysql/
*
.so
*
$RBR
/%
{
_libdir
}
/
# install "mysqld-debug"
and "mysqld-max"
# install "mysqld-debug"
$MBD
/libtool
--mode
=
execute
install
-m
755
\
$MBD
/libtool
--mode
=
execute
install
-m
755
\
$RPM_BUILD_DIR
/mysql-%
{
mysql_version
}
/mysql-debug-%
{
mysql_version
}
/sql/mysqld
\
$RPM_BUILD_DIR
/mysql-%
{
mysql_version
}
/mysql-debug-%
{
mysql_version
}
/sql/mysqld
\
$RBR
%
{
_sbindir
}
/mysqld-debug
$RBR
%
{
_sbindir
}
/mysqld-debug
$MBD
/libtool
--mode
=
execute
install
-m
755
\
$RPM_BUILD_DIR
/mysql-%
{
mysql_version
}
/mysql-max-%
{
mysql_version
}
/sql/mysqld
\
$RBR
%
{
_sbindir
}
/mysqld-max
# install saved perror binary with NDB support (BUG#13740)
# install saved perror binary with NDB support (BUG#13740)
install
-m
755
$MBD
/extra/perror
$RBR
%
{
_bindir
}
/perror
install
-m
755
$MBD
/extra/perror
$RBR
%
{
_bindir
}
/perror
...
@@ -601,7 +567,6 @@ fi
...
@@ -601,7 +567,6 @@ fi
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld-debug
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld-debug
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld-max
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqlmanager
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqlmanager
%attr
(
755, root, root
)
%
{
_sbindir
}
/rcmysql
%attr
(
755, root, root
)
%
{
_sbindir
}
/rcmysql
...
@@ -707,6 +672,11 @@ fi
...
@@ -707,6 +672,11 @@ fi
# itself - note that they must be ordered by date (important when
# itself - note that they must be ordered by date (important when
# merging BK trees)
# merging BK trees)
%changelog
%changelog
*
Tue Aug 15 2006 Joerg Bruehe <joerg@mysql.com>
- The
"max"
server is removed from packages, effective from 5.1.12-beta.
Delete all steps to build, package, or
install
it.
*
Mon Jul 10 2006 Joerg Bruehe <joerg@mysql.com>
*
Mon Jul 10 2006 Joerg Bruehe <joerg@mysql.com>
- Fix a typing error
in
the
"make"
target
for
the Perl script to run the tests.
- Fix a typing error
in
the
"make"
target
for
the Perl script to run the tests.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment