Christian Wittmer
2011-01-15 12:18:28 +00:00
committed by Git OBS Bridge
parent 57d395731d
commit 062723a072
4 changed files with 115 additions and 85 deletions

View File

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

View File

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

View File

@@ -1,3 +1,46 @@
-------------------------------------------------------------------
Sat Jan 15 12:11:16 UTC 2011 - chris@computersalat.de
- update to 0.56
- Moved store/retrieve internals to Data::Serializer::Persistent
(internals only) This defers the inclusion of IO::File to happen
only if store or retrieve is called
- Added store/retireve to Data::Serializer::Raw
- 0.55 Fri Jan 14 2011
- Added support for Bencode, Convert::Bencode, and Convert::Bencode_XS
- Documentation updates
- 0.54 Thu Jan 13 2011
- Added Data::Serializer::Raw as a lightweight means of providing a
unified raw access to the underlying serializers also improved
caching of serializer object inside of Data::Serializer
Thanks to Peter Makholm <peter@makholm.net> for the profiling done
by Benchmark::Serialize
- 0.53 Mon Jan 10 2011
- Modified tests for XML::Simple - it has sub-dependencies on either
XML::Parser or XML::SAX the test harness was posting a failure if
neither of these were present. Now it will treat XML::Simple as
if it weren't installed if it is missing it's own depenencies.
This version only modifies the test harness no modification to
module code.
Thanks to the cpantesters automated reporting for finding this.
- 0.52 Mon Jan 3 2011
- Simplfied object by removing %_internal references, base
$serializer object is much simpler now. This eliminated the need
for an overridden DESTROY method, and should truly fix the memory
leak problem originally reported by fabrice@dulaunoy.com,
essentially it was confusing the Garbage collector (Fix Bug#39592)
- 0.51 Wed Dec 29 2010
- Modified JSON deserializer to handle corrupt input (Bug#63259)
Thanks to neil.whelchel@gmail.com for report and patch
- 0.50 Wed Dec 29 2010
- Modified dedigest function to armor against corrupt input values
(Bug#63258)
Thanks to neil.whelchel@gmail.com for report and patch
- 0.49 Tue Apr 15 2009
- Modified XML::Simple serializer to support options patch supplied
by John Alden <john_a_alden@hotmail.com>
- changelog to changes file
-------------------------------------------------------------------
Wed Dec 1 13:31:38 UTC 2010 - coolo@novell.com
@@ -16,3 +59,8 @@ Fri Jun 19 00:54:45 CEST 2009 - chris@computersalat.de
- added perl-macros
o autogen filelist with perl_gen_filelist
-------------------------------------------------------------------
Mon Aug 25 00:06:01 UTC 2008 - chris@computersalat.de
- initial Package 0.48

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Serializer
# spec file for package perl-Data-Serializer (Version 0.56)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,119 +15,101 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
Name: perl-Data-Serializer
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Modules that serialize data structures
Version: 0.49
Version: 0.56
Release: 1
License: GPL/artistic
License: GPL+ or Artistic
%define cpan_name Data-Serializer
Summary: Modules that serialize data structures
Url: http://search.cpan.org/dist/Data-Serializer/
Group: Development/Libraries/Perl
Url: http://www.cpan.org
Source0: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
#Source: http://www.cpan.org/authors/id/N/NE/NEELY/Data-Serializer-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl(AutoLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(Data::Dumper) >= 2.08
BuildRequires: perl(IO::File)
BuildRequires: perl(MIME::Base64)
BuildRequires: perl(Storable)
# other not perl || perl-base
BuildRequires: perl(Compress::Zlib)
BuildRequires: perl(Bencode)
#BuildRequires: perl(Compress::PPMd)
BuildRequires: perl(Config::General)
BuildRequires: perl(Crypt::CBC)
BuildRequires: perl(Convert::Bencode)
BuildRequires: perl(Convert::Bencode_XS)
BuildRequires: perl(Crypt::Blowfish)
BuildRequires: perl(Crypt::CBC)
BuildRequires: perl(Data::Denter)
BuildRequires: perl(Data::Dumper) >= 2.08
BuildRequires: perl(Data::Taxi)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Digest::SHA1)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(FreezeThaw)
BuildRequires: perl(IO::File)
BuildRequires: perl(JSON)
BuildRequires: perl(JSON::XS)
BuildRequires: perl(JSON::Syck)
BuildRequires: perl(JSON::XS)
BuildRequires: perl(PHP::Serialization)
BuildRequires: perl(XML::Simple)
BuildRequires: perl(XML::Dumper)
BuildRequires: perl(XML::Simple)
BuildRequires: perl(YAML)
BuildRequires: perl(YAML::Syck)
# Compress::PPMd not available for 64bit
#%ifarch ix86
#BuildRequires: perl(Compress::PPMd)
#Requires: perl(Compress::PPMd)
#%endif
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
Requires: perl(AutoLoader)
Requires: perl(Exporter)
Requires: perl(Data::Dumper) >= 2.08
Requires: perl(IO::File)
Requires: perl(MIME::Base64)
Requires: perl(Storable)
# other not perl || perl-base
Requires: perl(Compress::Zlib)
Requires: perl(Bencode)
#Requires: perl(Compress::PPMd)
Requires: perl(Config::General)
Requires: perl(Crypt::CBC)
Requires: perl(Convert::Bencode)
Requires: perl(Convert::Bencode_XS)
Requires: perl(Crypt::Blowfish)
Requires: perl(Crypt::CBC)
Requires: perl(Data::Denter)
Requires: perl(Data::Dumper) >= 2.08
Requires: perl(Data::Taxi)
Requires: perl(Digest::SHA)
Requires: perl(Digest::SHA1)
Requires: perl(Exporter)
Requires: perl(FreezeThaw)
Requires: perl(IO::File)
Requires: perl(JSON)
Requires: perl(JSON::XS)
Requires: perl(JSON::Syck)
Requires: perl(JSON::XS)
Requires: perl(PHP::Serialization)
Requires: perl(XML::Simple)
Requires: perl(XML::Dumper)
Requires: perl(XML::Simple)
Requires: perl(YAML)
Requires: perl(YAML::Syck)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
%{cpan_name} module for perl
Provides a unified interface to the various serializing modules
currently available. Adds the functionality of both compression and
encryption.
Author: Neil Neely <neil (at) neely.cx>
Provides a unified interface to the various serializing modules currently
available. Adds the functionality of both compression and encryption.
By default the Data::Serializer(3) manpage adds minor metadata and encodes
serialized data structures in it's own format. If you are looking for a
simple unified pass through interface to the underlying serializers then
look into the Data::Serializer::Raw(3) manpage that comes bundled with the
Data::Serializer(3) manpage.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
./Build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install
%perl_process_packlist
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root)
%doc Changes INSTALL README
%defattr(644,root,root,755)
%doc Changes examples README
%changelog
* Mon Aug 25 2008 - rpm@scorpio-it.net - 0.48
- initial Package