[opensuse-packaging] About packaging twice
![](https://seccdn.libravatar.org/avatar/cb2aaf49f775c94d4056311eef22be7b.jpg?s=120&d=mm&r=g)
Hi, We have for a long time a warning in the post-build-checks, that is obviously greatly ignored, so I plan to make it fatal. I'm talking about e.g. WARNING: berkeleydb: /usr/share/doc/packages/berkeleydb/LICENSE already packaged in package berkeleydb-manual WARNING: berkeleydb: /usr/share/doc/packages/berkeleydb/README already packaged in package berkeleydb-manual In the end it doesn't matter to rpm if a file is installed by one or two rpms as long as there is no conflict. But a) such conflicts easily arise during package update and b) if you review the WARNINGs there are just too many cases where this is a bug (people "splitting out" -lang packages and still package the translation in the main package). There are 3930 of such duplicated files in 72 packages and I rather have these 72 packages fixed. The only problem there is (and very likely the reason this WARNING is not an ERROR): packages conflicting on rpm level are fine to package files twice - think of branding-upstream vs branding-openSUSE. So we need to work on this before we can make this fatal. And this will also be the way to signal that you planned to package the file twice: use a rpm conflict. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/cb2aaf49f775c94d4056311eef22be7b.jpg?s=120&d=mm&r=g)
On 25.11.2011 10:41, Stephan Kulow wrote:
Hi,
We have for a long time a warning in the post-build-checks, that is obviously greatly ignored, so I plan to make it fatal. I'm talking about e.g.
WARNING: berkeleydb: /usr/share/doc/packages/berkeleydb/LICENSE already packaged in package berkeleydb-manual WARNING: berkeleydb: /usr/share/doc/packages/berkeleydb/README already packaged in package berkeleydb-manual
In the end it doesn't matter to rpm if a file is installed by one or two rpms as long as there is no conflict. But a) such conflicts easily arise during package update and b) if you review the WARNINGs there are just too many cases where this is a bug (people "splitting out" -lang packages and still package the translation in the main package). There are 3930 of such duplicated files in 72 packages and I rather have these 72 packages fixed.
The only problem there is (and very likely the reason this WARNING is not an ERROR): packages conflicting on rpm level are fine to package files twice - think of branding-upstream vs branding-openSUSE. So we need to work on this before we can make this fatal. And this will also be the way to signal that you planned to package the file twice: use a rpm conflict.
This is now active in factory repository. I fixed today one case that wasn't handled correctly: files that are %ghost in both packages are fine to conflict too. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/a961d54b41a44a48c5241aab3571178f.jpg?s=120&d=mm&r=g)
The kmp packages are appearently not handled properly. xen-kmp needs the modprobe.conf rules until pvops kernel is used. ERROR: /etc/modprobe.d/xen_pvdrivers.conf is packaged in both xen-kmp-default and xen-kmp-desktop, and the packages do not conflict ERROR: /etc/modprobe.d/xen_pvdrivers.conf is packaged in both xen-kmp-default and xen-kmp-pae, and the packages do not conflict ERROR: /etc/modprobe.d/xen_pvdrivers.conf is packaged in both xen-kmp-desktop and xen-kmp-pae, and the packages do not conflict Olaf -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Olaf Hering
-
Stephan Kulow