rpm does not evaluate `%{name}` properly in sources, even when all the sources 
have been moved to a separate `%sourcelist` section, after the preamble that 
sets `%{name}`.

That breaks spectool

```console
$ rpmdev-spectool -R -g ~/fedora/fedpkg/fonts-rpm-macros/fonts-rpm-macros.spec 
Downloading: 
https://pagure.io/fork/nim/fonts-rpm-macros/archive/670c626fdf74d54edc6a9796f66541eb2feed96a/nim-fonts-rpm-macros-670c626fdf74d54edc6a9796f66541eb2feed96a.tar.gz
Download failed:
[Errno 2] No such file or directory: 
'/var/lib/builder/rpmbuild/SOURCES/%{name}/nim-fonts-rpm-macros-670c626fdf74d54edc6a9796f66541eb2feed96a.tar.gz'
```

-- 
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/1234
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to