On Tuesday, October 1, 2019 4:41:29 PM CEST Miro HronĨok wrote:
On 01. 10. 19 16:24, laurent.rineau__fedora(a)normalesup.org wrote:
> Another possibility would be to switch to a noarch package, but in the
> future I would like to package the CGAL examples and demos as
> sub-packages.
You should not do that, see the "Do not use noarch" part of:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_header
_only_libraries
Thanks. That part of the guidelines seems what I was looking for.
... But I have another concerned, compare to header-only C++ libraries (like
eigen3-devel): what will be the upgrade path? If I remove the main package
`CGAL` (and keep only `CGAL-devel`), nothing will provide an upgrade path from
CGAL-4.14.1-1.
I could create a fake noarch sub-package 'CGAL-upgrade-to-header-only', with a
versionned Obsoletes:, and an ad-hoc %doc file, but that looks like an ugly
hack.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/