diff --git a/.cvsignore b/.cvsignore index eb87c2a..b854ab7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lzop-1.01.tar.gz +lzop-1.02rc1.tar.gz diff --git a/lzop-1.01-gcc29.patch b/lzop-1.01-gcc29.patch deleted file mode 100644 index 715b054..0000000 --- a/lzop-1.01-gcc29.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- src/util.c.orig Sun Nov 2 00:46:46 2003 -+++ src/util.c Sun Nov 2 00:47:09 2003 -@@ -210,12 +210,15 @@ - assert(size >= 18); - #if defined(HAVE_SNPRINTF) - snprintf(s, size, "%04d-%02d-%02d %02d:%02d:%02d", -+ (int) tmp->tm_year + 1900, (int) tmp->tm_mon + 1, -+ (int) tmp->tm_mday, -+ (int) tmp->tm_hour, (int) tmp->tm_min, (int) tmp->tm_sec); - #else - sprintf(s, "%04d-%02d-%02d %02d:%02d:%02d", --#endif - (int) tmp->tm_year + 1900, (int) tmp->tm_mon + 1, - (int) tmp->tm_mday, - (int) tmp->tm_hour, (int) tmp->tm_min, (int) tmp->tm_sec); -+#endif - } - #endif - diff --git a/lzop.spec b/lzop.spec index f6b9e95..bc2cedf 100644 --- a/lzop.spec +++ b/lzop.spec @@ -1,14 +1,15 @@ +%define archivever 1.02rc1 + Name: lzop -Version: 1.01 -Release: 4%{?dist} +Version: 1.02 +Release: 0.1%{?dist} Summary: Real-time file compressor Group: Applications/Archiving License: GPL -URL: http://www.lzop.org/ -Source: http://www.lzop.org/download/lzop-%{version}.tar.gz -Patch0: lzop-1.01-gcc29.patch +URL: http://www.%{name}.org/ +Source: http://www.%{name}.org/download/%{name}-%{archivever}.tar.gz Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: lzo-devel @@ -22,8 +23,7 @@ lzop was designed with reliability, speed, portibility and as a reasonable drop-in compatiblity to gzip. %prep -%setup -%patch0 +%setup -n %{name}-%{archivever} %build %configure @@ -38,11 +38,15 @@ rm -fr %{buildroot} %files %defattr(0644, root, root, 0755) -%doc AUTHORS NEWS README THANKS +%doc AUTHORS COPYING NEWS README THANKS ChangeLog %doc %{_mandir}/man?/* %attr(0755,root,root) %{_bindir}/* %changelog +* Thu Jan 19 2006 Nicolas Mailhot - 1.02-0.1 +- update to 1.02rc1 +- build with lzop 2 + * Wed Jan 18 2006 Nicolas Mailhot - 1.01-4 - gcc 4.1 build time diff --git a/sources b/sources index 7369df3..dad0183 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -de1f90bc21a0e56a27f39322f56a275d lzop-1.01.tar.gz +4b999030716b1353c3dac049b269df7a lzop-1.02rc1.tar.gz