[Rpm-maint] [rpm-software-management/rpm] "load" does not work (#1669)

Jun Aruga notifications at github.com
Fri Apr 30 15:52:14 UTC 2021


This issue might be same with #1663 .

* OS: Fedora 35 (rawhide) Linux
* RPM version: 4.16.90-0.git15395.2

I see the following error started to happen when building ruby on Koji. It seems that the error is related to `load`.

```
DEBUG util.py:444:  error: line 116: Unknown tag: /chroot_tmpdir/srpm_unpacked/SOURCES/macros.ruby
```

https://src.fedoraproject.org/rpms/ruby/blob/rawhide/f/ruby.spec#_116

ruby.spec

```
...
Source4: macros.ruby
...
%{?load:%{SOURCE4}} # <= The error happens on this line 116.
...
```

Here is the dependencies of the ruby.spec. The error did not happen with RPM 4.16.1.3-1.fc35.
https://koschei.fedoraproject.org/build/10236312

Could you tell me how to fix? Is there a temporary workaround to build?
Thanks!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1669
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210430/b346910d/attachment-0001.html>


More information about the Rpm-maint mailing list