Originally requested at 
http://lists.rpm.org/pipermail/rpm-ecosystem/2019-March/000717.html by Pat 
Riehecky, copied here verbatim:

```
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). 
```

The actual syntax would likely be different but the request is perfectly 
reasonable: we store the dependencies and all sorts of other information of 
that particular build into the src.rpm as it is, why not include the generated 
packages too (which can also vary a lot between builds).

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

Reply via email to