diff --git a/lz4.spec b/lz4.spec index 5b477f1..6cdbaee 100644 --- a/lz4.spec +++ b/lz4.spec @@ -1,6 +1,6 @@ Name: lz4 Version: 1.7.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Extremely fast compression algorithm License: GPLv2+ and BSD @@ -13,6 +13,12 @@ speed at 400 MB/s per core, scalable with multi-core CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems. +%package libs +Summary: Libaries for lz4 + +%description libs +This package contains the libaries for lz4. + %package devel Summary: Development files for lz4 Requires: %{name}%{?_isa} = %{version}-%{release} @@ -41,11 +47,11 @@ chmod +x ./configure %configure %make_install LIBDIR=%{_libdir} PREFIX=%{_prefix} INSTALL="install -p" -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %files -%license programs/COPYING lib/LICENSE +%license programs/COPYING %doc NEWS %{_bindir}/lz4 %{_bindir}/lz4c @@ -55,6 +61,9 @@ chmod +x ./configure %{_mandir}/man1/lz4c.1* %{_mandir}/man1/lz4cat.1* %{_mandir}/man1/unlz4.1* + +%files libs +%doc lib/LICENSE %{_libdir}/liblz4.so.* %files devel @@ -68,6 +77,9 @@ chmod +x ./configure %{_libdir}/liblz4.a %changelog +* Sat Mar 4 2017 Peter Robinson 1.7.5-3 +- Split libs out to a sub package + * Fri Feb 10 2017 Fedora Release Engineering - 1.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild