Compare commits

...

10 Commits

Author SHA256 Message Date
a14eb334ee Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=11
2024-07-20 20:45:10 +00:00
Lars Vogdt
bfe2188e3f Accepting request 769405 from devel:languages:perl:autoupdate
- updated to 0.65
   see /usr/share/doc/packages/perl-Data-Serializer/Changes
  0.65 
  	Fix Test::Pod coverage failures
  0.64 
  	Fix Test::Pod failures
  0.63 Thr Jan 30 2020
  	Actually fix the github repo link
  0.62 Thr Jan 30 2020
  	Add links to github repository
  0.61 Thr Jan 30 2020
      Disable support for LoadBlessed in YAML objects.  See http://blogs.perl.org/users/tinita/2020/01/making-yamlpm-yamlsyck-and-yamlxs-safer-by-default.html
      for details

OBS-URL: https://build.opensuse.org/request/show/769405
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=10
2020-02-03 12:01:03 +00:00
Stephan Kulow
5bab0b85d8 Accepting request 295855 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/295855
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=9
2015-04-14 08:06:24 +00:00
Stephan Kulow
7910b874f7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=8 2011-11-11 11:15:53 +00:00
Christian Wittmer
6b1159ac6c update to 0.57
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=7
2011-03-04 16:35:11 +00:00
Christian Wittmer
062723a072 update to 0.56
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=6
2011-01-15 12:18:28 +00:00
Stephan Kulow
57d395731d always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=5
2010-12-03 14:00:58 +00:00
Stephan Kulow
390d64aabd siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=4
2010-12-01 13:42:15 +00:00
Christian Wittmer
ea2516f99d clean up spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=3
2009-07-25 17:36:24 +00:00
Christian Wittmer
510a3281ad spec fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Serializer?expand=0&rev=2
2009-06-21 13:34:54 +00:00
5 changed files with 229 additions and 114 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:12155a5200033d80a5f07573775f493f170072cf7b28ae3ca2d152b591971f11
size 43582

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,6 +1,135 @@
-------------------------------------------------------------------
Sun Feb 2 03:10:14 UTC 2020 - <timueller+perl@suse.de>
- updated to 0.65
see /usr/share/doc/packages/perl-Data-Serializer/Changes
0.65 Sat Feb 1 2020
Fix Test::Pod coverage failures
0.64 Fri Jan 31 2020
Fix Test::Pod failures
0.63 Thr Jan 30 2020
Actually fix the github repo link
0.62 Thr Jan 30 2020
Add links to github repository
0.61 Thr Jan 30 2020
Disable support for LoadBlessed in YAML objects. See http://blogs.perl.org/users/tinita/2020/01/making-yamlpm-yamlsyck-and-yamlxs-safer-by-default.html
for details
-------------------------------------------------------------------
Mon Apr 13 18:24:27 UTC 2015 - coolo@suse.com
- updated to 0.60
see /usr/share/doc/packages/perl-Data-Serializer/Changes
0.60 Tue Aug 20 2013
Move some non-critical tests from t/ to xt/ as they are not needed
for verifying functionality of the module, merely ensuring a clean release.
No changes to core Data::Serializer functionality with this release.
0.59 Thr Jun 16 2011
XML::Simple utf8 testing disabled, looks like XML::SAX works with utf8, but XML::Parser does not
Recommend against using XML::Simple if you need to work with utf8 until this is resolved
Fixes http://rt.cpan.org/Public/Bug/Display.html?id=68871
Thanks to perl testers - Robert Buels rmb32@cornell.edu in particular
0.58 Tue Jun 14 2011
- Added utf8 to the decode in the JSON deserializing code. Fixes https://rt.cpan.org/Public/Bug/Display.html?id=68125
Thanks to colink@perldreamer.com for finding the bug and supplying good tests and a suggested fix and to
lp@sunnyspot.org for the suggested ->utf8-> fix (which really was functionally identical to what colink recommended)
-------------------------------------------------------------------
Mon Apr 13 18:24:26 UTC 2015 - coolo@suse.com
- updated to 0.59
see /usr/share/doc/packages/perl-Data-Serializer/Changes
0.59 Thr Jun 16 2011
XML::Simple utf8 testing disabled, looks like XML::SAX works with utf8, but XML::Parser does not
Recommend against using XML::Simple if you need to work with utf8 until this is resolved
Fixes http://rt.cpan.org/Public/Bug/Display.html?id=68871
Thanks to perl testers - Robert Buels rmb32@cornell.edu in particular
0.58 Tue Jun 14 2011
- Added utf8 to the decode in the JSON deserializing code. Fixes https://rt.cpan.org/Public/Bug/Display.html?id=68125
Thanks to colink@perldreamer.com for finding the bug and supplying good tests and a suggested fix and to
lp@sunnyspot.org for the suggested ->utf8-> fix (which really was functionally identical to what colink recommended)
-------------------------------------------------------------------
Fri Mar 4 16:30:48 UTC 2011 - chris@computersalat.de
- update to 0.57
- Updated remainder of test suite to armor against XML::Simple
dependency problems that I first attempted to fix in 0.53.
Only modified tests, no change to module code
Thanks to the cpantesters automated reporting for finding this.
- recreated by cpanspec 1.78.03
- fix deps
o removed Digest::SHA1
-------------------------------------------------------------------
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
- switch to perl_requires macro
-------------------------------------------------------------------
Sat Jul 25 19:36:21 CEST 2009 - chris@computersalat.de
- spec mods
* removed ^----------
* removed ^#---------
-------------------------------------------------------------------
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
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,137 +12,95 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
%define cpan_name Data-Serializer
Name: perl-Data-Serializer
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Version: 0.650.0
Release: 0
# 0.65 -> normalize -> 0.650.0
%define cpan_version 0.65
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Modules that serialize data structures
Version: 0.49
Release: 1
License: GPL/artistic
Group: Development/Libraries/Perl
Url: http://www.cpan.org
Source0: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEELY/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
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
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(Config::General)
BuildRequires: perl(Crypt::CBC)
BuildRequires: perl(Crypt::Blowfish)
BuildRequires: perl(Data::Denter)
BuildRequires: perl(Data::Taxi)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Digest::SHA1)
BuildRequires: perl(FreezeThaw)
BuildRequires: perl(JSON)
BuildRequires: perl(JSON::XS)
BuildRequires: perl(JSON::Syck)
BuildRequires: perl(PHP::Serialization)
BuildRequires: perl(XML::Simple)
BuildRequires: perl(XML::Dumper)
BuildRequires: perl(YAML)
BuildRequires: perl(YAML::Syck)
BuildRequires: perl(Module::Build) >= 0.35
Requires: perl(Digest::SHA)
Provides: perl(Data::Serializer) = %{version}
Provides: perl(Data::Serializer::Bencode) = 0.30.0
Provides: perl(Data::Serializer::Config::General) = 0.20.0
Provides: perl(Data::Serializer::Convert::Bencode) = 0.30.0
Provides: perl(Data::Serializer::Convert::Bencode_XS) = 0.30.0
Provides: perl(Data::Serializer::Cookbook) = 0.50.0
Provides: perl(Data::Serializer::Data::Denter) = 0.20.0
Provides: perl(Data::Serializer::Data::Dumper) = 0.50.0
Provides: perl(Data::Serializer::Data::Taxi) = 0.20.0
Provides: perl(Data::Serializer::FreezeThaw) = 0.20.0
Provides: perl(Data::Serializer::JSON) = 0.40.0
Provides: perl(Data::Serializer::JSON::Syck) = 0.20.0
Provides: perl(Data::Serializer::PHP::Serialization) = 0.20.0
Provides: perl(Data::Serializer::Persistent) = 0.10.0
Provides: perl(Data::Serializer::Raw) = 0.20.0
Provides: perl(Data::Serializer::Storable) = 0.30.0
Provides: perl(Data::Serializer::XML::Dumper) = 0.20.0
Provides: perl(Data::Serializer::XML::Simple) = 0.30.0
Provides: perl(Data::Serializer::YAML) = 0.30.0
Provides: perl(Data::Serializer::YAML::Syck) = 0.30.0
%undefine __perllib_provides
Recommends: perl(Bencode)
Recommends: perl(Compress::PPMd)
Recommends: perl(Compress::Zlib)
Recommends: perl(Config::General)
Recommends: perl(Convert::Bencode)
Recommends: perl(Convert::Bencode_XS)
Recommends: perl(Crypt::Blowfish)
Recommends: perl(Crypt::CBC)
Recommends: perl(Data::Denter)
Recommends: perl(Data::Taxi)
Recommends: perl(FreezeThaw)
Recommends: perl(JSON)
Recommends: perl(JSON::Syck)
Recommends: perl(JSON::XS)
Recommends: perl(PHP::Serialization)
Recommends: perl(XML::Dumper)
Recommends: perl(XML::Simple)
Recommends: perl(YAML)
Recommends: perl(YAML::Syck)
%{perl_requires}
# Compress::PPMd not available for 64bit
#%ifarch ix86
#BuildRequires: perl(Compress::PPMd)
#Requires: perl(Compress::PPMd)
#%endif
Requires: perl = %{perl_version}
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(Config::General)
Requires: perl(Crypt::CBC)
Requires: perl(Crypt::Blowfish)
Requires: perl(Data::Denter)
Requires: perl(Data::Taxi)
Requires: perl(Digest::SHA)
Requires: perl(Digest::SHA1)
Requires: perl(FreezeThaw)
Requires: perl(JSON)
Requires: perl(JSON::XS)
Requires: perl(JSON::Syck)
Requires: perl(PHP::Serialization)
Requires: perl(XML::Simple)
Requires: perl(XML::Dumper)
Requires: perl(YAML)
Requires: perl(YAML::Syck)
#----------------------------------------------------------------------------------
%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.
Provides a unified interface to the various serializing modules
currently available. Adds the functionality of both compression and
encryption.
By default Data::Serializer(3) 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
Data::Serializer::Raw(3) that comes bundled with Data::Serializer(3).
Author: Neil Neely <neil (at) neely.cx>
-------------------------------------------------------------------------------
#----------------------------------------------------------------------------------
%prep
#----------------------------------------------------------------------------------
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
#----------------------------------------------------------------------------------
%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
#----------------------------------------------------------------------------------
%files -f %{name}.files
#----------------------------------------------------------------------------------
%defattr(-,root,root)
%doc Changes INSTALL README
%doc Changes examples README
#----------------------------------------------------------------------------------
%changelog
#----------------------------------------------------------------------------------
* Mon Aug 25 2008 - rpm@scorpio-it.net - 0.48
- initial Package