diff --git a/lz4.spec b/lz4.spec index 2d697f4..dcd5c56 100644 --- a/lz4.spec +++ b/lz4.spec @@ -57,12 +57,13 @@ for text files. This subpackage contains the (de)compressor code as a shared library. -%package devel +%package -n liblz4-devel Summary: Development files for the LZ4 compressor License: BSD-2-Clause Group: Development/Libraries/C and C++ +Requires: %lname = %version -%description devel +%description -n liblz4-devel LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv) algorithm. It is a LZP2 fork and provides better compression ratio for text files. @@ -91,7 +92,7 @@ rm -f "%buildroot/%_libdir"/*.la %defattr(-,root,root) %_libdir/liblz4-*.so -%files devel +%files -n liblz4-devel %defattr(-,root,root) %_includedir/lz4*.h %_libdir/liblz4.so