This is simple grep over Fedora .spec files:

~~~

$ grep -R -e 'BuildRequires:.*rubygem(rspec).*<.*3'
rubygem-bundler_ext.spec:BuildRequires: rubygem(rspec) < 3
rubygem-cliver.spec:BuildRequires: rubygem(rspec) < 3.0
rubygem-expression_parser.spec:BuildRequires: rubygem(rspec) < 3
rubygem-fssm.spec:BuildRequires: rubygem(rspec) < 3
rubygem-hashie.spec:BuildRequires: rubygem(rspec) < 3.0
rubygem-msgpack.spec:# BuildRequires: rubygem(rspec) < 3
rubygem-RedCloth.spec:#BuildRequires: rubygem(rspec) < 3
rubygem-settingslogic.spec:BuildRequires:  rubygem(rspec) < 3
rubygem-six.spec:BuildRequires: rubygem(rspec) < 3.0
rubygem-stomp.spec:BuildRequires: rubygem(rspec) < 3
~~~


Vít


Dne 24. 06. 21 v 13:21 Vít Ondruch napsal(a):
Just FTR, there is some outfall unfortunately. So far I have noticed the following:

https://koschei.fedoraproject.org/package/rubygem-expression_parser

https://koschei.fedoraproject.org/package/rubygem-fssm

https://koschei.fedoraproject.org/package/rubygem-hashie

These requires `rubygem(rspec) < 3`. Not sure if repoquery can do queries like this.


Vít


Dne 07. 05. 21 v 7:58 Mamoru TASAKA napsal(a):
Hello, all:

Vít Ondruch wrote on 2021/04/07 22:56:

Dne 07. 04. 21 v 13:47 Mamoru TASAKA napsal(a):
Hello, ruby-sig folks:

Since rspec 3.0.0 is released on 2014/Jun (almost 7 years ago),
Fedora's rubygem-rspec is upgraded to 3.x on Fedora 22 era, and compat package
rubygem-rspec2 is introduced.


Finally! :) I was just migrating some packages to RSpec 3.x not long time ago.



Since I think enough time is already passed for packages to migrate to
rspec 3.x and actually:
----------------------------------------------------------
$ dnf repoquery --arch=src --repo=koji-35-source --whatrequires "rubygem(rspec2)"
rubygem-database_cleaner-0:1.7.0-5.fc34.src
rubygem-nifti-0:0.0.2-14.fc34.src
rubygem-rspec2-core-0:2.14.8-11.fc34.3.src
rubygem-rspec2-expectations-0:2.14.5-10.fc34.7.src
rubygem-rspec2-mocks-0:2.14.6-6.fc34.6.src

$ dnf repoquery --repo=koji-35 --qf '%{name}-%{epoch}:%{version}-%{release}\t%{SOURCERPM}' --whatrequires "rubygem-rspec2" rubygem-json_spec-0:1.1.5-9.fc34 rubygem-json_spec-1.1.5-9.fc34.src.rpm rubygem-rspec2-doc-0:2.14.1-14.fc34 rubygem-rspec2-2.14.1-14.fc34.src.rpm
----------------------------------------------------------

currently, very few packages depend on rubygem(rspec2).

* rubygem-json_spec actually has dependency: "(rubygem(rspec) >= 2.0 with rubygem(rspec) < 4.0)"
  so this is okay
* For rubygem-nifti, I successfully migrated this to use rspec-3.x locally, so (unless someone
  objects), I will push changes to use rspec-3.x
* For rubygem-database_cleaner, current upstream newest is 2.0.1, which is released on 2021/Feb,
  so the latest one is perhaps using rspec-3.x, I guess.

It seems that 1.8+ should be RSpec3 ready.
https://github.com/DatabaseCleaner/database_cleaner/commit/467ab08e3533ae28692d0d7a64ded41aa934f909


so I intend to retire rubygem-rspec2 series, perhaps in two weeks, or if someone objects,
at least I intend to orphan rubygem-rspec2 series on Fedora 35.

LGTM
Vít

Now I've orphaned:
rubygem-rspec2
rubygem-rspec2-core
rubygem-rspec2-expectations
rubygem-rspec2-mocks

Regards,
Mamoru
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to