Hello community, here is the log from the commit of package perl-PAR for openSUSE:Factory checked in at 2015-04-15 16:23:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-PAR (Old) and /work/SRC/openSUSE:Factory/.perl-PAR.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-PAR" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-PAR/perl-PAR.changes 2013-01-10 22:33:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-PAR.new/perl-PAR.changes 2015-04-15 16:23:28.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Apr 13 18:07:17 UTC 2015 - co...@suse.com + +- updated to 1.008 + see /usr/share/doc/packages/perl-PAR/Changes + +------------------------------------------------------------------- Old: ---- PAR-1.007.tar.gz New: ---- PAR-1.008.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-PAR.spec ++++++ --- /var/tmp/diff_new_pack.HByetH/_old 2015-04-15 16:23:28.000000000 +0200 +++ /var/tmp/diff_new_pack.HByetH/_new 2015-04-15 16:23:28.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-PAR # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,37 +16,68 @@ # -%define cpan_name PAR - Name: perl-PAR +Version: 1.008 +Release: 0 +%define cpan_name PAR Summary: Perl Archive Toolkit -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Version: 1.007 -Release: 0 Url: http://search.cpan.org/dist/PAR/ -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/R/RS/RSCHUPP/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl -BuildRequires: perl >= 5.6.0 BuildRequires: perl-macros BuildRequires: perl(Archive::Zip) >= 1 BuildRequires: perl(AutoLoader) >= 5.66_02 -BuildRequires: perl(Digest) >= Module::Signature -BuildRequires: perl(File::Temp) >= 0.05 +BuildRequires: perl(Compress::Zlib) >= 1.3 BuildRequires: perl(PAR::Dist) >= 0.32 Requires: perl(Archive::Zip) >= 1 Requires: perl(AutoLoader) >= 5.66_02 -Requires: perl(Digest) >= Module::Signature -Requires: perl(File::Temp) >= 0.05 +Requires: perl(Compress::Zlib) >= 1.3 Requires: perl(PAR::Dist) >= 0.32 +Recommends: perl(Digest) >= Module::Signature +%{perl_requires} %description -This module lets you use special zip files, called Perl Archives, as +This module lets you use special zip files, called *P*erl *Ar*chives, as libraries from which Perl modules can be loaded. +It supports loading XS modules by overriding *DynaLoader* bootstrapping +methods; it writes shared object file to a temporary file at the time it is +needed. + +A _.par_ file is mostly a zip of the _blib/_ directory after the build +process of a CPAN distribution. To generate a _.par_ file yourself, all you +have to do is compress the modules under _arch/_ and _lib/_, e.g.: + + % perl Makefile.PL + % make + % cd blib + % zip -r mymodule.par arch/ lib/ + +Afterward, you can just use _mymodule.par_ anywhere in your '@INC', use +*PAR*, and it will Just Work. Support for generating _.par_ files is going +to be in the next (beyond 0.2805) release of Module::Build. + +For convenience, you can set the 'PERL5OPT' environment variable to '-MPAR' +to enable 'PAR' processing globally (the overhead is small if not used); +setting it to '-MPAR=/path/to/mylib.par' will load a specific PAR file. +Alternatively, consider using the _par.pl_ utility bundled with the the +PAR::Packer manpage distribution, or using the self-contained _parl_ +utility which is also distributed with the PAR::Packer manpage on machines +without PAR.pm installed. + +Note that self-containing scripts and executables created with _par.pl_ and +_pp_ may also be used as _.par_ archives: + + % pp -o packed.exe source.pl # generate packed.exe (see PAR::Packer) + % perl -MPAR=packed.exe other.pl # this also works + % perl -MPAR -Ipacked.exe other.pl # ditto + +Please see the /SYNOPSIS manpage for most typical use cases. + %prep %setup -q -n %{cpan_name}-%{version} @@ -59,18 +90,11 @@ %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf %{buildroot}%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf %{buildroot}%perl_archlib +%perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog README TODO +%defattr(-,root,root,755) +%doc AUTHORS Changes README TODO %changelog ++++++ PAR-1.007.tar.gz -> PAR-1.008.tar.gz ++++++ ++++ 5602 lines of diff (skipped)