Hi all,

Seeing commit as this:


```

@@ -44,9 +44,13 @@ gem unpack %{SOURCE0}
 gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
 
 # Remove developer-only files.
+FREEZE=""
+%if 0%{?fedora} >= 26
+FREEZE=".freeze"
+%endif
 for f in .gitignore Gemfile Rakefile; do
   rm $f
-  sed -i "s|\"$f\",||g" %{gem_name}.gemspec
+  sed -i "s|\"$f\"${FREEZE},||g" %{gem_name}.gemspec
 done
 
 # Skip tests that fail.

```

(BTW is that sed in the loop?!?)

I just want to remind you, that we have the %gemspec_remove_dep and
%gemspec_add_dep macros available in all Fedoras. You can see their
usage here:


http://pkgs.fedoraproject.org/cgit/rpms/rubygem-scruffy.git/commit/?id=be086316f1d752da8135c01b86a03efa8372b25b


Still thinking where to document such stuff. I am very much in favor of
splitting such documentation in a similar manned as Java guys did, but I
am still indecisive ...


Vít



Dne 10.1.2017 v 09:31 Vít Ondruch napsal(a):
> Hi all,
>
> So finally time for some fun. Since the Ruby 2.4 change proposal [1] was
> accepted, I asked release engineering for sidetag [3] to start with
> rebuild. This sidetag was granted and I was able to build there Ruby
> itself as well as several of my packages. Now is time for your help as well.
>
> What does it means? This is the list of packages which very likely needs
> to be rebuild:
>
>
> ```
> $ dnf repoquery --disablerepo=* --enablerepo=rawhide
> --enablerepo=rawhide-source --arch=src --whatrequires 'ruby-devel' |
> sort | uniq
>
> ```
>
>
> You can take the package and just fire rebuild, but please, you should
> be using f26-ruby24 build target [3], i.e. the build command should look
> like:
>
>
> ```
> $ fedpkg build --target f26-ruby24
>
> ```
>
>
> If you forget to specify the target, you'll do build against Ruby 2.3,
> which is not what you want.
>
> If you don't make it soon enough, I'll very likely rebuild your package
> sooner or later. I'll be using fermig [4] to do that as I did during
> previous rebuilds. If you don't like me to touch you package for
> whatever reason, please let me know (Mamoru, I suppose you are going to
> rebuild your packages yourself, right?).
>
> You can follow the progress at:
>
> https://koji.fedoraproject.org/koji/builds?inherited=0&tagID=401&order=-build_id&latest=1
>
> or using:
>
>
> ```
> $ koji list-tagged f26-ruby24
> ```
>
> As always, any help/testing/feedback is welcome.
>
> Vít
>
>
> [1] https://fedoraproject.org/wiki/Changes/Ruby_2.4
> [2] https://pagure.io/fesco/issue/1659
> [3] https://pagure.io/releng/issue/6579
> [4] https://github.com/fedora-ruby/fermig
> _______________________________________________
> ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
> To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org

Reply via email to