Provides-Statement in Spec

Daniel Spannbauer ds at
Fri Jun 3 10:47:49 UTC 2016


I'm trying to replace a self-build RPM by a RPM with an other name.
The Package "own-configs-suse12.3" should be replaced by "own-configs".
Other packages have the own-configs-suse12.3 as requirement.

So I set in my Specfile:
Provides: own-config-suse12.3
Obsoletes: own-configs-suse12.3 < 1.58

I build the packages and query it:
rpm -qp --queryformat '%{provides}\n' own-configs-1.60-1.rpm
And I get:

Why does it only provide "own-config" instead of "own-configs-suse12.3"?
Can I set more then one "provides"?

Any ideas?



Daniel Spannbauer                         Systemadministration
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4-6, D 87727 Babenhausen     Mobil +49 171 4033220                      Email ds at
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München

More information about the Rpm-list mailing list