Unnecessary .spec entry: Obsoletes: keepassx < 2.0.4 (prevents install of non-conflicting package)
Devs, I just spent 30 minutes rebuilding keepassxc to remove the unneeded line in the .spec of Obsoletes: keepassx < 2.0.4 keepassxc does not conflict with keepassx in any way. All the Obsoletes does is prevent someone from building and installing both at the same time. Linux is about choice, and if I choose to install both so I can edit my older keepassx files before import into keepassxc -- then I should be able to do so. The changelog states this was done because keepassx depends on Qt4 and at some point that dependency will no longer be available. I get that. But while it is -- don't put Obsoletes in the keepassxc file, because the Qt4 files are still available. In fact there are Qt6 packages that specifically provide the Qt6 & Qt4 dependencies because Qt4 isn't completely gone yet. Even when it isn't packages by openSUSE any longer, if I'm creative enough to provide the dependency on my own, the keepassxc package shouldn't be so arrogant as to tell me it's either one or the other, but I can't have both installed. That's just categorically false. I'd expect something like this on Windows, but not Linux. I would certainly vote to remove this line from the .spec before the actual 15.4 release. (not to mention the keepassxc package is a full 68X larger than keepassx and takes about that many times longer to build), e.g. -rw-r--r-- 1 david david 773248 May 17 00:33 keepassx-0.4.3-9.1.x86_64.rpm -rw-r--r-- 1 david david 51992192 May 17 01:19 keepassxc-2.6.6-bp154.2.59.x86_64.rpm -rw-r--r-- 1 david david 998640 May 17 01:19 keepassxc-lang-2.6.6-bp154.2.59.noarch.rpm Poor laptop thought it was building PHP again...... -- David C. Rankin, J.D.,P.E.
* David C. Rankin <drankinatty@gmail.com> [05-17-22 02:47]:
Devs,
I just spent 30 minutes rebuilding keepassxc to remove the unneeded line in the .spec of
Obsoletes: keepassx < 2.0.4
keepassxc does not conflict with keepassx in any way. All the Obsoletes does is prevent someone from building and installing both at the same time.
Linux is about choice, and if I choose to install both so I can edit my older keepassx files before import into keepassxc -- then I should be able to do so.
The changelog states this was done because keepassx depends on Qt4 and at some point that dependency will no longer be available. I get that. But while it is -- don't put Obsoletes in the keepassxc file, because the Qt4 files are still available. In fact there are Qt6 packages that specifically provide the Qt6 & Qt4 dependencies because Qt4 isn't completely gone yet.
Even when it isn't packages by openSUSE any longer, if I'm creative enough to provide the dependency on my own, the keepassxc package shouldn't be so arrogant as to tell me it's either one or the other, but I can't have both installed. That's just categorically false. I'd expect something like this on Windows, but not Linux.
I would certainly vote to remove this line from the .spec before the actual 15.4 release. (not to mention the keepassxc package is a full 68X larger than keepassx and takes about that many times longer to build), e.g.
-rw-r--r-- 1 david david 773248 May 17 00:33 keepassx-0.4.3-9.1.x86_64.rpm
-rw-r--r-- 1 david david 51992192 May 17 01:19 keepassxc-2.6.6-bp154.2.59.x86_64.rpm -rw-r--r-- 1 david david 998640 May 17 01:19 keepassxc-lang-2.6.6-bp154.2.59.noarch.rpm
Poor laptop thought it was building PHP again......
best course of action would be to submit a bug report attention to the kepassxc project members. two recent change authors are: Dirk Müller <dmueller@suse.com> Marcus Rueckert <mrueckert@suse.de> -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
participants (2)
-
David C. Rankin
-
Patrick Shanahan