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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7f2881c9
Commit
7f2881c9
authored
May 07, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
specfile fixes
parent
242dcb3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
14 deletions
+19
-14
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+19
-14
No files found.
support-files/mysql.spec.sh
View file @
7f2881c9
...
@@ -315,7 +315,7 @@ for servertype in '--with-debug=full' ' '
...
@@ -315,7 +315,7 @@ for servertype in '--with-debug=full' ' '
do
do
BuildMySQL
"
\
BuildMySQL
"
\
%if %{STATIC_BUILD}
%if %{STATIC_BUILD}
--
dis
able-shared
\
--
en
able-shared
\
--with-mysqld-ldflags='-all-static'
\
--with-mysqld-ldflags='-all-static'
\
--with-client-ldflags='-all-static'
\
--with-client-ldflags='-all-static'
\
$USE_OTHER_LIBC_DIR
\
$USE_OTHER_LIBC_DIR
\
...
@@ -347,6 +347,22 @@ done
...
@@ -347,6 +347,22 @@ done
./libtool
--mode
=
execute nm
--numeric-sort
sql/mysqld
>
sql/mysqld.sym
./libtool
--mode
=
execute nm
--numeric-sort
sql/mysqld
>
sql/mysqld.sym
# Include libgcc.a in the devel subpackage (BUG 4921)
if
expr
"
$CC
"
:
".*gcc.*"
>
/dev/null
;
then
libgcc
=
`
$CC
$CFLAGS
--print-libgcc-file
`
if
[
-f
$libgcc
]
then
%define have_libgcc 1
install
-m
644
$libgcc
$RBR
%
{
_libdir
}
/mysql/libmygcc.a
fi
fi
# Save the libraries
(
cd
libmysql/.libs
;
tar
cf
$RBR
/shared-libs.tar
*
.so
*
)
(
cd
libmysql_r/.libs
;
tar
rf
$RBR
/shared-libs.tar
*
.so
*
)
(
cd
ndb/src/.libs
;
tar
rf
$RBR
/shared-libs.tar
*
.so
*
)
# We might want to save the config log file
# We might want to save the config log file
if
test
-n
"
$MYSQL_CONFLOG_DEST
"
if
test
-n
"
$MYSQL_CONFLOG_DEST
"
then
then
...
@@ -379,18 +395,7 @@ make install-strip DESTDIR=$RBR benchdir_root=%{_datadir}
...
@@ -379,18 +395,7 @@ make install-strip DESTDIR=$RBR benchdir_root=%{_datadir}
install
-s
-m
755
$MBD
/sql/mysqld-debug
$RBR
%
{
_sbindir
}
/mysqld-debug
install
-s
-m
755
$MBD
/sql/mysqld-debug
$RBR
%
{
_sbindir
}
/mysqld-debug
# Install shared libraries (Disable for architectures that don't support it)
# Install shared libraries (Disable for architectures that don't support it)
# (cd $RBR%{_libdir}; tar xf $RBR/shared-libs.tar; rm -f $RBR/shared-libs.tar)
(
cd
$RBR
%
{
_libdir
}
;
tar
xf
$RBR
/shared-libs.tar
;
rm
-f
$RBR
/shared-libs.tar
)
# Include libgcc.a in the devel subpackage (BUG 4921)
if
expr
"
$CC
"
:
".*gcc.*"
>
/dev/null
;
then
libgcc
=
`
$CC
$CFLAGS
--print-libgcc-file
`
if
[
-f
$libgcc
]
then
%define have_libgcc 1
install
-m
644
$libgcc
$RBR
%
{
_libdir
}
/mysql/libmygcc.a
fi
fi
# install symbol files ( for stack trace resolution)
# install symbol files ( for stack trace resolution)
# install -m 644 $MBD/sql/mysqld-max.sym $RBR%{_libdir}/mysql/mysqld-max.sym
# install -m 644 $MBD/sql/mysqld-max.sym $RBR%{_libdir}/mysql/mysqld-max.sym
...
@@ -540,7 +545,7 @@ fi
...
@@ -540,7 +545,7 @@ fi
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_multi.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_multi.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_safe.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_safe.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_fix_privilege_tables.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_fix_privilege_tables.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_install_db.1
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_install_db.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_upgrade.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_upgrade.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlhotcopy.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlhotcopy.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlman.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlman.1
*
...
...
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