[lz4/f19] Skip static library installation: BZ#1105110#c5

pjp pjp at fedoraproject.org
Sat Jun 7 10:10:04 UTC 2014


commit 5072c12a49015936f8064cba888d0be99e6a09a1
Author: P J P <pjp at fedoraproject.org>
Date:   Sat Jun 7 15:39:59 2014 +0530

    Skip static library installation: BZ#1105110#c5

 lz4.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/lz4.spec b/lz4.spec
index 31421b3..652f79a 100644
--- a/lz4.spec
+++ b/lz4.spec
@@ -2,7 +2,7 @@
 
 Name:           lz4
 Version:        r117
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Extremely fast compression algorithm
 
 Group:          Applications/System
@@ -39,7 +39,7 @@ make %{?_smp_mflags}
 %install
 make install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -p"
 chmod -x $RPM_BUILD_ROOT%{_includedir}/*.h
-chmod -x $RPM_BUILD_ROOT%{_usr}/lib/liblz4.a
+rm $RPM_BUILD_ROOT%{_usr}/lib/liblz4.a
 
 
 %post -p /sbin/ldconfig
@@ -63,9 +63,11 @@ chmod -x $RPM_BUILD_ROOT%{_usr}/lib/liblz4.a
 %defattr (-, root, root, -)
 %doc LICENSE NEWS
 %{_includedir}/*.h
-%{_usr}/lib/liblz4.a
 
 %changelog
+* Sat Jun 07 2014 pjp <pjp at fedoraproject.org> - r117-2
+- Skip static library from installation.
+
 * Fri Jun 06 2014 pjp <pjp at fedoraproject.org> - r117-1
 - new release
 - added lz4c & lz4cat manual pages.


More information about the scm-commits mailing list