]> git.pld-linux.org Git - packages/percona-server.git/commitdiff
- -avoid-version to modules
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 4 Sep 2009 11:15:25 +0000 (11:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql.spec -> 1.461
    plugin-avoid-version.patch -> 1.1

mysql.spec
plugin-avoid-version.patch [new file with mode: 0644]

index 95d8cba41dfb331d565b5f3e30c75df628206b1a..e2ab81289c5d3f69dc0d0c36a0f97eb1ec9141f3 100644 (file)
@@ -33,7 +33,7 @@ Summary(uk.UTF-8):    MySQL - швидкий SQL-сервер
 Summary(zh_CN.UTF-8):  MySQL数据库服务器
 Name:          mysql
 Version:       5.1.38
-Release:       1
+Release:       2
 License:       GPL + MySQL FLOSS Exception
 Group:         Applications/Databases
 #Source0Download: http://dev.mysql.com/downloads/mysql/5.1.html#source
@@ -68,12 +68,13 @@ Patch11:    %{name}-upgrade.patch
 Patch12:       %{name}-config.patch
 Patch13:       %{name}-errorlog-no-rename.patch
 Patch14:       %{name}-bug-43594.patch
+Patch15:       plugin-avoid-version.patch
 # <percona patches, http://www.percona.com/percona-lab.html>
-Patch15:       %{name}-userstats.patch
-Patch16:       %{name}-microslow.patch
-Patch17:       %{name}-acc-pslist.patch
-Patch18:       %{name}-split_buf_pool_mutex_fixed_optimistic_safe.patch
-Patch19:       %{name}-innodb_rw_lock.patch
+Patch100:      %{name}-userstats.patch
+Patch101:      %{name}-microslow.patch
+Patch102:      %{name}-acc-pslist.patch
+Patch103:      %{name}-split_buf_pool_mutex_fixed_optimistic_safe.patch
+Patch104:      %{name}-innodb_rw_lock.patch
 # </percona>
 URL:           http://www.mysql.com/products/database/mysql/community_edition.html
 BuildRequires: autoconf
@@ -500,10 +501,13 @@ mv sphinx-*/mysqlse storage/sphinx
 %patch13 -p1
 %patch14 -p0
 %patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
+# <percona %patches>
+%patch100 -p1
+%patch101 -p1
+%patch102 -p1
+%patch103 -p1
+%patch104 -p1
+# </percona>
 
 %build
 %{__libtoolize}
@@ -688,6 +692,7 @@ rm $RPM_BUILD_ROOT%{_datadir}/%{name}/*.{ini,cnf}
 
 # not needed
 rm -f $RPM_BUILD_ROOT%{_libdir}/mysql/plugin/ha_*.{a,la}
+rm -f $RPM_BUILD_ROOT%{_libdir}/mysql/plugin/ha_example.*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -853,11 +858,6 @@ done
 %attr(755,root,root) %{_sbindir}/mysqld
 %dir %{_libdir}/mysql
 %dir %{_libdir}/mysql/plugin
-%attr(755,root,root) %{_libdir}/mysql/plugin/ha_example.so.*.*.*
-%attr(755,root,root) %{_libdir}/mysql/plugin/ha_example.so.0
-%attr(755,root,root) %{_libdir}/mysql/plugin/ha_example.so
-%attr(755,root,root) %{_libdir}/mysql/plugin/ha_innodb_plugin.so.*.*.*
-%attr(755,root,root) %{_libdir}/mysql/plugin/ha_innodb_plugin.so.0
 %attr(755,root,root) %{_libdir}/mysql/plugin/ha_innodb_plugin.so
 %{_mandir}/man1/innochecksum.1*
 %{_mandir}/man1/my_print_defaults.1*
diff --git a/plugin-avoid-version.patch b/plugin-avoid-version.patch
new file mode 100644 (file)
index 0000000..46bd7da
--- /dev/null
@@ -0,0 +1,88 @@
+--- mysql-5.1.38/plugin/daemon_example/Makefile.am~    2009-08-21 15:11:25.000000000 +0300
++++ mysql-5.1.38/plugin/daemon_example/Makefile.am     2009-09-04 14:01:26.664529401 +0300
+@@ -26,7 +26,7 @@
+ EXTRA_LTLIBRARIES =   libdaemon_example.la
+ pkgplugin_LTLIBRARIES =       @plugin_daemon_example_shared_target@
+-libdaemon_example_la_LDFLAGS =        -module -rpath $(pkgplugindir)
++libdaemon_example_la_LDFLAGS =        -module -avoid-version -rpath $(pkgplugindir)
+ libdaemon_example_la_CXXFLAGS=        $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ libdaemon_example_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ libdaemon_example_la_SOURCES =        daemon_example.cc
+--- mysql-5.1.38/plugin/fulltext/Makefile.am~  2009-08-21 15:11:25.000000000 +0300
++++ mysql-5.1.38/plugin/fulltext/Makefile.am   2009-09-04 14:01:51.531167265 +0300
+@@ -20,7 +20,7 @@
+ #noinst_LTLIBRARIES= mypluglib.la
+ pkgplugin_LTLIBRARIES= mypluglib.la
+ mypluglib_la_SOURCES= plugin_example.c
+-mypluglib_la_LDFLAGS= -module -rpath $(pkgplugindir)
++mypluglib_la_LDFLAGS= -module -avoid-version -rpath $(pkgplugindir)
+ mypluglib_la_CFLAGS= -DMYSQL_DYNAMIC_PLUGIN
+ # Don't update the files from bitkeeper
+--- mysql-5.1.38/storage/innodb_plugin/Makefile.am~    2009-08-21 15:12:38.000000000 +0300
++++ mysql-5.1.38/storage/innodb_plugin/Makefile.am     2009-09-04 14:02:57.621203151 +0300
+@@ -330,7 +330,7 @@
+ EXTRA_LTLIBRARIES=    ha_innodb_plugin.la
+ pkgplugin_LTLIBRARIES=        @plugin_innodb_plugin_shared_target@
+-ha_innodb_plugin_la_LDFLAGS=  -module -rpath $(pkgplugindir)
++ha_innodb_plugin_la_LDFLAGS=  -module -avoid-version -rpath $(pkgplugindir)
+ ha_innodb_plugin_la_CXXFLAGS= $(AM_CFLAGS) $(INNODB_DYNAMIC_CFLAGS)
+ ha_innodb_plugin_la_CFLAGS=   $(AM_CFLAGS) $(INNODB_DYNAMIC_CFLAGS)
+ ha_innodb_plugin_la_SOURCES=  $(libinnobase_a_SOURCES)
+--- mysql-5.1.38/storage/example/Makefile.am~  2009-08-21 15:12:32.000000000 +0300
++++ mysql-5.1.38/storage/example/Makefile.am   2009-09-04 14:04:54.641149541 +0300
+@@ -34,7 +34,7 @@
+ EXTRA_LTLIBRARIES =   ha_example.la
+ pkgplugin_LTLIBRARIES =       @plugin_example_shared_target@
+-ha_example_la_LDFLAGS =       -module -rpath $(pkgplugindir)
++ha_example_la_LDFLAGS =       -module -avoid-version -rpath $(pkgplugindir)
+ ha_example_la_CXXFLAGS=       $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_example_la_CFLAGS =        $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_example_la_SOURCES =       ha_example.cc
+--- mysql-5.1.38/storage/archive/Makefile.am~  2009-08-21 15:12:32.000000000 +0300
++++ mysql-5.1.38/storage/archive/Makefile.am   2009-09-04 14:05:53.391143885 +0300
+@@ -35,7 +35,7 @@
+ EXTRA_LTLIBRARIES =   ha_archive.la
+ pkgplugin_LTLIBRARIES =       @plugin_archive_shared_target@
+-ha_archive_la_LDFLAGS =       -module -rpath $(pkgplugindir)
++ha_archive_la_LDFLAGS =       -module -avoid-version -rpath $(pkgplugindir)
+ ha_archive_la_CXXFLAGS=       $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_archive_la_CFLAGS =        $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_archive_la_SOURCES =       ha_archive.cc azio.c
+--- mysql-5.1.38/storage/blackhole/Makefile.am~        2009-08-21 15:12:32.000000000 +0300
++++ mysql-5.1.38/storage/blackhole/Makefile.am 2009-09-04 14:06:08.374683695 +0300
+@@ -34,7 +34,7 @@
+ EXTRA_LTLIBRARIES =   ha_blackhole.la
+ pkgplugin_LTLIBRARIES =       @plugin_blackhole_shared_target@
+-ha_blackhole_la_LDFLAGS=-module -rpath $(pkgplugindir)
++ha_blackhole_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir)
+ ha_blackhole_la_CXXFLAGS=$(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_blackhole_la_CFLAGS=       $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_blackhole_la_SOURCES=ha_blackhole.cc
+--- mysql-5.1.38/storage/federated/Makefile.am~        2009-08-21 15:12:33.000000000 +0300
++++ mysql-5.1.38/storage/federated/Makefile.am 2009-09-04 14:06:24.741287557 +0300
+@@ -34,7 +34,7 @@
+ EXTRA_LTLIBRARIES =   ha_federated.la
+ pkgplugin_LTLIBRARIES =       @plugin_federated_shared_target@
+-ha_federated_la_LDFLAGS =     -module -rpath $(pkgplugindir)
++ha_federated_la_LDFLAGS =     -module -avoid-version -rpath $(pkgplugindir)
+ ha_federated_la_CXXFLAGS=     $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_federated_la_CFLAGS =      $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_federated_la_SOURCES =     ha_federated.cc
+--- mysql-5.1.38/storage/ibmdb2i/Makefile.am~  2009-08-21 15:12:33.000000000 +0300
++++ mysql-5.1.38/storage/ibmdb2i/Makefile.am   2009-09-04 14:07:07.067803277 +0300
+@@ -33,7 +33,7 @@
+ EXTRA_LTLIBRARIES =   ha_ibmdb2i.la
+ pkgplugin_LTLIBRARIES =       @plugin_ibmdb2i_shared_target@
+ ha_ibmdb2i_la_LIBADD =  -liconv
+-ha_ibmdb2i_la_LDFLAGS =       -module -rpath $(MYSQLLIBdir)
++ha_ibmdb2i_la_LDFLAGS =       -module -avoid-version -rpath $(MYSQLLIBdir)
+ ha_ibmdb2i_la_CXXFLAGS=       $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_ibmdb2i_la_CFLAGS =        $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
+ ha_ibmdb2i_la_SOURCES =       ha_ibmdb2i.cc db2i_ileBridge.cc db2i_conversion.cc \
This page took 0.036863 seconds and 4 git commands to generate.