[Fedora-packaging] [perl-Coro] Work-aroung missing libecb package on build-triggering host

Rex Dieter rdieter at math.unl.edu
Mon Oct 22 15:14:25 UTC 2012


On 10/22/2012 10:06 AM, Ralf Corsepius wrote:
> On 10/22/2012 03:47 PM, Petr Pisar wrote:
>> commit e00f8293097f8331883f1df35f74be70fbb290b9
>> Author: Petr Písař <ppisar at redhat.com>
>> Date:   Mon Oct 22 15:46:27 2012 +0200
>>
>>      Work-aroung missing libecb package on build-triggering host
>>
>>   perl-Coro.spec |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
>> ---
>> diff --git a/perl-Coro.spec b/perl-Coro.spec
>> index 50a855d..31589a5 100644
>> --- a/perl-Coro.spec
>> +++ b/perl-Coro.spec
>> @@ -35,7 +35,7 @@ Requires:       perl(EV) >= 3
>>   Requires:       perl(Event) >= 1.08
>>   Requires:       perl(Guard) >= 0.5
>>   Requires:       perl(Storable) >= 2.15
>> -Provides:       bundled(libecb) = %(rpm -q libecb --qf '%{VERSION}')
>> +Provides:       bundled(libecb)%(rpm -q libecb --qf ' = %{VERSION}'
>> 2>/dev/null)
>
> I could be wrong, but IIRC, calling rpm inside of rpm specs is not
> allowed in Fedora.
>
> Apart of this, what you are doing is rendering your built
> non-deterministic - Another "strictly forbidden" item.

Agreed.  What you're trying to say essentially is that the bundled 
libecb version matches the system/non-bundled version, which really 
doesn't make any sense.  I'd suggest you simply remove the versioning 
(or list the real bundled version some other way).

-- rex





More information about the perl-devel mailing list