8
0

- update to 2.040

* croak if attempt to freeze/thaw compression object
        [RT #69985]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Compress-Raw-Zlib?expand=0&rev=19
This commit is contained in:
Vítězslav Čížek
2011-10-31 08:25:45 +00:00
committed by Git OBS Bridge
parent 8185a0bd96
commit f459dac865
4 changed files with 24 additions and 28 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edf0c8f4002a0487955f9debccd4064f254c3ed146b8f63a8f98624d65dff9a1
size 221145

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb1396842b3452c31a37e8197bfdc6318a6c3093576f21293f3fca2d5c542087
size 221342

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Oct 31 02:34:22 UTC 2011 - vcizek@suse.com
- update to 2.040
* croak if attempt to freeze/thaw compression object
[RT #69985]
-------------------------------------------------------------------
Thu Jun 23 07:50:35 UTC 2011 - vcizek@novell.com

View File

@@ -15,25 +15,23 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Compress-Raw-Zlib
%define cpan_name Compress-Raw-Zlib
Summary: Perl interface to the zlib compression library
Version: 2.037
Version: 2.040
Release: 1
License: BSD3c and (GPL+ or Artistic)
Group: Development/Libraries/Perl
%define cpan_name Compress-Raw-Zlib
Summary: Perl interface to the zlib compression library
Url: http://cpan.org/modules/by-module/Compress/
Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/%{cpan_name}-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl-macros
Provides: %{cpan_name}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Pod) >= 1.00
Provides: %{cpan_name}
%description
@@ -41,46 +39,37 @@ Provides: %{cpan_name}
This module provides a Perl interface to the zlib compression library.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
CFLAGS="%{optflags}" perl Makefile.PL
make
%check
%{__make} test
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root)
%doc Changes README
%post
## This will only have an effect if you run rpm -i --force,
## This will only have an effect if you run rpm -i --force,
## as /usr/share/man/man3/Compress::Raw::Zlib.3pm.gz
## is a direct file conflict with perl itself. bnc#617621
# %%perl_archlib /usr/lib/perl5/5.10.0/i586-linux-thread-multi
if [ -f %{perl_archlib}/Compress/Raw/Zlib.pm ]; then
if [ -f %{perl_archlib}/Compress/Raw/Zlib.pm ]; then
mv -f %{perl_archlib}/Compress/Raw/Zlib.pm \
%{perl_archlib}/Compress/Raw/Zlib.old.pm
fi
%changelog