[packages/perl-Compress-LZO] - updated to 1.09 - removed obsolete lzo2 patch
qboosh
qboosh at pld-linux.org
Fri Jul 7 19:14:22 CEST 2017
commit 5a79bb6dc9b1e70f439c6bedd5d848bb9d15f657
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jul 7 19:15:59 2017 +0200
- updated to 1.09
- removed obsolete lzo2 patch
perl-Compress-LZO-lzo2.patch | 20 --------------------
perl-Compress-LZO.spec | 16 ++++++++--------
2 files changed, 8 insertions(+), 28 deletions(-)
---
diff --git a/perl-Compress-LZO.spec b/perl-Compress-LZO.spec
index b539927..7baab2c 100644
--- a/perl-Compress-LZO.spec
+++ b/perl-Compress-LZO.spec
@@ -8,15 +8,16 @@
Summary: Compress::LZO Perl module - interface to LZO compression library
Summary(pl.UTF-8): Moduł Perla Compress::LZO - interfejs do biblioteki kompresji LZO
Name: perl-Compress-LZO
-Version: 1.08
-Release: 18
+Version: 1.09
+Release: 1
License: GPL v2
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Compress/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 4266ea0cb23817dd02ead4f983c2604f
-Patch0: %{name}-lzo2.patch
+# Source0-md5: f37acc996444e23ac385ef38190afa74
URL: http://search.cpan.org/dist/Compress-LZO/
BuildRequires: lzo-devel >= 2.0
+BuildRequires: perl-Devel-CheckLib >= 0.9
+%{?with_tests:BuildRequires: perl-Test-Simple >= 0.94}
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,7 +38,6 @@ do kompresji zwykłych łańcuchów.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
%build
%{__perl} Makefile.PL \
@@ -59,9 +59,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc NEWS README
+%doc Changes README
%{perl_vendorarch}/Compress/LZO.pm
%dir %{perl_vendorarch}/auto/Compress/LZO
%{perl_vendorarch}/auto/Compress/LZO/autosplit.ix
-%attr(755,root,root) %{perl_vendorarch}/auto/Compress/LZO/*.so
-%{_mandir}/man3/*
+%attr(755,root,root) %{perl_vendorarch}/auto/Compress/LZO/LZO.so
+%{_mandir}/man3/Compress::LZO.3pm*
diff --git a/perl-Compress-LZO-lzo2.patch b/perl-Compress-LZO-lzo2.patch
deleted file mode 100644
index bf062ab..0000000
--- a/perl-Compress-LZO-lzo2.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- Compress-LZO-1.08/Makefile.PL.orig 2005-07-13 16:51:48.000000000 -0300
-+++ Compress-LZO-1.08/Makefile.PL 2005-07-13 16:55:28.000000000 -0300
-@@ -5,7 +5,7 @@
- # Change the path on the next line to point to the directory where
- # <lzoconf.h> and <lzo1x.h> can be found.
-
--#$LZO_INCLUDE = '-I/usr/include/lzo';
-+$LZO_INCLUDE = '-I/usr/include/lzo';
- #$LZO_INCLUDE = '-I/usr/local/include';
- #$LZO_INCLUDE = '-I/usr/local/include/lzo';
-
-@@ -21,7 +21,7 @@
- WriteMakefile(
- NAME => 'Compress::LZO',
- VERSION_FROM => 'LZO.pm',
-- LIBS => [ "$LZO_LIB -llzo" ],
-+ LIBS => [ "$LZO_LIB -llzo2" ],
- INC => "$LZO_INCLUDE",
- 'dist' => {COMPRESS=>'gzip', SUFFIX=>'gz'},
- );
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Compress-LZO.git/commitdiff/5a79bb6dc9b1e70f439c6bedd5d848bb9d15f657
More information about the pld-cvs-commit
mailing list