8
0
Christian Wittmer
2011-03-04 18:45:51 +00:00
committed by Git OBS Bridge
parent 74ff057dea
commit eba4596edb
4 changed files with 47 additions and 37 deletions

View File

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

View File

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

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Mar 4 18:42:14 UTC 2011 - chris@computersalat.de
- update to 0.34
- Fix keys and values like '010' being serialized as strings as expected
rather than being turned into ints. (RT#48594)
- 0.33 2009-07-14
- Added ability to store the order of the keys on decoding
PHP assoc array (Alexander Bassilov)
- Added ability to sort the keys on encoding HASHes (Alexander
Bassilov)
- recreated by cpanspec 1.78.03
o noarch pkg
- mv changelog to changes file
-------------------------------------------------------------------
Tue Nov 30 19:20:39 UTC 2010 - coolo@novell.com
@@ -44,3 +59,9 @@ Sun Jun 21 03:04:11 CEST 2009 - chris@computersalat.de
by <kcivey [...] cpcug.org>
- added perl-macros
o autogen filelist with perl_gen_filelist
-------------------------------------------------------------------
Mon Aug 25 19:46:19 UTC 2008 - rpm@scorpio-it.net
- initial Package 0.27

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-PHP-Serialization
#
# 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,45 +15,37 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
Name: perl-PHP-Serialization
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: De-/serialize() PHP output into Perl
Version: 0.32
Version: 0.34
Release: 1
License: artistic
Group: Applications/CPAN
Url: http://www.cpan.org
Source0: %{cpan_name}-%{version}.tar.gz
License: GPL+ or Artistic
%define cpan_name PHP-Serialization
Summary: De-/serialize() PHP output into Perl
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/PHP-Serialization/
#Source: http://www.cpan.org/authors/id/B/BO/BOBTFISH/PHP-Serialization-0.34.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(Module::Build)
%{perl_requires}
%description
%{cpan_name} module for perl
This module provides a quick, clean, and simple means of decoding/encoding PHP
serialized memory structures/objects into compatible Perl memory structures.
It provides both a Object oriented methodology, as well as function based
wrappers using the same calling interface
as PHP`s serialize()/unserialize() functions.
Author: Jesse Brown <jbrown@cpan.org>
Provides a simple, quick means of serializing perl memory structures
(including object data!) into a format that PHP can deserialize() and
access, and vice versa.
NOTE: Converts PHP arrays into Perl Arrays when the PHP array used
exclusively numeric indexes, and into Perl Hashes then the PHP array did
not.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
@@ -63,14 +55,11 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%defattr(644,root,root,755)
%doc Changes README
%changelog
* Mon Aug 25 2008 - rpm@scorpio-it.net - 0.27
- initial Package