[opensuse-packaging] How do I fix the dirac naming conflict with packman packages
Hi, the openSUSE package dirac consists of the following :- dirac which contains tools and README AUTHORS and the usual text docs libdirac_decoder0 decoder libs libdirac_encoder0 encoder libs dirac-devel which contains devel files and api documentation The Packman package dirac consists of the following :- dirac Contents identical to openSUSE libdirac_decoder0 Contents identical to openSUSE libdirac_encoder0 Contents identical to openSUSE libdirac-devel which contains only devel files. dirac-doc which contains api documentation As you can see packman have split dirac-devel into libdirac-devel and dirac-doc. What is the correct way to handle this conflict? The way it stands atm the installation system allows dirac-devel, libdirac-devel and dirac-doc to exist in the system. When following openSUSE packaging conventions for merging two packages into one I get an rpmlint error about self-obsoletion. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Mon, May 24, 2010 at 09:15:22AM +0200, Dave Plater wrote:
Hi, the openSUSE package dirac consists of the following :- dirac which contains tools and README AUTHORS and the usual text docs libdirac_decoder0 decoder libs libdirac_encoder0 encoder libs dirac-devel which contains devel files and api documentation
The Packman package dirac consists of the following :- dirac Contents identical to openSUSE libdirac_decoder0 Contents identical to openSUSE libdirac_encoder0 Contents identical to openSUSE libdirac-devel which contains only devel files. dirac-doc which contains api documentation
As you can see packman have split dirac-devel into libdirac-devel and dirac-doc. What is the correct way to handle this conflict? The way it stands atm the installation system allows dirac-devel, libdirac-devel and dirac-doc to exist in the system.
Confer with the packman maintainer? The split done sounds sensible.
When following openSUSE packaging conventions for merging two packages into one I get an rpmlint error about self-obsoletion.
The obsoletes needs to be of "oldpackage <= lastversionofitsuse". Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 05/24/2010 09:35 AM, Marcus Meissner wrote:
On Mon, May 24, 2010 at 09:15:22AM +0200, Dave Plater wrote:
Hi, the openSUSE package dirac consists of the following :- dirac which contains tools and README AUTHORS and the usual text docs libdirac_decoder0 decoder libs libdirac_encoder0 encoder libs dirac-devel which contains devel files and api documentation
The Packman package dirac consists of the following :- dirac Contents identical to openSUSE libdirac_decoder0 Contents identical to openSUSE libdirac_encoder0 Contents identical to openSUSE libdirac-devel which contains only devel files. dirac-doc which contains api documentation
As you can see packman have split dirac-devel into libdirac-devel and dirac-doc. What is the correct way to handle this conflict? The way it stands atm the installation system allows dirac-devel, libdirac-devel and dirac-doc to exist in the system.
Confer with the packman maintainer?
The split done sounds sensible.
So in your opinion the packman package layout is better and I should split out the api docs to a separate package?
When following openSUSE packaging conventions for merging two packages into one I get an rpmlint error about self-obsoletion.
The obsoletes needs to be of "oldpackage <= lastversionofitsuse".
The packman package version is the same as the openSUSE version and will most probably continue to be so or higher. While the packaging conventions method solves the problem of merging the two packman packages into dirac-devel it still produces the rpmlint error. Splitting and renaming the opensuse package would solve this problem.
Ciao, Marcus
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 05/24/2010 09:35 AM, Marcus Meissner wrote:
On Mon, May 24, 2010 at 09:15:22AM +0200, Dave Plater wrote:
Hi, the openSUSE package dirac consists of the following :- dirac which contains tools and README AUTHORS and the usual text docs libdirac_decoder0 decoder libs libdirac_encoder0 encoder libs dirac-devel which contains devel files and api documentation
The Packman package dirac consists of the following :- dirac Contents identical to openSUSE libdirac_decoder0 Contents identical to openSUSE libdirac_encoder0 Contents identical to openSUSE libdirac-devel which contains only devel files. dirac-doc which contains api documentation
As you can see packman have split dirac-devel into libdirac-devel and dirac-doc. What is the correct way to handle this conflict? The way it stands atm the installation system allows dirac-devel, libdirac-devel and dirac-doc to exist in the system.
Confer with the packman maintainer?
The split done sounds sensible.
When following openSUSE packaging conventions for merging two packages into one I get an rpmlint error about self-obsoletion.
The obsoletes needs to be of "oldpackage <= lastversionofitsuse".
Ciao, Marcus
It passes rpmlint if I use:- Provides: libdirac-devel = %{version}-%{release} dirac-doc = %{version}-%{release} Obsoletes: libdirac-devel < %{version}-%{release} dirac-doc < %{version}-%{release} but I can remember being advised not to use %{release}. Is this ok? Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Mon, May 24, 2010 at 02:19:58PM +0200, Dave Plater wrote:
On 05/24/2010 09:35 AM, Marcus Meissner wrote:
On Mon, May 24, 2010 at 09:15:22AM +0200, Dave Plater wrote:
Hi, the openSUSE package dirac consists of the following :- dirac which contains tools and README AUTHORS and the usual text docs libdirac_decoder0 decoder libs libdirac_encoder0 encoder libs dirac-devel which contains devel files and api documentation
The Packman package dirac consists of the following :- dirac Contents identical to openSUSE libdirac_decoder0 Contents identical to openSUSE libdirac_encoder0 Contents identical to openSUSE libdirac-devel which contains only devel files. dirac-doc which contains api documentation
As you can see packman have split dirac-devel into libdirac-devel and dirac-doc. What is the correct way to handle this conflict? The way it stands atm the installation system allows dirac-devel, libdirac-devel and dirac-doc to exist in the system.
Confer with the packman maintainer?
The split done sounds sensible.
When following openSUSE packaging conventions for merging two packages into one I get an rpmlint error about self-obsoletion.
The obsoletes needs to be of "oldpackage <= lastversionofitsuse".
Ciao, Marcus
It passes rpmlint if I use:- Provides: libdirac-devel = %{version}-%{release} dirac-doc = %{version}-%{release} Obsoletes: libdirac-devel < %{version}-%{release} dirac-doc < %{version}-%{release} but I can remember being advised not to use %{release}. Is this ok?
You want to keep libdirac-devel, and obsolete dirac-devel, right? In that case probably: Provides: dirac-devel Obsoletes: dirac-devel < %{version}-%{release} dirac-doc is new and you don't need to handle it. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
You want to keep libdirac-devel, and obsolete dirac-devel, right?
In that case probably: Provides: dirac-devel Obsoletes: dirac-devel < %{version}-%{release}
dirac-doc is new and you don't need to handle it.
Ciao, Marcus
On 05/24/2010 02:39 PM, Marcus Meissner wrote: dirac-doc has been in packman since 2007, I noticed that dirac-devel from opensuse was installed along with packmans libdirac-devel and dirac-doc on my system when I had fixed a dirac build problem. I took a sledge hammer approach and conflicted the two packman packages with our dirac-devel which was rejected. I assume from your reply and previous comment that I should split off a doc subpackage for opensuse called dirac-doc which would solve my problem? Or should I request packman merge their doc package into their devel one. Packman provides libdirac-devel and dirac-doc and opensuse provides dirac-devel which contains the contents of dirac-doc. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Dave Plater wrote:
dirac-doc has been in packman since 2007, I noticed that dirac-devel from opensuse was installed along with packmans libdirac-devel and dirac-doc on my system when I had fixed a dirac build problem. I took a sledge hammer approach and conflicted the two packman packages with our dirac-devel which was rejected. I assume from your reply and previous comment that I should split off a doc subpackage for opensuse called dirac-doc which would solve my problem? Or should I request packman merge their doc package into their devel one. Packman provides libdirac-devel and dirac-doc and opensuse provides dirac-devel which contains the contents of dirac-doc.
Either way is fine I guess. Let's ask the Packman maintainer (Tony Graffy AFAICS, CC'd) why the package is the way it is on Packman. There should be a way to merge both versions into one canonical version in Factory again. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 05/24/2010 07:38 PM, Ludwig Nussel wrote:
Dave Plater wrote:
dirac-doc has been in packman since 2007, I noticed that dirac-devel from opensuse was installed along with packmans libdirac-devel and dirac-doc on my system when I had fixed a dirac build problem. I took a sledge hammer approach and conflicted the two packman packages with our dirac-devel which was rejected. I assume from your reply and previous comment that I should split off a doc subpackage for opensuse called dirac-doc which would solve my problem? Or should I request packman merge their doc package into their devel one. Packman provides libdirac-devel and dirac-doc and opensuse provides dirac-devel which contains the contents of dirac-doc.
Either way is fine I guess. Let's ask the Packman maintainer (Tony Graffy AFAICS, CC'd) why the package is the way it is on Packman. There should be a way to merge both versions into one canonical version in Factory again.
cu Ludwig
I've split off the docs in dirac-doc which is the same name as the packman package, libdirac-devel is a more apt name than dirac-devel and now the two devel packages contain the same files. I've used provides and obsoletes to prevent the two packages from being installed simultaneously and have submitted to factory. It's a pity that the package wasn't named the same as the already existing packman package when it was created. I had a similar problem with opensuse ladspa, which contains most plugins in one package, and packman individual ladspa plugins but I don't see them in packman factory so maybe some have been dropped. There were one or two which don't exist in opensuse. I haven't that much packaging experience so I'm very much open to guidance from more experienced packagers. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Mon, 24 May 2010 20:30:30 +0200, Dave Plater
It's a pity that the package wasn't named the same as the already existing packman package when it was created.
Renaming of the package can still be done. Best would be to wait until 11.3 got it's own branch and factory is open for changes such as these. I'm also waiting for that moment to rename gettext back, now that a spec is free to produce no rpm that has the name of the spec. That way I can get back to a gettext.spec creating gettext-runtime and gettext-tools. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Dave Plater
-
Ludwig Nussel
-
Marcus Meissner
-
Philipp Thomas