Bug 788435

Summary: Proper rebuild for Ruby 1.9.3
Product: [Fedora] Fedora Reporter: Bohuslav "Slavek" Kabrda <bkabrda>
Component: ruby-mysqlAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: orion, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ruby-mysql-2.8.2-6.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-28 10:31:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
ruby-mysql.spec none

Description Bohuslav "Slavek" Kabrda 2012-02-08 08:31:49 UTC
Hi,
your package is still using the old %ruby_sitelib and %ruby_sitearch macros,
which are now replaced by %ruby_vendorlibdir and %ruby_vendorarchdir. These are
located in macros.ruby in ruby-devel package (therefore you don't need to
define them). The old macros now point to /usr/local, which results in an
unwanted placement of files in your package.

Comment 1 Orion Poplawski 2012-02-08 16:50:51 UTC
Created attachment 560315 [details]
ruby-mysql.spec

Okay, found http://fedoraproject.org/wiki/PackagingDrafts/Ruby

WRT:

Requires: ruby(abi) = 1.9.1

There really should be a rpm macro to set the version.

Can you take a quick look at this spec and see if it is okay?  Thanks!

Comment 2 Bohuslav "Slavek" Kabrda 2012-02-15 06:51:59 UTC
Yes, looks ok now. Sorry for the delay :)

One more note: you should probably add a virtual provide:
Provides: ruby(mysql) = %{version}
which is normally used in ruby packaging.

Comment 3 Fedora Update System 2012-02-15 16:10:57 UTC
ruby-mysql-2.8.2-6.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ruby-mysql-2.8.2-6.fc17

Comment 4 Fedora Update System 2012-02-16 01:58:34 UTC
Package ruby-mysql-2.8.2-6.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ruby-mysql-2.8.2-6.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1784/ruby-mysql-2.8.2-6.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-02-28 10:31:29 UTC
ruby-mysql-2.8.2-6.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.