Bug 788435 - Proper rebuild for Ruby 1.9.3
Summary: Proper rebuild for Ruby 1.9.3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ruby-mysql
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-08 08:31 UTC by Bohuslav "Slavek" Kabrda
Modified: 2012-02-28 10:31 UTC (History)
2 users (show)

Fixed In Version: ruby-mysql-2.8.2-6.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-28 10:31:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
ruby-mysql.spec (3.69 KB, text/plain)
2012-02-08 16:50 UTC, Orion Poplawski
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.