Bug 183367
| Summary: | gphoto2: remove .la files | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rex Dieter <rdieter> |
| Component: | gphoto2 | Assignee: | Radek Vokál <rvokal> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 2.1.99-6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-03-02 07:48:06 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 183262 | ||
Looks like the libexif-devel thing was added due to libtool bloat as well (bug #135058). A slightly less obtrusive step than removing the .la files altogether would be to simply strip out the offending bits from the .la files, using something like: sed -i -e "s|/usr/lib/libltdl.la||" $RPM_BUILD_ROOT%{_libdir}/lib*.la sed -i -e "s|-lexif||" $RPM_BUILD_ROOT%{_libdir}/lib*.la The .la files should be gone, I've realized there's a small typo in the specfile which doesn't remove the following file. If kipi-plugins doesn't depend on .la files I fix that in next rawhide update. |
Main problem is that gphoto2-devel-2.1.99-5.2's /usr/lib/libgphoto2.la contains: dependency_libs=' /usr/lib/libgphoto2_port.la /usr/lib/libltdl.la -ldl -lexif -lm' but doesn't Requires: libtool-ltdl-devel IMHO, the best solution to avoid the libtool madness is simply to drop all %{_libdir}/lib*.la from the gphoto2 packaging. You could then (theoretically) remove the Requires: libexif-devel too, provided that gphoto2's headers don't reference anything from libexif-devel (and I'm pretty sure they don't).