[packagers] exiv2-0.12-1.el4.rf

Dries Verachtert dries at ulyssis.org
Wed Dec 20 14:30:32 CET 2006


On Tuesday 19 December 2006 5:43 pm, Rex Dieter wrote:
> $ rpm -q exiv2-devel
> exiv2-devel-0.12-1.el4.rf
> $ pkg-config --modversion exiv2
> Unknown keyword 'URL' in '/usr/lib/pkgconfig/exiv2.pc'
>
> Here's the specfile hack I use in Extras' exiv2 packaging (in %prep
> section, after %setup):
>
> # Hack for older pkgconfig that doesn't grok "URL:", like rhel4 -- Rex
> %if "%(pkg-config --version 2>/dev/null ||: )"  < "0.16.0"
> sed -i -e "s|^URL: |#URL: |" config/exiv2.pc.in
> %endif

Hello,
I've added something like that to the spec file. Thanks for the info!
Dries

-- 
Rpm packages for Red Hat Enterprise Linux, Fedora Core and Aurora at 
http://dries.ulyssis.org/rpm/



More information about the packagers mailing list