[packaging] [Bug 5303] newer versions of rpm do not allow roundcubemail subpackages to build without any files in the package

Kolab Bugzilla noreply at kolab.org
Fri Dec 18 16:06:02 CET 2015


--- Comment #4 from Timotheus Pokorra (TBits.net) <tp at tbits.net> ---
and it seems, for roundcubemail-plugins-kolab it is again a different case:

I get the error:
    Processing files:
    error: Empty %files file

I run this command to verify that I can drop the skin sub package:

    ls -la

But that shows there is plugin-libcalendaring-skin-larry-assets.files which
references assets/plugins/libcalendaring/skins/larry/libcal.css

So we have a plugin with a file for a skin, but only for assets, not for the
skin itself.

First I thought I have to add a dummy.html, which would end up in the skin sub
package. So I tried to create a dummy.html for all packages, that have a skin
assets directory. Then I realised that there is already a case with plugin
libkolab, that does only have a skin assets subpackage  which provides the skin
subpackage as well, and obsoletes the skin subpackage.

so the solution for roundcubemail-plugin-libcalendaring-skin looks like this:

completely dropping sub package roundcubemail-plugin-libcalendaring-skin-larry

and adding a couple of lines to
 %package -n roundcubemail-plugin-libcalendaring-skin-larry-assets
 Summary:        Plugin libcalendaring / Skin larry (Assets)
 Group:          Applications/Internet
+Requires:       roundcubemail(plugin-libcalendaring) =
+Requires:       roundcubemail(skin-larry) >= %{roundcube_version}
+Obsoletes:      roundcubemail-plugin-libcalendaring-skin-larry
+Provides:       roundcubemail(plugin-libcalendaring-skin) =
+Provides:       roundcubemail(plugin-libcalendaring-skin-larry) =
 Provides:       roundcubemail(plugin-libcalendaring-skin-larry-assets) =

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolabsys.com/pipermail/packaging-bugs/attachments/20151218/af1aa8b1/attachment.htm>

More information about the packaging-bugs mailing list