[community-mysql] Copy some generated files in order find-debuginfo.sh finds them Related: #729040

Honza Horak hhorak at fedoraproject.org
Fri Jul 26 14:28:52 UTC 2013


commit b982a182467f79191b952468e3c66f12665e9d39
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Fri Jul 26 15:27:22 2013 +0200

    Copy some generated files in order find-debuginfo.sh finds them
    Related: #729040

 community-mysql.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/community-mysql.spec b/community-mysql.spec
index ba5a3ec..c7a1471 100644
--- a/community-mysql.spec
+++ b/community-mysql.spec
@@ -1,6 +1,6 @@
 Name: community-mysql
 Version: 5.5.32
-Release: 9%{?dist}
+Release: 10%{?dist}
 
 Summary: MySQL client programs and shared libraries
 Group: Applications/Databases
@@ -343,6 +343,13 @@ gcc -I../../include $CFLAGS mysql-embedded-check.c libmysqld.so.0
 LD_LIBRARY_PATH=. ldd ./a.out
 cd ../..
 
+# debuginfo extraction scripts fail to find source files in their real
+# location -- satisfy them by copying these files into location, which
+# is expected by scripts
+for f in pars0grm.c pars0grm.y pars0lex.l lexyy.c ; do
+  cp -p "storage/innobase/pars/$f" "storage/innobase/$f"
+done
+
 %check
 %if %runselftest
   # hack to let 32- and 64-bit tests run concurrently on same build machine
@@ -720,6 +727,10 @@ rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/solaris/postinstall-solaris
 %{_mandir}/man1/mysql_client_test.1*
 
 %changelog
+* Fri Jul 26 2013 Honza Horak <hhorak at redhat.com> 5.5.32-10
+- Copy some generated files in order find-debuginfo.sh finds them
+  Related: #729040
+
 * Wed Jul 17 2013 Petr Pisar <ppisar at redhat.com> - 5.5.32-9
 - Perl 5.18 rebuild
 


More information about the scm-commits mailing list