| Summary: | devel subpackage of xz missing "Provides: %{name}-devel = %{version}-%{release}" | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Neal Gompa <ngompa13> |
| Component: | RPM Packages | Assignee: | Olav Vitters <olav> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | CC: | thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | xz-5.2.1-2.mga6.src.rpm | CVE: | |
| Status comment: | |||
There's a lot of packaging difference between distribution. eg: python-foo vs pyfoo (though the other distros are now coming our way b/c of python3: eg having both python-foo & python3-foo) For devel packages, the right way to be distro agnostic is to use pkgconfig() style. Here's, it would be "http://rpmfind.net/linux/rpm2html/search.php?query=pkgconfig%28liblzma%29" As you can see, this is what exists everywhere: http://rpmfind.net/linux/rpm2html/search.php?query=pkgconfig%28liblzma%29 As a side note, the naming we use is more consistent as the library really is liblzma, not libxz. eg: Fedora's xz-libs contains liblzma.so: http://sophie.zarb.org/rpms/40cc307310a36c312cf64d61d9e7eb56/files Status:
NEW =>
RESOLVED Interesting, didn't know about that. Thanks. |
Description of problem: The xz devel subpackage provides liblzma, but in most RPM-based distributions, the subpackage is called xz-devel. Package specs that try to use this name will fail to locate Mageia's devel subpackage for xz. Suggested solution: Add "Provides: %{name}-devel = %{version}-%{release}" to devel subpackage. Version-Release number of selected component (if applicable): 5.2.1-2.mga6 Reproducible: Steps to Reproduce: