Re : Re: OpenSUSE packages

guillaume.gardet at free.fr guillaume.gardet at free.fr
Wed Dec 31 11:42:12 PST 2014


----- Dirk Hohndel <dirk at hohndel.org> a écrit :
> 
> > On Dec 31, 2014, at 5:16 AM, Guillaume Gardet <guillaume.gardet at free.fr> wrote:
> >> I was wondering about this... that means I need a different spec file that
> >> renames the executable and the package... but then there is the
> >> ssrfmarblewidget.so that also would have to have two different names. This
> >> gets crazy pretty fast.
> >> 
> >> I'm not sure what a good way around this mess would be.
> > 
> > I think the easiest way is just to rename the RPM package (spec filename and "Name: XXX" line) and leave exec name as is. You may add a "Conflicts: Subsurface" line in your spec so that people cannot install both.
> 
> As expected, it’s never as easy as that… I’m now on my third try to get this right…
> - the folder name in the source tar needs to change as well
> - the desktop file name needs to change
> 
> let’s see how many more I run into :-(

Alternatively you could setup two different repos (projects).
It could ease the process.

Guillaume

> 
> /D


More information about the subsurface mailing list