I noticed that "rpmspec -q --srpm foo.spec" winds up getting evaluated
as the arch that you're running it on, which I expected, but also that
the arch winds up in the output, which I did not.  I asked a pile of
other people and they were all surprised by this as well.

This patch changes "rpmspec -q --srpm foo.spec" to show 
"src", like the
package generated by "rpmbuild -bs" would be named, instead of the 
local
machine's arch.

Signed-off-by: Peter Jones <pjo...@redhat.com>
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1116

-- Commit Summary --

  * Make "rpmspec -q --srpm foo.spec" say .src, not .%{arch}

-- File Changes --

    M lib/query.c (13)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1116.patch
https://github.com/rpm-software-management/rpm/pull/1116.diff

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

Reply via email to