Bug 454397
Summary: | %ghosted (header) files in abiword's rpm | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Bolle <pebolle> | ||||
Component: | abiword | Assignee: | Marc Maurer <uwog> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 9 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-07-23 20:32:21 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Paul Bolle
2008-07-08 08:34:00 UTC
"Phantom" was actually close: they are "%ghost" files: %ghost %{_includedir}/%{name}-%{majorversion}.%{minorversion} %ghost %{_libdir}/pkgconfig/%{name}-%{majorversion}.%{minorversion}.pc %ghost %{_datadir}/%{name}-%{majorversion}.%{minorversion}/dictionary/ispell_dictionary_list.xml I changed the summary accordingly. None of them are included in the rpm: file $(rpm -ql abiword | grep -E "/usr/include/abiword-2.6") /usr/include/abiword-2.6: ERROR: cannot open `/usr/include/abiword-2.6' (No such file or directory) /usr/include/abiword-2.6/abiwidget.h: ERROR: cannot open `/usr/include/abiword-2.6/abiwidget.h' (No such file or directory) /usr/include/abiword-2.6/xap_UnixTableWidget.h: ERROR: cannot open `/usr/include/abiword-2.6/xap_UnixTableWidget.h' (No such file or directory) file $(rpm -ql abiword | grep -E "/usr/lib/pkgconfig/abiword-2.6") /usr/lib/pkgconfig/abiword-2.6.pc: ERROR: cannot open `/usr/lib/pkgconfig/abiword-2.6.pc' (No such file or directory) file $(rpm -ql abiword | grep -E "/usr/share/abiword-2.6/dictionary/ispell_") /usr/share/abiword-2.6/dictionary/ispell_dictionary_list.xml: ERROR: cannot open `/usr/share/abiword-2.6/dictionary/ispell_dictionary_list.xml' (No such file or directory) See here for a description of %ghost files: http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html#S3-RPM-INSIDE-FLIST-GHOST-DIRECTIVE Given that description, I doubt whether %ghosting these files is correct: they could as well be dropped entirely. Anyway: could we somehow have regular header files for abiword? There's no abiword-devel, is there? Created attachment 312518 [details] quick hack to get the specfile to generate a abiword-devel rpm This quick hack makes the abiword.spec also generate an abiword-devel rpm (see my previous comment). I wouldn't be surprised if the generated abiword-devel rpm violates all kind of packaging guidelines or otherwise includes less useful files. The abiword-devel package seems to work. I could compile and run the simple test-widget (see: http://www.abisource.com/wiki/AbiWord_SDK ). But by now it might be better to open a separate bug requesting an abiword-devel rpm, or not? Thanks for the report: in rawhide, the abiword srpm now generates libabiword, libabiword-devel and an abiword package. That should fix this issue. Will port to F9 as well if I'm convinced the packaging contains no problems. |