[lzo/f15] Update to 2.06
Huzaifa Sidhpurwala
huzaifas at fedoraproject.org
Wed Sep 14 07:26:54 UTC 2011
commit b0863d198184546cdf6c07c910ec11adeb16a1f0
Author: Huzaifa Sidhpurwala <huzaifas at redhat.com>
Date: Wed Sep 14 12:56:32 2011 +0530
Update to 2.06
.gitignore | 1 +
lzo.spec | 16 +++++++++++-----
sources | 2 +-
3 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2c81304..5153ac6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
lzo-2.03.tar.gz
+/lzo-2.06.tar.gz
diff --git a/lzo.spec b/lzo.spec
index f33e6a9..34648e7 100644
--- a/lzo.spec
+++ b/lzo.spec
@@ -1,12 +1,12 @@
Name: lzo
-Version: 2.03
-Release: 4%{?dist}
+Version: 2.06
+Release: 1%{?dist}
Summary: Data compression library with very fast (de)compression
Group: System Environment/Libraries
License: GPLv2+
URL: http://www.oberhumer.com/opensource/lzo/
Source0: http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz
-Patch0: lzo-2.02-configure.patch
+Patch0: lzo-2.06-configure.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
@@ -59,12 +59,14 @@ gcc -g -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT%{_libdir}/liblzo2.la
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
install -m 755 libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}
ln -s libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}/libminilzo.so
install -p -m 644 minilzo/minilzo.h $RPM_BUILD_ROOT%{_includedir}/lzo
+#Remove doc
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/lzo
%check
make check test
@@ -101,6 +103,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Sep 14 2011 Huzaifa Sidhpurwala <huzaifas at redhat.com> - 2.06-1
+- Upgrade to latest upstream
+- Apply patch from Nicolas Chauvet
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index f176916..431bcbc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0c3d078c2e8ea5a88971089a2f02a726 lzo-2.03.tar.gz
+95380bd4081f85ef08c5209f4107e9f8 lzo-2.06.tar.gz
More information about the scm-commits
mailing list