[Rpm-ecosystem] Source RPM provides?

Panu Matilainen pmatilai at redhat.com
Wed Mar 13 07:46:15 UTC 2019


On 3/12/19 4:16 PM, Pat Riehecky wrote:
> I've been doing a fair bit of mapping back and forth from binary rpms to 
> source rpms.  And I had a question:
> 
> Would it make sense for a source rpm to have a generated 'Provides:' for 
> any %package defined within the spec?
> 
> For example (actual syntax to be determined by folks smarter than myself):
> 
> $ rpm -qp --provides man-db-2.8.4-4.fc30.src.rpm
> rpmbuild(man-db)
> rpmbuild(man-db-cron)
> $
> 
> I'd expect it to 'provide' all the %packages (even ones masked for your 
> specific arch so that we don't deal with executing macros at query and 
> whatnot).
> 
> Thoughts?

Seems like a perfectly reasonable request to me. Took the liberty of 
creating an RFE ticket out of it:

https://github.com/rpm-software-management/rpm/issues/642

	- Panu -


More information about the Rpm-ecosystem mailing list