Yet another update of Ruby 2.7 is available in dist-git and the
scratch
build is running in Koji:
https://koji.fedoraproject.org/koji/taskinfo?taskID=39474761
I don't thing there was anything major from packagin POV. Anyway, please
let me know if you encounter any issues.
Hi Vit, thanks for preparing Ruby 2.7.
Now I tried a scratch build on rpms/ruby, the latest private-ruby-2.7 branch
commit: fe89ec49cc6e09f8f308b1e8dfaf38c492c06836
Upgrade to Ruby 2.7.0 (af11efd377).
but the scratch build failed because of failed patching processes.
```
$ git checkout private-ruby-2.7
$ fedpkg srpm
$ fedpkg --release master scratch-build --srpm --nowait
```
The scratch build result:
https://koji.fedoraproject.org/koji/taskinfo?taskID=39522612
```
Patch #0 (ruby-2.3.0-ruby_version.patch):
+ echo 'Patch #0 (ruby-2.3.0-ruby_version.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file configure.ac
Hunk #1 succeeded at 3691 (offset 1 line).
Hunk #2 succeeded at 3713 (offset 1 line).
Hunk #3 succeeded at 3785 (offset 1 line).
...
Patch #6 (ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch):
+ echo 'Patch #6
(ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file common.mk
Hunk #1 FAILED at 163.
1 out of 1 hunk FAILED -- saving rejects to file common.mk.rej
patching file configure.ac
Hunk #1 succeeded at 3885 (offset 1 line).
patching file template/Makefile.in
error: Bad exit status from /var/tmp/rpm-tmp.nTmxK5 (%prep)
```
I created Source0: `ruby-2.7.0-af11efd377.tar.xz` file like this.
```
$ cd ~/git/ruby/ruby
$ git checkout af11efd377
$ git clean -fdx
$ git status
HEAD detached at af11efd377
nothing to commit, working tree clean
$ tool/make-snapshot -packages=xz -srcdir="$(pwd)" ~/tmp/ruby-snapshot
$ ls -l ~/tmp/ruby-snapshot/ruby-2.7.0-af11efd377.tar.xz
-rw-r--r-- 1 jaruga jaruga 11941052 Dec 13 15:35
/home/jaruga/tmp/ruby-snapshot/ruby-2.7.0-af11efd377.tar.xz
$ sha256sum ~/tmp/ruby-snapshot/ruby-2.7.0-af11efd377.tar.xz
bc5b0435e19c8b3f0f2d0300a7ed9b128ee553525b70e2bbe42ae16b42ed3b61
/home/jaruga/tmp/ruby-snapshot/ruby-2.7.0-af11efd377.tar.xz
```
Did you upload your updated *.patch files to the remote repository?
--
Jun | He - His - Him