Provides-Statement in Spec

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


Hello,

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:
own-configs

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

Any ideas?

Regards

Daniel


-- 
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
http://www.marco.de/                      Email ds at marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München


More information about the Rpm-list mailing list