Description of problem: Dependency on rspec was changed to match our current fedora setup of 2.x subpackages, but 1.3.x rspec. However, the gemfile itself was not changed to match, so when you try to load a test suite with rspec-rails, you get an error that you do not have rspec ~>2.6 Version-Release number of selected component (if applicable): rubygem-rspec-rails-2.6.1 How reproducible: Running rake spec from an app depending on rspec-rails also you can see the dependency issue with: gem dependency rspec-rails Steps to Reproduce: 1. on f16, you can yum install aeolus-all and aeolus-conductor-devel 2. cd to /usr/share/aeolus-conductor 3. as root, attempt to run 'rake spec' Actual results: Could not find rspec (~> 2.6.0) Expected results: tests run Additional info: This is a blocker for the aeolus project in f16, as we will not be able to have people run our test suite on test day next week if this is not fixed. Help much appreciated.
Forgot to note, I edited my local gemspec as below, and things noow work as expected: if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then s.add_runtime_dependency(%q<activesupport>, ["~> 3.0"]) s.add_runtime_dependency(%q<actionpack>, ["~> 3.0"]) s.add_runtime_dependency(%q<railties>, ["~> 3.0"]) s.add_runtime_dependency(%q<rspec-core>, ["~> 2.6.0"]) s.add_runtime_dependency(%q<rspec-mocks>, ["~> 2.6.0"]) s.add_runtime_dependency(%q<rspec-expectations>, ["~> 2.6.0"]) else s.add_dependency(%q<activesupport>, ["~> 3.0"]) s.add_dependency(%q<actionpack>, ["~> 3.0"]) s.add_dependency(%q<railties>, ["~> 3.0"]) s.add_dependency(%q<rspec-core>, ["~> 2.6.0"]) s.add_dependency(%q<rspec-mocks>, ["~> 2.6.0"]) s.add_dependency(%q<rspec-expectations>, ["~> 2.6.0"]) end else s.add_dependency(%q<activesupport>, ["~> 3.0"]) s.add_dependency(%q<actionpack>, ["~> 3.0"]) s.add_dependency(%q<railties>, ["~> 3.0"]) s.add_dependency(%q<rspec-core>, ["~> 2.6.0"]) s.add_dependency(%q<rspec-mocks>, ["~> 2.6.0"]) s.add_dependency(%q<rspec-expectations>, ["~> 2.6.0"]) end
rubygem-rspec-rails-2.6.1-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/rubygem-rspec-rails-2.6.1-3.fc16
Jason, Thank you for your report. I have applied the patch. Please try it and give it some karma. Thank you.
Package rubygem-rspec-rails-2.6.1-3.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rubygem-rspec-rails-2.6.1-3.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-14687 then log in and leave karma (feedback).
rubygem-rspec-rails-2.6.1-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.