Provides-Statement in Spec

Daniel Spannbauer ds at marco.de
Fri Jun 3 14:59:02 UTC 2016


Thanks

Regards

Daniel


Am 03.06.2016 um 15:08 schrieb Lubos Kardos:
> "provideflags" contains dependency flags and ":depflags" is formatter to decode
> them to something human readable ("=", ">", "<").
>
> Lubos
>
> ----- Original Message -----
>> From: "Daniel Spannbauer" <ds at marco.de>
>> To: rpm-list at lists.rpm.org
>> Sent: Friday, June 3, 2016 2:37:52 PM
>> Subject: Re: Provides-Statement in Spec
>>
>> Ok,
>>
>> thanks, that worked :)
>> Can you explain me the second command? I cant find anything about
>> "provideflags"
>>
>> Regards
>>
>> Daniel
>>
>>
>> Am 06/03/2016 um 02:30 PM schrieb Lubos Kardos:
>>> Hi,
>>>
>>> try:
>>> rpm -qp --provides own-configs-1.60-1.rpm
>>>
>>> or:
>>> rpm -qp --queryformat '[%{provides} %{provideflags:depflags}
>>> %{provideversion}\n]'
>>>
>>> if you want to use "--queryformat"
>>>
>>> Lubos
>>>
>>> ----- Original Message -----
>>>> From: "Daniel Spannbauer" <ds at marco.de>
>>>> To: rpm-list at lists.rpm.org
>>>> Sent: Friday, June 3, 2016 12:47:49 PM
>>>> Subject: Provides-Statement in Spec
>>>>
>>>> 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
>>>> _______________________________________________
>>>> Rpm-list mailing list
>>>> Rpm-list at lists.rpm.org
>>>> http://lists.rpm.org/mailman/listinfo/rpm-list
>>>>
>>> _______________________________________________
>>> Rpm-list mailing list
>>> Rpm-list at lists.rpm.org
>>> http://lists.rpm.org/mailman/listinfo/rpm-list
>>>
>>
>> --
>> 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
>> _______________________________________________
>> Rpm-list mailing list
>> Rpm-list at lists.rpm.org
>> http://lists.rpm.org/mailman/listinfo/rpm-list
>>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list


-- 
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