From 0fc5b9f3e441a36eec90877602556b0fa29c4a30930554988dce2be0a5ee32fd Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 28 Oct 2010 09:18:03 +0000 Subject: [PATCH] Accepting request 51502 from home:elvigia:branches:Base:System I'll fix baselibs.conf OBS-URL: https://build.opensuse.org/request/show/51502 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=13 --- _service | 13 +++++++++++++ _service:download_url:xz-5.0.0.tar.bz2 | 3 +++ xz-4.999.9beta.tar.bz2 | 3 --- xz.changes | 12 ++++++++++++ xz.spec | 27 +++++++++++++++----------- 5 files changed, 44 insertions(+), 14 deletions(-) create mode 100644 _service create mode 100644 _service:download_url:xz-5.0.0.tar.bz2 delete mode 100644 xz-4.999.9beta.tar.bz2 diff --git a/_service b/_service new file mode 100644 index 0000000..99261a1 --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + + http + tukaani.org + /xz/xz-5.0.0.tar.bz2 + + + _service:download_url:xz-5.0.0.tar.bz2 + sha256 + 47a89e65c4690364a0123871a221e663d23a9fbd1ca756a804b10dd4006056d8 + + diff --git a/_service:download_url:xz-5.0.0.tar.bz2 b/_service:download_url:xz-5.0.0.tar.bz2 new file mode 100644 index 0000000..321937c --- /dev/null +++ b/_service:download_url:xz-5.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47a89e65c4690364a0123871a221e663d23a9fbd1ca756a804b10dd4006056d8 +size 1003920 diff --git a/xz-4.999.9beta.tar.bz2 b/xz-4.999.9beta.tar.bz2 deleted file mode 100644 index 7f8e705..0000000 --- a/xz-4.999.9beta.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c -size 849062 diff --git a/xz.changes b/xz.changes index d7ec949..194e383 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Oct 27 00:28:26 UTC 2010 - cristian.rodriguez@opensuse.org + +- Update to 5.0.0 final + * The major soname has been bumped to 5.0.0. liblzma API and ABI + are now stable. + * The memory usage limit is now disabled by default + * Added support for XZ_DEFAULTS environment variable + * The compression settings associated with the preset levels + have been changed,they are now less likely to make compression worse. + * Support for "xz --list" was added + ------------------------------------------------------------------- Sat Apr 24 11:38:25 UTC 2010 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 6980a98..f6c9cfd 100644 --- a/xz.spec +++ b/xz.spec @@ -19,12 +19,12 @@ Name: xz Summary: A Program for Compressing Files -Version: 4.999.9beta +Version: 5.0.0 Release: 3 Group: Productivity/Archiving/Compression License: LGPLv2.1+ Url: http://tukaani.org/lzma/ -Source: %{name}-4.999.9beta.tar.bz2 +Source: %{name}-%{version}.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkg-config @@ -51,19 +51,21 @@ The xz command is a very powerful program for compressing files. * Very similar command line interface to what gzip and bzip2 have. -%package -n liblzma0 +%lang_package + +%package -n liblzma5 License: LGPLv2.1+ Summary: LZMA library Group: System/Libraries -%description -n liblzma0 +%description -n liblzma5 Library for encoding/decoding LZMA files. %package devel License: LGPLv2.1+ Summary: Development package for the LZMA library Group: Development/Libraries/C and C++ -Requires: liblzma0 = %{version} +Requires: liblzma5 = %{version} Provides: lzma-devel = %version Obsoletes: lzma-devel < %version Provides: lzma-alpha-devel = %version @@ -74,10 +76,10 @@ This package contains the header files and libraries needed for compiling programs using the LZMA library. %prep -%setup -q -n %{name}-4.999.9beta +%setup -q %build -AUTOPOINT=true autoreconf -fi +AUTOPOINT=true autoreconf -fiv %configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name make %{?jobs:-j%jobs} @@ -90,13 +92,14 @@ make install DESTDIR=$RPM_BUILD_ROOT %{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/liblzma.so) %{buildroot}%{_libdir}/liblzma.so %{__mv} -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir} %{__rm} -v %{buildroot}/%{_lib}/liblzma.{so,la} +%find_lang %{name} %clean rm -fr $RPM_BUILD_ROOT -%post -n liblzma0 -p /sbin/ldconfig +%post -n liblzma5 -p /sbin/ldconfig -%postun -n liblzma0 -p /sbin/ldconfig +%postun -n liblzma5 -p /sbin/ldconfig %files %defattr(-, root, root) @@ -104,9 +107,11 @@ rm -fr $RPM_BUILD_ROOT %{_bindir}/* %{_mandir}/man?/* -%files -n liblzma0 +%files lang -f %{name}.lang + +%files -n liblzma5 %defattr(-, root, root) -/%{_lib}/lib*.so.0* +/%{_lib}/lib*.so.5* %files devel %defattr(-, root, root)