Package: ruby-factory-bot / 4.8.2-1~bpo9+1


Package Version Patches format
ruby-factory-bot 4.8.2-1~bpo9+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 remove factory_girl gemspec.patch | (download)

factory_girl.gemspec | 40 0 + 40 - 0 !
1 file changed, 40 deletions(-)

 remove the factory_girl gemspec
 The last (and initial) release of factory_bot contained a gemspec file
 for factory_girl as well, the former upstream name. Unfortunately, this
 makes the build fail out of the box. There are two "native" solutions
 available to solve such a problem: Either symlinking debian/gemspec to
 the gemspec file to use, or exporting DH_RUBY_GEMSPEC set to the
 gemspec to use in debian/rules. Using the former approach was the only
 way which worked to make the build pass while building the package, and
 if running autopkgtest. However, this approach fails while backporting
 to stretch.

 Accordingly, this patch removes the file completely. This should be
 changed in the future, progress is tracked in #893835.
0002 remove simplecov.patch | (download)

spec/spec_helper.rb | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 remove simplecov usage
 Upstream uses simplecov to check the test coverage. This is unneeded if
 building the package for Debian, accordingly, remove it.
0001 no git in gemspec.patch | (download)

factory_bot.gemspec | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't use git in gemspec
 Don't use git in gemspec, otherwise, the gemspec file is not found.
 This makes dependency resolution check fail.