[Bug 964161] Review Request: libpng15 - backwards compatibility for libpng

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=964161

--- Comment #4 from Kalev Lember <kalevlember@xxxxxxxxx> ---
The %files section is including too many files:

%files
%doc LICENSE
%{_libdir}/libpng15.*
%{_libdir}/pkgconfig/libpng15.pc

$ rpm -qlp libpng15-1.5.13-3.fc20.x86_64.rpm
/usr/lib64/libpng15.a
/usr/lib64/libpng15.so
/usr/lib64/libpng15.so.15
/usr/lib64/libpng15.so.15.13.0
/usr/lib64/pkgconfig/libpng15.pc
/usr/share/doc/libpng15-1.5.13
/usr/share/doc/libpng15-1.5.13/LICENSE

It shouldn't have the .a file and the .so symlink and the .pc file, these are
all development files.

I'd use the following for the %files section:

%files
%doc LICENSE
%{_libdir}/libpng15.so.*

... and %configure --disable-static to remove the .a file, plus some more rm
commands to get rid of the .so symlink and the .pc file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=BJfTFJDrWC&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]