custom package - update / obsolete
Todd Zullinger
tmz at pobox.com
Sun Dec 7 16:57:25 UTC 2008
David Hláčik wrote:
> Shortly, i have build my own freetype packages which comes from
> ubunu intrepid source and patches. It's name is
> freetype-2.3.7-2ubuntu1.fc10.
Are there patches there are are not in the freetype-freeworld package
from rpmfusion?
> Latest freetype package in F10 is freetype-2.3.7-2.fc10.
>
> I have my custom repo where this packages i have stored.
>
> Now problem :
>
> Apparently, 2.3.7-2 is higher for F10 than 2.3.7-2ubuntu1.fc10 .
That's not apparent to me. Here's a test that suggests otherwise:
$ rpmdev-vercmp 2.3.7-2.fc10 2.3.7-2ubuntu1.fc10
0:2.3.7-2ubuntu1.fc10 is newer
You might need to look closer at the yum output to see why your custom
package isn't getting installed to update the stock fedora one.
> What i want to realize is to be my package higher than F10 original.
>
> That , when i will do yum update, i will be offered to install
> package from my repo , which updates current one.
>
> What i need to add to my spec file to have this?
I think the first thing it to find out why it isn't already being
updated, as it doesn't appear to be a simple version-release
comparison problem.
> Something like obsoletes? or updates?
I think you might want to look at how the rpmfusion freetype-freeworld
package does it. That might be more sustainable in the long run.
Otherwise, you could end up having the stock package update your
custom package whenever a free freetype release is pushed.
> Just to add question, where can i find official rpm SPEC file
> definition ?
You can find a lot of useful information on the Fedora wiki:
http://fedoraproject.org/wiki/PackageMaintainers#Packaging
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anarchism is founded on the observation that since few men are wise
enough to rule themselves, even fewer are wise enough to rule others.
-- Edward Abbey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081207/44c316d2/attachment-0001.sig>
More information about the fedora-list
mailing list