Migration from RSpec 1.3 to RSpec 2.x

Vít Ondruch vondruch at redhat.com
Mon Jul 18 07:32:19 UTC 2011


Dne 18.7.2011 03:05, Michael Stahnke napsal(a):
> On Sun, Jul 17, 2011 at 4:42 PM, TASAKA Mamoru
> <mtasaka at fedoraproject.org>  wrote:
>> Mo Morsi wrote, at 07/15/2011 11:15 AM +9:00:
>>> On 07/13/2011 02:53 AM, Vít Ondruch wrote:
>>>> Hi guys,
>>>>
>>>> Since February, there are available RSpec 2.x in Fedora repositories.
>>>> However, as of now, the main package rubygem-rspec was not migrated to
>>>> RSpec 2.x and still provides RSpec 1.3 functionality. It would be nice,
>>>> if we could finish the migration to RSpec 2.x lets say in F17 time
>>>> frame. What are your opinions? The list of packages which depends on
>>>> RSpec 1.3 is attached bellow.
>>>>
>>> IMO F17 seems like a reasonable timeline for this. At that point we
>>> might also want to provide a rubygem-rspec1-compat package for any gems
>>> whose upstream communities haven't switched over.
>>>
>> Can't we do this (i.e. rspec 2 by default, rspec 1 move to compat mode)
>> before F-16/17 branch (i.e. 2011-07-26)?
>>
>> I prepared rubygem-rspec-2.6.0 and rubygem-"rspec1"-1.3.2:
>> http://mtasaka.fedorapeople.org/Trial-rpms/rubygem-rspec-2.6.0-1.fc.src.rpm
>> http://mtasaka.fedorapeople.org/Trial-rpms/rubygem-rspec1-1.3.2-2.fc.src.rpm
>> http://mtasaka.fedorapeople.org/Trial-rpms/rubygem-rspec.spec
>> http://mtasaka.fedorapeople.org/Trial-rpms/rubygem-rspec1.spec
>>
>> With these rpms,
>> - people who wants to use rspec 1 has to specify it as
>>    (Build)Requires: rubygem(rspec1), rubygem(rspec), and to use
>>    "gem 'rspec1'", not "gem 'rspec'". /usr/bin/spec remains as before.
>> - people who want to use rspec 2 will specify it as
>>    (Build)Requires: rubygem(rspec), and "gem 'rspec'". Note that
>>    /usr/bin/rspec is (already) in rubygem-rspec-core-2.6.4.
>>
>> If we can agree with these changes, I will submit these specs/srpms for
>> review requests.
>>
> I assume that would cause rspec to be dead.packaged.  I am ok with that too.

I don't think so. rubygem-rspec will provide rspec 2.x metapackage. See 
attached Mamoru's spec.

> stahnma
>
>> Regards,
>> Mamoru
>>
>>
>> _______________________________________________
>> ruby-sig mailing list
>> ruby-sig at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
> _______________________________________________
> ruby-sig mailing list
> ruby-sig at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig



More information about the ruby-sig mailing list