-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaging for Inclusion in Fedora Linux #1
Comments
Hello Scott, libpotassco is currently not meant to be used as a standalone shared library. |
Hi, Ben. Thanks for getting back to me. Since Thanks, --scott |
Hi Scott. I also added the .so version property if one decides to build a shared library. |
Hi!
This package is a candidate for inclusion as an official package in Fedora Linux! Per Fedora packaging guidelines, there are some issues that should be addressed before the package can be officially reviewed, built, and made available in the Fedora RPM repositories.
Since this package is part of a group of packages, I have been prototyping the packages in a Fedora Copr repository [1]. The preliminary sources for this package can be accessed in a Git repository [2].
Here are the initial issues which should be addressed:
It appears that this package has never released an official version. It would be best if an official version was stamped instead of building "snapshots" of the sources.
Fedora guidelines strongly suggest that the version be included in any shared object libraries distributed in the package [3]. Some packages in this collection appear to be setting the SONAME value, though the value doesn't match the version of the package.
Any files installed by the packages must conform to Fedora's filesystem hierarchy. In order for this package to install the files as such, it must not override CMake's default install locations without any mechanism to change them. I have sketched out a preliminary patch to address this [4]. Please feel free to use those changes as you see fit.
xlocale.h
This header file was recently removed from glibc. The package built successfully when I switched to
locale.h
instead [5], but I'm not sure if this is the right thing to do.Once we have at least acknowledged each of the above issues, I'll initiate the review. If there is a valid reason that any of the issues can't be addressed, please let me know and we'll talk about an FPC exemption. If you have any further questions, or if there is anything I can do to help, please reach out.
Thanks very much!
--scott
[1] https://copr.fedorainfracloud.org/coprs/cottsay/potassco
[2] http://copr-dist-git.fedorainfracloud.org/cgit/cottsay/potassco/libpotassco.git/tree/
[3] https://fedoraproject.org/wiki/Packaging:Guidelines#Downstream_.so_name_versioning
[4] http://copr-dist-git.fedorainfracloud.org/cgit/cottsay/potassco/libpotassco.git/tree/libpotassco-1.0.0-install_dir.patch
[5] http://copr-dist-git.fedorainfracloud.org/cgit/cottsay/potassco/libpotassco.git/tree/libpotassco-1.0.0-xlocale.patch
The text was updated successfully, but these errors were encountered: