On Tuesday, October 1, 2019 4:41:29 PM CEST Miro Hrončok wrote:
> On 01. 10. 19 16:24, [email protected] 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/


_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to