Re: packaging: upgrade a library to a header-only library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, October 1, 2019 4:41:29 PM CEST Miro Hrončok wrote:
> On 01. 10. 19 16:24, laurent.rineau__fedora@xxxxxxxxxxxxxx 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 -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux