[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mythtv-dev
Subject:    Re: [mythtv] Building rpms for master
From:       Richard Shaw <hobbes1069 () gmail ! com>
Date:       2014-09-12 12:46:56
Message-ID: CAN3TeO2gBks1UCKMNq+0YmLQ89Vyovvv9GkO_YcZaAzG8e_Mrw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Fri, Sep 12, 2014 at 4:07 AM, John Pilkington <J.Pilk@tesco.net> wrote:

> I attached a spec diff to that post, in which 'Version' changed from
> 0.27.3 to master.
>
> yum is now offering the 0.26.1 packages as an upgrade :-)
>

You really have two options here (other than living with the issue). You
can fake a version number that's high enough that yum doesn't think there
is a newer version based on NEVR (Name, Epoch, Version, Release) or you
could set the Epoch to something >0.

Epoch is not used frequently but it's main use is when you need to
downgrade a package within a distribution to a lower version, it can be
used as an override. My RPM Fusion package doesn't have Epoch set (implies
0) so if you add it to the spec file (somewhere near the top, perhaps after
"Name:" that should prevent yum from trying to "update" your package.


JYA has just commented here
> http://www.gossamer-threads.com/lists/mythtv/users/575524#575524
> on 'configure' options, which I also had to modify.


I saw that so I removed some old useless config cruft that's made it's way
into the spec file.

Thanks,
Richard

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 12, 2014 \
at 4:07 AM, John Pilkington <span dir="ltr">&lt;<a href="mailto:J.Pilk@tesco.net" \
target="_blank">J.Pilk@tesco.net</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">I attached a spec diff to that post, in which \
&#39;Version&#39; changed from 0.27.3 to master.<br> <br>
yum is now offering the 0.26.1 packages as an upgrade \
:-)<br></blockquote><div><br></div><div>You really have two options here (other than \
living with the issue). You can fake a version number that&#39;s high enough that yum \
doesn&#39;t think there is a newer version based on NEVR (Name, Epoch, Version, \
Release) or you could set the Epoch to something \
&gt;0.</div><div><br></div><div>Epoch is not used frequently but it&#39;s main use is \
when you need to downgrade a package within a distribution to a lower version, it can \
be used as an override. My RPM Fusion package doesn&#39;t have Epoch set (implies 0) \
so if you add it to the spec file (somewhere near the top, perhaps after \
&quot;Name:&quot; that should prevent yum from trying to &quot;update&quot; your \
package.</div><div><br></div><div><br></div><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">JYA has just \
commented here<br> <a \
href="http://www.gossamer-threads.com/lists/mythtv/users/575524#575524" \
target="_blank">http://www.gossamer-threads.<u></u>com/lists/mythtv/users/575524#<u></u>575524</a><br>
 on &#39;configure&#39; options, which I also had to \
modify.</blockquote><div><br></div><div>I saw that so I removed some old useless \
config cruft that&#39;s made it&#39;s way into the spec \
file.</div><div><br></div><div>Thanks,</div><div>Richard</div></div><br></div></div>



_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic