Update to 2.031

- New upstream release 2.031
  - Changed to build with XZ 5.0.0
  - Dropped symbolic constants provided by subblock.h (CPAN RT#62461)
- Drop xz 5.x patch, no longer needed
This commit is contained in:
Paul Howarth 2010-10-27 10:05:08 +01:00
parent 927c8a46f3
commit 2f151c6505
4 changed files with 10 additions and 39 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
Compress-Raw-Lzma-2.030.tar.gz
/Compress-Raw-Lzma-2.031.tar.gz

View File

@ -1,31 +0,0 @@
--- Compress-Raw-Lzma-2.030/Makefile.PL.orig 2009-12-27 13:49:56.000000000 +0000
+++ Compress-Raw-Lzma-2.030/Makefile.PL 2010-10-26 15:53:26.339111604 +0100
@@ -288,28 +288,6 @@
#LZMA_BACKWARD_SIZE_MAX
-# subblock.h
-##########
-LZMA_FILTER_SUBBLOCK
-
-# enum lzma_subfilter_mode
-LZMA_SUBFILTER_NONE enum
-LZMA_SUBFILTER_SET enum
-LZMA_SUBFILTER_RUN enum
-LZMA_SUBFILTER_FINISH enum
-
-LZMA_SUBBLOCK_ALIGNMENT_MIN
-LZMA_SUBBLOCK_ALIGNMENT_MAX
-LZMA_SUBBLOCK_ALIGNMENT_DEFAULT
-
-LZMA_SUBBLOCK_DATA_SIZE_MIN
-LZMA_SUBBLOCK_DATA_SIZE_MAX
-LZMA_SUBBLOCK_DATA_SIZE_DEFAULT
-
-LZMA_SUBBLOCK_RLE_OFF
-LZMA_SUBBLOCK_RLE_MIN
-LZMA_SUBBLOCK_RLE_MAX
-
# version.h
###########
LZMA_VERSION

View File

@ -1,12 +1,11 @@
Name: perl-Compress-Raw-Lzma
Version: 2.030
Release: 2%{?dist}
Version: 2.031
Release: 1%{?dist}
Summary: Low-level interface to lzma compression library
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Compress-Raw-Lzma/
Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Lzma-%{version}.tar.gz
Patch0: Compress-Raw-Lzma-2.030-no-subfilters.patch
BuildRequires: xz, xz-devel, perl(ExtUtils::MakeMaker), perl(Test::Pod)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -20,9 +19,6 @@ It is used by IO::Compress::Lzma.
%prep
%setup -q -n Compress-Raw-Lzma-%{version}
# xz 5.0.0 removes subfilter support
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
@ -45,6 +41,12 @@ make test
%{_mandir}/man3/Compress::Raw::Lzma.3pm*
%changelog
* Wed Oct 27 2010 Paul Howarth <paul@city-fan.org> - 2.031-1
- Update to 2.031
- Changed to build with XZ 5.0.0
- Dropped symbolic constants provided by subblock.h (CPAN RT#62461)
- Drop xz 5.x patch, no longer needed
* Tue Oct 26 2010 Paul Howarth <paul@city-fan.org> - 2.030-2
- Patch out subfilter constants, not supported in xz 5.x (CPAN RT#62461)

View File

@ -1 +1 @@
9d9820c602f4e7a87e8145ebf6aed0ac Compress-Raw-Lzma-2.030.tar.gz
847cbf0b4781275ee9e448318379d08c Compress-Raw-Lzma-2.031.tar.gz