diff --git a/perl-Compress-Raw-Lzma.spec b/perl-Compress-Raw-Lzma.spec index 3fa218a..e7861ef 100644 --- a/perl-Compress-Raw-Lzma.spec +++ b/perl-Compress-Raw-Lzma.spec @@ -1,6 +1,6 @@ Name: perl-Compress-Raw-Lzma Version: 2.033 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Low-level interface to lzma compression library Group: Development/Libraries License: GPL+ or Artistic @@ -8,6 +8,8 @@ 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 BuildRequires: xz, xz-devel, perl(ExtUtils::MakeMaker), perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Built-against version is embedded in module, so we have a strict version dependency +Requires: xz-libs%{?_isa} = %((pkg-config --modversion liblzma 2>/dev/null || echo 0) | tr -dc '[0-9.]') # Don't "provide" private Perl libs %{?perl_default_filter} @@ -41,6 +43,11 @@ make test %{_mandir}/man3/Compress::Raw::Lzma.3pm* %changelog +* Wed Feb 9 2011 Paul Howarth - 2.033-3 +- Add explicit version dependency on xz-libs since the version number built + against is embedded into the module and can cause failures in users of this + module if they compare build-time and run-time versions of liblzma + * Tue Feb 08 2011 Fedora Release Engineering - 2.033-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild