[perl-Compress-Raw-Lzma] Add explicit version dependency on xz-libs
Paul Howarth
pghmcfc at fedoraproject.org
Wed Feb 9 16:45:51 UTC 2011
commit f106dc7b6f49cb9af6d04f0479ba9a08a55129a3
Author: Paul Howarth <paul at city-fan.org>
Date: Wed Feb 9 16:44:53 2011 +0000
Add explicit version dependency on xz-libs
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.
perl-Compress-Raw-Lzma.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
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 <paul at city-fan.org> - 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 <rel-eng at lists.fedoraproject.org> - 2.033-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the perl-devel
mailing list