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
2ee7f457
Commit
2ee7f457
authored
Mar 01, 2010
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Plain Diff
Auto-merge from mysql-trunk-merge.
parents
d73ab35e
fe6e3bf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+10
-3
No files found.
support-files/mysql.spec.sh
View file @
2ee7f457
...
@@ -21,7 +21,8 @@
...
@@ -21,7 +21,8 @@
# NOTE: "vendor" is used in upgrade/downgrade check, so you can't
# NOTE: "vendor" is used in upgrade/downgrade check, so you can't
# change these, has to be exactly as is.
# change these, has to be exactly as is.
%define mysql_old_vendor MySQL AB
%define mysql_old_vendor MySQL AB
%define mysql_vendor Sun Microsystems, Inc.
%define mysql_vendor_2 Sun Microsystems, Inc.
%define mysql_vendor Oracle and/or its affiliates
%define mysql_version @VERSION@
%define mysql_version @VERSION@
...
@@ -615,6 +616,7 @@ if [ $? -eq 0 -a -n "$installed" ]; then
...
@@ -615,6 +616,7 @@ if [ $? -eq 0 -a -n "$installed" ]; then
vendor
=
`
rpm
-q
--queryformat
=
'%{VENDOR}'
"
$installed
"
2>&1
`
vendor
=
`
rpm
-q
--queryformat
=
'%{VENDOR}'
"
$installed
"
2>&1
`
version
=
`
rpm
-q
--queryformat
=
'%{VERSION}'
"
$installed
"
2>&1
`
version
=
`
rpm
-q
--queryformat
=
'%{VERSION}'
"
$installed
"
2>&1
`
myoldvendor
=
'%{mysql_old_vendor}'
myoldvendor
=
'%{mysql_old_vendor}'
myvendor_2
=
'%{mysql_vendor_2}'
myvendor
=
'%{mysql_vendor}'
myvendor
=
'%{mysql_vendor}'
myversion
=
'%{mysql_version}'
myversion
=
'%{mysql_version}'
...
@@ -626,10 +628,10 @@ if [ $? -eq 0 -a -n "$installed" ]; then
...
@@ -626,10 +628,10 @@ if [ $? -eq 0 -a -n "$installed" ]; then
[
-z
"
$new_family
"
]
&&
new_family
=
"<bad package specification: version
$myversion
>"
[
-z
"
$new_family
"
]
&&
new_family
=
"<bad package specification: version
$myversion
>"
error_text
=
error_text
=
if
[
"
$vendor
"
!=
"
$myoldvendor
"
-a
"
$vendor
"
!=
"
$myvendor
"
]
;
then
if
[
"
$vendor
"
!=
"
$myoldvendor
"
-a
"
$vendor
"
!=
"
$myvendor
_2
"
-a
"
$vendor
"
!=
"
$myvendor
"
]
;
then
error_text
=
"
$error_text
error_text
=
"
$error_text
The current MySQL server package is provided by a different
The current MySQL server package is provided by a different
vendor (
$vendor
) than
$myoldvendor
or
$myvendor
.
vendor (
$vendor
) than
$myoldvendor
,
$myvendor_2
,
or
$myvendor
.
Some files may be installed to different locations, including log
Some files may be installed to different locations, including log
files and the service startup script in %{_sysconfdir}/init.d/.
files and the service startup script in %{_sysconfdir}/init.d/.
"
"
...
@@ -1040,6 +1042,11 @@ fi
...
@@ -1040,6 +1042,11 @@ fi
# merging BK trees)
# merging BK trees)
##############################################################################
##############################################################################
%changelog
%changelog
*
Mon Mar 01 2010 Joerg Bruehe <joerg.bruehe@sun.com>
- Set
"Oracle and/or its affiliates"
as the vendor and copyright owner,
accept upgrading from packages showing MySQL or Sun as vendor.
*
Fri Feb 12 2010 Joerg Bruehe <joerg.bruehe@sun.com>
*
Fri Feb 12 2010 Joerg Bruehe <joerg.bruehe@sun.com>
- Formatting changes:
- Formatting changes:
...
...
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