rpms/ruby-mysql/FC-4 ruby-mysql.spec,1.1,1.2

Oliver Andrich (oa) fedora-extras-commits at redhat.com
Sat Feb 4 22:28:25 UTC 2006


Author: oa

Update of /cvs/extras/rpms/ruby-mysql/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22668

Modified Files:
	ruby-mysql.spec 
Log Message:
fixed x86_64 packaging issues



Index: ruby-mysql.spec
===================================================================
RCS file: /cvs/extras/rpms/ruby-mysql/FC-4/ruby-mysql.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ruby-mysql.spec	3 Feb 2006 22:14:22 -0000	1.1
+++ ruby-mysql.spec	4 Feb 2006 22:28:25 -0000	1.2
@@ -1,6 +1,9 @@
+%{!?ruby_sitearch: %define ruby_sitearch %(/usr/bin/ruby -rrbconfig -e "puts Config::CONFIG['sitearch']")}
+%{!?ruby_sitearchdir: %define ruby_sitearchdir %(/usr/bin/ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
+
 Name:           ruby-mysql
 Version:        2.7
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        A Ruby interface to MySQL
 
 Group:          Development/Languages
@@ -33,9 +36,12 @@
 %files
 %defattr(-,root,root,-)
 %doc README.html README_ja.html tommy.css COPYING COPYING.ja 
-%{_libdir}/site_ruby/1.8/i386-linux/mysql.so
+%{ruby_sitearchdir}/mysql.so
 
 %changelog
+* Fri Feb 04 2006 Oliver Andrich <oliver.andrich at gmail.com> - 2.7-6
+- fixed the build problems in x86_64
+
 * Fri Feb 03 2006 Oliver Andrich <oliver.andrich at gmail.com> - 2.7-5
 - included the license documents COPYING and COPYING.ja
 - fixed the license: Distributable -> GPL




More information about the scm-commits mailing list