[opensuse-packaging] Problem with renaming a package.
Hi, I maintain the rosegarden4 package in multimedia:apps and I'm busy updating it to the latest version which I've named rosegarden-qt4 due to the fact that it's no longer a kde3 app and has become a stand alone qt4.5 app. I've followed the packaging guidlines for renaming a package with "Provides: rosegarden4 = %{version}" and "Obsoletes: rosegarden4 < %{version}" but zypper dup doesn't pick it up as an upgrade. Fortunately kde4-kid3 has provided a possible clue because it has also changed to kid3, rosegarden4's end version is 1.7.3 and rosegarden-qt4's version is 10.02. These versions match the upstream ones. Kde4-kid3 is picked up by zypper dup and the old package is marked for removal and kid3 is marked for installation as a new package, I suspect that rosegarden doesn't get the same treatment due to 1.7.3 having one more version digit than 10.02. I wish to maintain the same version as upstream, what do I do in this case? Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
At Tue, 29 Dec 2009 10:21:48 +0200, Dave Plater wrote:
Hi, I maintain the rosegarden4 package in multimedia:apps and I'm busy updating it to the latest version which I've named rosegarden-qt4 due to the fact that it's no longer a kde3 app and has become a stand alone qt4.5 app.
Just wondering why you do you need to rename. The name rosegarden4 itself doesn't imply any KDE dependency at all... Takashi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
At Tue, 29 Dec 2009 11:31:05 +0100, I wrote:
At Tue, 29 Dec 2009 10:21:48 +0200, Dave Plater wrote:
Hi, I maintain the rosegarden4 package in multimedia:apps and I'm busy updating it to the latest version which I've named rosegarden-qt4 due to the fact that it's no longer a kde3 app and has become a stand alone qt4.5 app.
Just wondering why you do you need to rename. The name rosegarden4 itself doesn't imply any KDE dependency at all...
Also, could you keep your testing in a branch instead of committing to devel project until everything gets ready? Other maintainers also check each commit to the project. thanks, Takashi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 12/29/2009 12:31 PM, Takashi Iwai wrote:
At Tue, 29 Dec 2009 10:21:48 +0200, Dave Plater wrote:
Hi, I maintain the rosegarden4 package in multimedia:apps and I'm busy updating it to the latest version which I've named rosegarden-qt4 due to the fact that it's no longer a kde3 app and has become a stand alone qt4.5 app.
Just wondering why you do you need to rename. The name rosegarden4 itself doesn't imply any KDE dependency at all...
Takashi
I'm changing it to rosegarden4, I used rosegarden-qt4 for testing it through alpha to beta and from what I can see from rosegarden user and devel lists and a person who was doing alpha testing on my openSUSE version it's ready for the devel project. It fixes bnc #545532 as well. It seems that package renaming doesn't work if there is a version in the main os repository with the same name as the old devel one. Just out of interest why was it named rosegarden4 instead of rosegarden like the upstream package. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
At Tue, 29 Dec 2009 13:16:26 +0200, Dave Plater wrote:
On 12/29/2009 12:31 PM, Takashi Iwai wrote:
At Tue, 29 Dec 2009 10:21:48 +0200, Dave Plater wrote:
Hi, I maintain the rosegarden4 package in multimedia:apps and I'm busy updating it to the latest version which I've named rosegarden-qt4 due to the fact that it's no longer a kde3 app and has become a stand alone qt4.5 app.
Just wondering why you do you need to rename. The name rosegarden4 itself doesn't imply any KDE dependency at all...
Takashi
I'm changing it to rosegarden4, I used rosegarden-qt4 for testing it through alpha to beta and from what I can see from rosegarden user and devel lists and a person who was doing alpha testing on my openSUSE version it's ready for the devel project. It fixes bnc #545532 as well. It seems that package renaming doesn't work if there is a version in the main os repository with the same name as the old devel one. Just out of interest why was it named rosegarden4 instead of rosegarden like the upstream package.
The reason is historical. There was the old rosegarden package in the past coexisting with version 4. Because rosegarden 4.x was unstable at the beginning, we didn't want to drop the older stable. Takashi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 12/29/2009 01:29 PM, Takashi Iwai wrote:
At Tue, 29 Dec 2009 13:16:26 +0200, Dave Plater wrote:
On 12/29/2009 12:31 PM, Takashi Iwai wrote:
At Tue, 29 Dec 2009 10:21:48 +0200, Dave Plater wrote:
Hi, I maintain the rosegarden4 package in multimedia:apps and I'm busy updating it to the latest version which I've named rosegarden-qt4 due to the fact that it's no longer a kde3 app and has become a stand alone qt4.5 app.
Just wondering why you do you need to rename. The name rosegarden4 itself doesn't imply any KDE dependency at all...
Takashi
I'm changing it to rosegarden4, I used rosegarden-qt4 for testing it through alpha to beta and from what I can see from rosegarden user and devel lists and a person who was doing alpha testing on my openSUSE version it's ready for the devel project. It fixes bnc #545532 as well. It seems that package renaming doesn't work if there is a version in the main os repository with the same name as the old devel one. Just out of interest why was it named rosegarden4 instead of rosegarden like the upstream package.
The reason is historical. There was the old rosegarden package in the past coexisting with version 4. Because rosegarden 4.x was unstable at the beginning, we didn't want to drop the older stable.
Takashi
You should take the new rosegarden4 for a test drive, if you have time, the developers have done a complete rewrite for most of the package. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 12/29/2009 at 12:16, Dave Plater <dplater@webafrica.org.za> wrote: I'm changing it to rosegarden4, I used rosegarden-qt4 for testing it through alpha to beta and from what I can see from rosegarden user and devel lists and a person who was doing alpha testing on my openSUSE version it's ready for the devel project. It fixes bnc #545532 as well. It seems that package renaming doesn't work if there is a version in the main os repository with the same name as the old devel one.
I suggest you to have a look at repo priorities in this case. most likely OS has a higher prio (being lower number IIRC) than your OBS repo. Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 01/04/2010 03:27 PM, Dominique Leuenberger wrote:
On 12/29/2009 at 12:16, Dave Plater <dplater@webafrica.org.za> wrote:
I'm changing it to rosegarden4, I used rosegarden-qt4 for testing it through alpha to beta and from what I can see from rosegarden user and devel lists and a person who was doing alpha testing on my openSUSE version it's ready for the devel project. It fixes bnc #545532 as well. It seems that package renaming doesn't work if there is a version in the main os repository with the same name as the old devel one.
I suggest you to have a look at repo priorities in this case. most likely OS has a higher prio (being lower number IIRC) than your OBS repo.
Dominique
My os11.2 repo has the default priority of 99 and I assign the lowest number to the repos containing packages I'm working on, the devel projects I assign 75 and I think the fact that when I renamed rosegarden-qt4 back to rosegarden4 and provided rosegarden-qt4 in the spec file I could successfully update rosegarden-qt4 to rosegarden4 proves that it's not just the priorities that make the package manager decide. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Dave Plater napsal(a):
suspect that rosegarden doesn't get the same treatment due to 1.7.3 having one more version digit than 10.02. I wish to maintain the same version as upstream, what do I do in this case?
Yes. You have to match the same dots number. IMHO you should place there: Obsoletes: rosegarden4 <= 1.7.99 Provides: rosegarden4 = 1.7.99 Miroslav Suchy -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 01/02/2010 04:32 PM, Miroslav Suchý wrote:
Dave Plater napsal(a):
suspect that rosegarden doesn't get the same treatment due to 1.7.3 having one more version digit than 10.02. I wish to maintain the same version as upstream, what do I do in this case?
Yes. You have to match the same dots number. IMHO you should place there: Obsoletes: rosegarden4 <= 1.7.99 Provides: rosegarden4 = 1.7.99
Miroslav Suchy
I also discovered that even though the priority of my 11.2 repo was lower (higher number) than the multimedia:apps repo, libzypp wanted to install the lower versioned rosegarden4 instead of the 1.7.4 provided by rosegarden-qt4. I changed the name back to rosegarden4 and provided rosegarden-qt4 and all was well. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Dave Plater
-
Dominique Leuenberger
-
Miroslav Suchý
-
Takashi Iwai