Hello community, here is the log from the commit of package perl-PAR-Dist for openSUSE:Factory checked in at 2020-12-03 18:41:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-PAR-Dist (Old) and /work/SRC/openSUSE:Factory/.perl-PAR-Dist.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-PAR-Dist" Thu Dec 3 18:41:54 2020 rev:11 rq:852071 version:0.51 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-PAR-Dist/perl-PAR-Dist.changes 2013-06-14 16:47:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-PAR-Dist.new.5913/perl-PAR-Dist.changes 2020-12-03 18:43:15.318199424 +0100 @@ -1,0 +2,19 @@ +Tue Dec 1 03:13:24 UTC 2020 - Tina Müller <[email protected]> + +- updated to 0.51 + see /usr/share/doc/packages/perl-PAR-Dist/Changes + + 0.51 2020-11-30 + + - Fix problem with Cwd::realpath() + + Some versions of Cwd::realpath() must be called on an *existing* path, + otherwise they will return undef. + +------------------------------------------------------------------- +Wed Nov 18 03:11:15 UTC 2020 - Tina Müller <[email protected]> + +- updated to 0.50 + see /usr/share/doc/packages/perl-PAR-Dist/Changes + +------------------------------------------------------------------- Old: ---- PAR-Dist-0.49.tar.gz New: ---- PAR-Dist-0.51.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-PAR-Dist.spec ++++++ --- /var/tmp/diff_new_pack.d3XH3r/_old 2020-12-03 18:43:15.954200264 +0100 +++ /var/tmp/diff_new_pack.d3XH3r/_new 2020-12-03 18:43:15.958200270 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-PAR-Dist # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,28 +12,24 @@ # 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/ # Name: perl-PAR-Dist -Version: 0.49 +Version: 0.51 Release: 0 %define cpan_name PAR-Dist Summary: Create and manipulate PAR distributions -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/PAR-Dist/ -Source: http://www.cpan.org/authors/id/R/RS/RSCHUPP/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -#BuildRequires: perl(Archive::Unzip::Burst) -#BuildRequires: perl(Archive::Zip) -#BuildRequires: perl(LWP::Simple) -#BuildRequires: perl(Module::Signature) -#BuildRequires: perl(PAR::Dist) %{perl_requires} %description @@ -56,11 +52,11 @@ %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -70,5 +66,6 @@ %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README +%license LICENSE %changelog ++++++ PAR-Dist-0.49.tar.gz -> PAR-Dist-0.51.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PAR-Dist-0.49/Changes new/PAR-Dist-0.51/Changes --- old/PAR-Dist-0.49/Changes 2012-10-15 00:08:52.000000000 +0200 +++ new/PAR-Dist-0.51/Changes 2020-11-30 14:03:09.000000000 +0100 @@ -1,338 +1,191 @@ -By: rschupp on 2012/10/15 - * Fix RT #78194: PAR::Dist::parse_dist_name mis-parses par file name - Patch from KENO, thanks! - * This is 0.49. -____________________________________________________________________________ -By: smueller on 2011/11/05 - * Prefer MYMETA.yml over META.yml if possible. - * Try YAML implementations in different order (XS first). - * This is 0.48. -____________________________________________________________________________ -By: smueller on 2009/11/29 - * POD fixes (Frank Wiegand) - * This is 0.47. -____________________________________________________________________________ -By: smueller on 2009/07/31 - * Do not use Archive::Zip if its version is 1.28. - * This is 0.46. -____________________________________________________________________________ -By: smueller on 2009/02/20 - * Fix test skipping if certain optional dependencies couldn't be found. - * This is 0.45. -____________________________________________________________________________ -By: smueller on 2009/02/02 - * Abandon support for perl 5.005. - * Merging of the various requires-like META.yml sections in - merge_par. - * This is 0.44. -____________________________________________________________________________ -By: smueller on 2009/01/23 - * Don't rely on the return value of ExtUtils::Install::(un)?install - to indicate success or failure of the (un)?installation. - * This is 0.43. -____________________________________________________________________________ -By: smueller on 2009/01/03 - * Apply *correct* patch for blib_to_par across file system - boundaries from Radek. (Radek's patch was correct, just not my - application.) - * This is 0.42. -____________________________________________________________________________ -By: smueller on 2008/12/17 - * Apply patch for blib_to_par across file system boundaries from Radek. - * This is 0.41. -____________________________________________________________________________ -By: smueller on 2008/10/27 - * Rewrite parts of the install_par docs. - * Add the esoteric auto_inst_lib_conversion parameter to install_par. - * This is 0.40. -____________________________________________________________________________ -By: smueller on 2008/10/21 - * Add the "verbose" option to install_par and uninstall_par. - * Add the "uninstall_shadows" option to install_par. - * This is 0.39. -____________________________________________________________________________ -By: smueller on 2008/10/16 - * Fix _check_tools() to use *Foo{THING} syntax instead of \&{}. - * This is 0.38. -____________________________________________________________________________ -By: smueller on 2008/10/08 - * Fix the "Skip 03merge_meta tests if no A::Zip nor zip/unzip found." logic. - * Add more debug output to debug mode (system calls). - * Add internal _check_tools() sub which checks the availability of various - required tools (yaml, zip). - * This is 0.37. -____________________________________________________________________________ -By: smueller on 2008/09/30 - * Skip 03merge_meta tests if no YAML *DUMPER* could be found. - * Better debug output for the YAML-search. - * This is 0.36. -____________________________________________________________________________ -By: smueller on 2008/09/30 - * Skip 03merge_meta tests if no A::Zip nor zip/unzip found. - * Better error messages from _zip/_unzip - * This is 0.35. -____________________________________________________________________________ -By: smueller on 2008/09/24 - * Do not fail if _zip() doesn't return true, doh! - * This is 0.34. -____________________________________________________________________________ -By: smueller on 2008/09/17 - * Better diagnostics for the CPAN testers test failures. - * Extra -f check in _merge_meta. - * This is 0.33. -____________________________________________________________________________ -By: smueller on 2008/09/12 - * Version bump, fix tests. - * This is 0.32. -____________________________________________________________________________ -By: smueller on 2008/09/01 - * merge_par now requires a (i.e. any) YAML reader - * merge_par now merges the "provides" sections of the META.yml's - * blib_to_par now accepts a "quiet" option -____________________________________________________________________________ -By: smueller on 2008/05/28 - * Fix small bug in _unzip that could cause double extraction. - * This is 0.31. -____________________________________________________________________________ -By: smueller on 2008/02/06 - * Make file://foo.par URLs installable. - * This is 0.29. -____________________________________________________________________________ -By: smueller on 2008/02/05 - * Setting installation targets to undef with install_par - should remove them altogether now. This way, you can - make sure, some parts aren't installed. (Such as manpages - on win32) - * This is 0.28. - * Now hopefully back to bi-annual releases ;) -____________________________________________________________________________ -By: smueller on 2008/02/04 - * No more signature. I keep breaking things with it. - * This is 0.27. -____________________________________________________________________________ - -By: smueller on 2008/02/03 - * If the return code from LWP::Simple is 304/not modified, - then that's a success. So we shouldn't throw an error. - * This is 0.26. -____________________________________________________________________________ - -By: smueller on 2007/06/29 - * Use Archive::Unzip::Burst for unzipping if available. - * Some refactoring and code cleanup. - * This is 0.25. -____________________________________________________________________________ -By: smueller on 2007/07/20 - * Remove shebang from Makefile.PL. No assumptions about the user's perl. - * Port Makefile.PL to use ExtUtils::MakeMaker so I no longer need to - release for Module::Install upgrades. PAR::Dist wasn't using any of - the advanced features anyway! - * This is 0.24. -____________________________________________________________________________ -By: smueller on 2007/06/20 - * Add contains_binaries. - * This is 0.23 -____________________________________________________________________________ -By: smueller on 2007/04/30 - * Patch from Jos Boumans: Remove use of "static" variable. -____________________________________________________________________________ -By: smueller on 2006/10/28 - * parse_dist_name now supports versions starting with a 'v'. -____________________________________________________________________________ -By: smueller on 2006/10/12 - * _install_or_uninstall tries to remove the temporary directory - while cwd() is in that directory. That fails on win32 leaving - temporary directories on disk. This is now fixed. - * This is 0.21 -____________________________________________________________________________ -By: smueller on 2006/10/11 - * Added a more flexible way of using PAR::Dist::install_par's - custom target logic. - * This is 0.20 -____________________________________________________________________________ -By: smueller on 2006/10/02 - * Repaired PAR::Dist::install_par's custom target logic. -____________________________________________________________________________ -By: smueller on 2006/09/03 -Log: - * It's not possible to specify your own installation paths. - * Installation paths now documented. - * This is 0.19. -____________________________________________________________________________ -By: smueller on 2006/08/28 -Log: - * Added optional POD tests. -____________________________________________________________________________ -By: smueller on 2006/08/25 -Log: - * Added the generate_blib_stub method. - * Added parse_dist_name to @EXPORT_OK - * Upgraded Module::Install to 0.64 - * This is PAR::Dist 0.18. -____________________________________________________________________________ -By: smueller on 2006/08/23 -Log: - * Fixed merge_par for relative paths. - * This is PAR::Dist 0.17. -____________________________________________________________________________ -By: smueller on 2006/08/09 -Log: - * Fixed tests for parse_dist_name. - * Release 0.15_02 -____________________________________________________________________________ -By: smueller on 2006/08/02 -Log: - * Added the parse_dist_name routine which was previously shipped with - both PAR::Repository and PAR::Repository::Client. - * Changed the distribution name detection heuristics to favour the - distribution name determined from META.yml and then those from - parse_dist_name. - * Version bump to 0.15_01. -____________________________________________________________________________ -By: smueller on 2006/07/28 -Log: - * PAR::Dist would previously generate bad file names and META.yml if - the newlines contained Windows' \r. That's history. - * This is 0.15. -____________________________________________________________________________ -By: smueller on 2006/07/25 -Log: - * Changed the calling conventions of remove_man to better resemble - those of the other functions. (This is backwards compatible.) - * Added get_meta() function. - * Slight documentation fixes. - * Version bump to 0.15. -____________________________________________________________________________ -By: audreyt on 2006/07/19 -Log: - * The "version" field of META.yml files written by Module::Build - was not parsed correctly by the ad-hoc YAML parser. - Reported by: Jesse Vincent - * Remove the 0-signature.t. - * This be 0.14 -____________________________________________________________________________ -By: smueller on 2006/07/22 -Log: - * Added rudimentary support for installing to a prefix-ed location. - * Documented the new parameter "prefix" to install_par(); -____________________________________________________________________________ -By: smueller on 2006/07/22 -Log: - * Module::Install didn't regenerate META.yml because author bit - wasn't set. - * This is 0.13. (Sorry again, need to do this to make CPAN.pm happy.) -____________________________________________________________________________ -By: smueller on 2006/07/21 -Log: - * Found a couple of path-related bugs in the new functions of 0.11. - * This be 0.12. Sorry! -____________________________________________________________________________ -By: smueller on 2006/07/21 -Log: - * Fixed potential bugs where slashes were used as path separators. - Now using File::Spec everywhere (I think). - * Added merge_par() which merges two or more .par archives. - * Added remove_man() which removes all man pages and html docs from - a .par archive. - * Fixed a bit of indentation. (I know. Don't do it.) - * This be 0.11 -____________________________________________________________________________ -By: smueller on 2006/07/05 -Log: - * .par distributions fetched from URLs will now be installed as - distributions named "Module-Name" instead of - "http://foo.bar/path/Module-Name-0.01-architecture-version.par". - * Updated Module::Install to 0.63 - * This be 0.10 -____________________________________________________________________________ -By: smueller on 2006/05/20 -Log: - * Updated Module::Install to 0.62 - * This be 0.09 -____________________________________________________________________________ -By: smueller on 2006/02/13 -Log: - * Updated Module::Install - * Slight documentation fixes. - * This be 0.08 -____________________________________________________________________________ -[ 9539] By: autrijus on 2004/01/01 10:23:13 - Log: * This be 0.07. - * Do not use an identical README as PAR's. ;-) - ! README -____________________________________________________________________________ -[ 9530] By: autrijus on 2004/01/01 05:24:09 - Log: * bump version and switch to &WriteAll in Makefile.PL. - ! MANIFEST Makefile.PL lib/PAR/Dist.pm -____________________________________________________________________________ -[ 9245] By: autrijus on 2003/12/09 00:06:37 - Log: * manifest. - ! MANIFEST -____________________________________________________________________________ -[ 9244] By: autrijus on 2003/12/09 00:04:28 - Log: * switch to M::I-style Makefile.PL - ! MANIFEST Makefile.PL -____________________________________________________________________________ -[ 9243] By: autrijus on 2003/12/09 00:02:25 - Log: * This be 0.06. - ! lib/PAR/Dist.pm -____________________________________________________________________________ -[ 9242] By: autrijus on 2003/12/09 00:01:32 - Log: * patch from Ryan Briones to fix the case where - $args{name} is undefined. - ! lib/PAR/Dist.pm -____________________________________________________________________________ -[ 8456] By: autrijus on 2003/10/17 11:01:55 - Log: * add signature to makefile.pl - ! Makefile.PL -____________________________________________________________________________ -[ 8350] By: autrijus on 2003/10/06 17:22:45 - Log: * ekolve points out we are printing to a closed - filehandle META accidentally. - ! lib/PAR/Dist.pm -____________________________________________________________________________ -[ 7541] By: autrijus on 2003/08/14 15:58:33 - Log: * This be 0.05. - * Patch from Germain Garand: run MY->fixin for script/* - so different #! paths in script/ won't hurt each other - ! lib/PAR/Dist.pm -____________________________________________________________________________ -[ 7355] By: autrijus on 2003/08/06 08:32:56 - Log: * 0.04. - ! lib/PAR/Dist.pm -____________________________________________________________________________ -[ 7340] By: autrijus on 2003/08/05 00:42:54 - Log: * implements auto-appending -$suffix, so this is a valid - $dist: - http://example.com/Foo-Bar-0.01 - * implements cpan://AUTHOR/distname, so this is a valid - $dist: - cpan://AUTRIJUS/PAR-0.73 - ! lib/PAR/Dist.pm -____________________________________________________________________________ -[ 7150] By: autrijus on 2003/07/27 08:00:27 - Log: * no longer needs to guess version. - ! MANIFEST -____________________________________________________________________________ -[ 7149] By: autrijus on 2003/07/27 07:57:11 - Log: * This be 0.03. - * blib_to_par() was not correctly chdir'ing back to - original cwd. - * blib_to_par($path) did not work; it was erroneously - parsed as $dist. - ! Makefile.PL lib/PAR/Dist.pm -____________________________________________________________________________ -[ 7045] By: autrijus on 2003/07/19 01:40:46 - Log: * fix some doc errors - ! lib/PAR/Dist.pm -____________________________________________________________________________ -[ 6987] By: autrijus on 2003/07/16 06:14:55 - Log: * This be PAR::Dist, 0.01. - + MANIFEST Makefile.PL README t/0-signature.t - + t/1-basic.t - ! lib/PAR/Dist.pm -____________________________________________________________________________ -[ 6986] By: autrijus on 2003/07/16 03:26:03 - Log: * Initial check in of PAR-Dist, a module that manipulates - PAR distributions. - + lib/PAR/Dist.pm +0.51 2020-11-30 + +- Fix problem with Cwd::realpath() + + Some versions of Cwd::realpath() must be called on an *existing* path, + otherwise they will return undef. + +0.50 2020-11-17 + +- Fix RT#132067: fix for Archive::Zip related test failures due to symlinks + Thanks, Shawn Laffan! + +- create repo on GitHub, update metadata + +0.49 2012-10-15 + +- Fix RT #78194: PAR::Dist::parse_dist_name mis-parses par file name + +0.48 2011-11-05 + +- Prefer MYMETA.yml over META.yml if possible. +- Try YAML implementations in different order (XS first). + +0.47 2009-11-29 + +- POD fixes (Frank Wiegand) + +0.46 2009-07-31 + +- Do not use Archive::Zip if its version is 1.28. + +0.45 2009-02-20 + +- Fix test skipping if certain optional dependencies couldn't be found. + +0.44 2009-02-02 + +- Abandon support for perl 5.005. +- Merging of the various requires-like META.yml sections in merge_par. + +0.43 2009-01-23 + +- Don't rely on the return value of ExtUtils::Install::(un)?install + +0.42 2009-01-03 + +- Apply *correct* patch for blib_to_par across file system boundaries + +0.41 2008-12-17 + +- Apply patch for blib_to_par across file system boundaries from Radek. + +0.40 2008-10-27 + +- Rewrite parts of the install_par docs. +- Add the esoteric auto_inst_lib_conversion parameter to install_par. + +0.39 2008-10-21 + +- Add the "verbose" option to install_par and uninstall_par. +- Add the "uninstall_shadows" option to install_par. + +0.38 2008-10-16 + +- Fix _check_tools() to use *Foo{THING} syntax instead of \&{}. + +0.37 2008-10-08 + +- Fix the "Skip 03merge_meta tests if no A::Zip nor zip/unzip found." logic. +- Add more debug output to debug mode (system calls). +- Add internal _check_tools() sub which checks the availability of various + required tools (yaml, zip). + +0.36 2008-09-30 + +- Skip 03merge_meta tests if no YAML *DUMPER* could be found. +- Better debug output for the YAML-search. + +0.35 2008-09-30 + +- Skip 03merge_meta tests if no A::Zip nor zip/unzip found. +- Better error messages from _zip/_unzip + +0.34 2008-09-24 + +- Do not fail if _zip() doesn't return true, doh! + +0.33 2008-09-17 + +- Better diagnostics for the CPAN testers test failures. +- Extra -f check in _merge_meta. + +0.32 2008-09-12 + +- Version bump, fix tests. + +0.31 2008-05-28 + +- Fix small bug in _unzip that could cause double extraction. + +0.29 2008-02-06 + +- Make file://foo.par URLs installable. + +0.28 2008-02-05 + +- Setting installation targets to undef with install_par + should remove them altogether now. This way, you can + make sure, some parts aren't installed. (Such as manpages + on win32) + +0.27 2008-02-04 + +- No more signature. I keep breaking things with it. + +0.26 2008-02-03 + +- If the return code from LWP::Simple is 304/not modified, + then that's a success. So we shouldn't throw an error. + +0.25 2007-06-29 + +- Use Archive::Unzip::Burst for unzipping if available. + +0.24 2007-07-20 + +- Remove shebang from Makefile.PL. No assumptions about the user's perl. +- Port Makefile.PL to use ExtUtils::MakeMaker + +0.23 2007-06-20 + +- Add contains_binaries. + +0.21 2006-10-12 + +- _install_or_uninstall tries to remove the temporary directory + while cwd() is in that directory. That fails on win32 leaving + temporary directories on disk. This is now fixed. + +0.20 2006-10-11 + +- Added a more flexible way of using PAR::Dist::install_par's + custom target logic. + +0.19 2006-09-03 + +- It's not possible to specify your own installation paths. +- Installation paths now documented. + +0.15 2006-07-28 + +- PAR::Dist would previously generate bad file names and META.yml if + the newlines contained Windows' \r. That's history. + +0.14 2006-07-19 + +- The "version" field of META.yml files written by Module::Build + was not parsed correctly by the ad-hoc YAML parser. + +0.13 2006-07-22 + +- Module::Install didn't regenerate META.yml because author bit + wasn't set. + +0.12 2006-07-21 + +- Found a couple of path-related bugs in the new functions of 0.11. + +0.11 2006-07-21 + +- Fixed potential bugs where slashes were used as path separators. +- Added merge_par() which merges two or more .par archives. +- Added remove_man() which removes all man pages and html docs from + a .par archive. + +0.10 2006-07-05 + +- .par distributions fetched from URLs will now be installed as + distributions named "Module-Name" instead of + "http://foo.bar/path/Module-Name-0.01-architecture-version.par". +- Updated Module::Install to 0.63 + +0.09 2006-05-20 + +- Updated Module::Install to 0.62 + +0.08 2006-02-13 + +- Updated Module::Install +- Slight documentation fixes. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PAR-Dist-0.49/LICENSE new/PAR-Dist-0.51/LICENSE --- old/PAR-Dist-0.49/LICENSE 1970-01-01 01:00:00.000000000 +0100 +++ new/PAR-Dist-0.51/LICENSE 2020-11-12 14:36:08.000000000 +0100 @@ -0,0 +1,383 @@ +Copyright 2002-2010 by Audrey Tang <[email protected]>. +Copyright 2006-2010 by Steffen Mueller <[email protected]>. + +This is free software; you can redistribute it and/or modify it under +the same terms as the Perl 5 programming language system itself. + +Terms of the Perl programming language system itself + +a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or +b) the "Artistic License" + +--- The GNU General Public License, Version 1, February 1989 --- + +Copyright 2002-2010 by Audrey Tang <[email protected]>. +Copyright 2006-2010 by Steffen Mueller <[email protected]>. + +This is free software, licensed under: + + The GNU General Public License, Version 1, February 1989 + + GNU GENERAL PUBLIC LICENSE + Version 1, February 1989 + + Copyright (C) 1989 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The license agreements of most software companies try to keep users +at the mercy of those companies. By contrast, our General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. The +General Public License applies to the Free Software Foundation's +software and to any other program whose authors commit to using it. +You can use it for your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Specifically, the General Public License is designed to make +sure that you have the freedom to give away or sell copies of free +software, that you receive source code or can get it if you want it, +that you can change the software or use pieces of it in new free +programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of a such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must tell them their rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any program or other work which +contains a notice placed by the copyright holder saying it may be +distributed under the terms of this General Public License. The +"Program", below, refers to any such program or work, and a "work based +on the Program" means either the Program or any work containing the +Program or a portion of it, either verbatim or with modifications. Each +licensee is addressed as "you". + + 1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this +General Public License and to the absence of any warranty; and give any +other recipients of the Program a copy of this General Public License +along with the Program. You may charge a fee for the physical act of +transferring a copy. + + 2. You may modify your copy or copies of the Program or any portion of +it, and copy and distribute such modifications under the terms of Paragraph +1 above, provided that you also do the following: + + a) cause the modified files to carry prominent notices stating that + you changed the files and the date of any change; and + + b) cause the whole of any work that you distribute or publish, that + in whole or in part contains the Program or any part thereof, either + with or without modifications, to be licensed at no charge to all + third parties under the terms of this General Public License (except + that you may choose to grant warranty protection to some or all + third parties, at your option). + + c) If the modified program normally reads commands interactively when + run, you must cause it, when started running for such interactive use + in the simplest and most usual way, to print or display an + announcement including an appropriate copyright notice and a notice + that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under these + conditions, and telling the user how to view a copy of this General + Public License. + + d) You may charge a fee for the physical act of transferring a + copy, and you may at your option offer warranty protection in + exchange for a fee. + +Mere aggregation of another independent work with the Program (or its +derivative) on a volume of a storage or distribution medium does not bring +the other work under the scope of these terms. + + 3. You may copy and distribute the Program (or a portion or derivative of +it, under Paragraph 2) in object code or executable form under the terms of +Paragraphs 1 and 2 above provided that you also do one of the following: + + a) accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of + Paragraphs 1 and 2 above; or, + + b) accompany it with a written offer, valid for at least three + years, to give any third party free (except for a nominal charge + for the cost of distribution) a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of + Paragraphs 1 and 2 above; or, + + c) accompany it with the information you received as to where the + corresponding source code may be obtained. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form alone.) + +Source code for a work means the preferred form of the work for making +modifications to it. For an executable file, complete source code means +all the source code for all modules it contains; but, as a special +exception, it need not include source code for modules which are standard +libraries that accompany the operating system on which the executable +file runs, or for standard header files or definitions files that +accompany that operating system. + + 4. You may not copy, modify, sublicense, distribute or transfer the +Program except as expressly provided under this General Public License. +Any attempt otherwise to copy, modify, sublicense, distribute or transfer +the Program is void, and will automatically terminate your rights to use +the Program under this License. However, parties who have received +copies, or rights to use copies, from you under this General Public +License will not have their licenses terminated so long as such parties +remain in full compliance. + + 5. By copying, distributing or modifying the Program (or any work based +on the Program) you indicate your acceptance of this license to do so, +and all its terms and conditions. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the original +licensor to copy, distribute or modify the Program subject to these +terms and conditions. You may not impose any further restrictions on the +recipients' exercise of the rights granted herein. + + 7. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of the license which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +the license, you may choose any version ever published by the Free Software +Foundation. + + 8. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + Appendix: How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to humanity, the best way to achieve this is to make it +free software which everyone can redistribute and change under these +terms. + + To do so, attach the following notices to the program. It is safest to +attach them to the start of each source file to most effectively convey +the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) 19yy <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19xx name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the +appropriate parts of the General Public License. Of course, the +commands you use may be called something other than `show w' and `show +c'; they could even be mouse-clicks or menu items--whatever suits your +program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + program `Gnomovision' (a program to direct compilers to make passes + at assemblers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +That's all there is to it! + + +--- The Artistic License 1.0 --- + +Copyright 2002-2010 by Audrey Tang <[email protected]>. +Copyright 2006-2010 by Steffen Mueller <[email protected]>. + +This is free software, licensed under: + + The Artistic License 1.0 + +The Artistic License + +Preamble + +The intent of this document is to state the conditions under which a Package +may be copied, such that the Copyright Holder maintains some semblance of +artistic control over the development of the package, while giving the users of +the package the right to use and distribute the Package in a more-or-less +customary fashion, plus the right to make reasonable modifications. + +Definitions: + + - "Package" refers to the collection of files distributed by the Copyright + Holder, and derivatives of that collection of files created through + textual modification. + - "Standard Version" refers to such a Package if it has not been modified, + or has been modified in accordance with the wishes of the Copyright + Holder. + - "Copyright Holder" is whoever is named in the copyright or copyrights for + the package. + - "You" is you, if you're thinking about copying or distributing this Package. + - "Reasonable copying fee" is whatever you can justify on the basis of media + cost, duplication charges, time of people involved, and so on. (You will + not be required to justify it to the Copyright Holder, but only to the + computing community at large as a market that must bear the fee.) + - "Freely Available" means that no fee is charged for the item itself, though + there may be fees involved in handling the item. It also means that + recipients of the item may redistribute it under the same conditions they + received it. + +1. You may make and give away verbatim copies of the source form of the +Standard Version of this Package without restriction, provided that you +duplicate all of the original copyright notices and associated disclaimers. + +2. You may apply bug fixes, portability fixes and other modifications derived +from the Public Domain or from the Copyright Holder. A Package modified in such +a way shall still be considered the Standard Version. + +3. You may otherwise modify your copy of this Package in any way, provided that +you insert a prominent notice in each changed file stating how and when you +changed that file, and provided that you do at least ONE of the following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or an + equivalent medium, or placing the modifications on a major archive site + such as ftp.uu.net, or by allowing the Copyright Holder to include your + modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict with + standard executables, which must also be provided, and provide a separate + manual page for each non-standard executable that clearly documents how it + differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + +4. You may distribute the programs of this Package in object code or executable +form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where to + get the Standard Version. + + b) accompany the distribution with the machine-readable source of the Package + with your modifications. + + c) accompany any non-standard executables with their corresponding Standard + Version executables, giving the non-standard executables non-standard + names, and clearly documenting the differences in manual pages (or + equivalent), together with instructions on where to get the Standard + Version. + + d) make other distribution arrangements with the Copyright Holder. + +5. You may charge a reasonable copying fee for any distribution of this +Package. You may charge any fee you choose for support of this Package. You +may not charge a fee for this Package itself. However, you may distribute this +Package in aggregate with other (possibly commercial) programs as part of a +larger (possibly commercial) software distribution provided that you do not +advertise this Package as a product of your own. + +6. The scripts and library files supplied as input to or produced as output +from the programs of this Package do not automatically fall under the copyright +of this Package, but belong to whomever generated them, and may be sold +commercially, and may be aggregated with this Package. + +7. C or perl subroutines supplied by you and linked into this Package shall not +be considered part of this Package. + +8. The name of the Copyright Holder may not be used to endorse or promote +products derived from this software without specific prior written permission. + +9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +The End + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PAR-Dist-0.49/MANIFEST new/PAR-Dist-0.51/MANIFEST --- old/PAR-Dist-0.49/MANIFEST 2012-10-15 00:11:18.000000000 +0200 +++ new/PAR-Dist-0.51/MANIFEST 2020-11-30 14:03:45.000000000 +0100 @@ -1,5 +1,6 @@ Changes lib/PAR/Dist.pm +LICENSE Makefile.PL MANIFEST This list of files README diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PAR-Dist-0.49/META.json new/PAR-Dist-0.51/META.json --- old/PAR-Dist-0.49/META.json 2012-10-15 00:11:18.000000000 +0200 +++ new/PAR-Dist-0.51/META.json 2020-11-30 14:03:45.000000000 +0100 @@ -4,13 +4,13 @@ "Audrey Tang <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921", + "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010", "license" : [ - "unknown" + "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "PAR-Dist", "no_index" : { @@ -37,8 +37,25 @@ "File::Spec" : "0", "File::Temp" : "0" } + }, + "test" : { + "requires" : { + "Test::More" : "0" + } } }, "release_status" : "stable", - "version" : "0.49" + "resources" : { + "bugtracker" : { + "web" : "https://rt.cpan.org/Dist/Display.html?Queue=PAR-Dist" + }, + "repository" : { + "type" : "git", + "url" : "git://github.com/rschupp/PAR-Dist.git", + "web" : "https://github.com/rschupp/PAR-Dist" + }, + "x_MailingList" : "mailto:[email protected]" + }, + "version" : "0.51", + "x_serialization_backend" : "JSON::PP version 4.05" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PAR-Dist-0.49/META.yml new/PAR-Dist-0.51/META.yml --- old/PAR-Dist-0.49/META.yml 2012-10-15 00:11:18.000000000 +0200 +++ new/PAR-Dist-0.51/META.yml 2020-11-30 14:03:45.000000000 +0100 @@ -3,23 +3,29 @@ author: - 'Audrey Tang <[email protected]>' build_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' + Test::More: '0' configure_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921' -license: unknown +generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010' +license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: PAR-Dist no_index: directory: - t - inc requires: - File::Find: 0 - File::Path: 0 - File::Spec: 0 - File::Temp: 0 -version: 0.49 + File::Find: '0' + File::Path: '0' + File::Spec: '0' + File::Temp: '0' +resources: + MailingList: mailto:[email protected] + bugtracker: https://rt.cpan.org/Dist/Display.html?Queue=PAR-Dist + repository: git://github.com/rschupp/PAR-Dist.git +version: '0.51' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PAR-Dist-0.49/Makefile.PL new/PAR-Dist-0.51/Makefile.PL --- old/PAR-Dist-0.49/Makefile.PL 2012-10-14 19:47:27.000000000 +0200 +++ new/PAR-Dist-0.51/Makefile.PL 2020-11-12 15:17:05.000000000 +0100 @@ -1,18 +1,64 @@ -use 5.006; +use 5.008; + use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. -WriteMakefile( - NAME => 'PAR::Dist', - VERSION_FROM => 'lib/PAR/Dist.pm', # finds $VERSION - PREREQ_PM => { - 'File::Find' => '0', - 'File::Path' => '0', - 'File::Spec' => '0', - 'File::Temp' => '0', - }, # e.g., Module::Name => 1.1 - ($] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => 'lib/PAR/Dist.pm', # retrieve abstract from module - AUTHOR => 'Audrey Tang <[email protected]>') : ()), + +WriteMakefile1( + NAME => 'PAR::Dist', + VERSION_FROM => 'lib/PAR/Dist.pm', + ABSTRACT_FROM => 'lib/PAR/Dist.pm', + LICENSE => 'perl_5', + AUTHOR => [ 'Audrey Tang <[email protected]>' ], + PREREQ_PM => { + 'File::Find' => '0', + 'File::Path' => '0', + 'File::Spec' => '0', + 'File::Temp' => '0', + }, + TEST_REQUIRES => { + 'Test::More' => 0, + }, + + META_MERGE => { + 'meta-spec' => { version => 2 }, + resources => { + repository => { + type => 'git', + url => 'git://github.com/rschupp/PAR-Dist.git', + web => 'https://github.com/rschupp/PAR-Dist', + }, + MailingList => 'mailto:[email protected]', + bugtracker => { web => 'https://rt.cpan.org/Dist/Display.html?Queue=PAR-Dist' }, + }, + }, ); + +sub WriteMakefile1 { #Compatibility code for old versions of EU::MM. Written by Alexandr Ciornii, version 2. Added by eumm-upgrade. + my %params=@_; + my $eumm_version=$ExtUtils::MakeMaker::VERSION; + $eumm_version=eval $eumm_version; + die "EXTRA_META is deprecated" if exists $params{EXTRA_META}; + die "License not specified" if not exists $params{LICENSE}; + if ($params{AUTHOR} and ref($params{AUTHOR}) eq 'ARRAY' and $eumm_version < 6.5705) { + $params{META_ADD}->{author}=$params{AUTHOR}; + $params{AUTHOR}=join(', ',@{$params{AUTHOR}}); + } + if ($params{TEST_REQUIRES} and $eumm_version < 6.64) { + $params{BUILD_REQUIRES}={ %{$params{BUILD_REQUIRES} || {}} , %{$params{TEST_REQUIRES}} }; + delete $params{TEST_REQUIRES}; + } + if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) { + #EUMM 6.5502 has problems with BUILD_REQUIRES + $params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} }; + delete $params{BUILD_REQUIRES}; + } + delete $params{CONFIGURE_REQUIRES} if $eumm_version < 6.52; + delete $params{MIN_PERL_VERSION} if $eumm_version < 6.48; + delete $params{META_MERGE} if $eumm_version < 6.46; + delete $params{META_ADD} if $eumm_version < 6.46; + delete $params{LICENSE} if $eumm_version < 6.31; + + WriteMakefile(%params); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PAR-Dist-0.49/README new/PAR-Dist-0.51/README --- old/PAR-Dist-0.49/README 2012-10-14 19:47:27.000000000 +0200 +++ new/PAR-Dist-0.51/README 2020-11-12 15:09:15.000000000 +0100 @@ -8,19 +8,24 @@ PAR::Dist uses the standard perl module install process: -perl Makefile.PL -make # or 'nmake' on Win32 -make test -make install + perl Makefile.PL + make + make test + make install + +* Source Repository + +You can check out the most recent revision from PAR's GitHub repository: + + https://github.com/rschupp/PAR-Dist * Contact -PAR has a mailing list, <[email protected]>, that you can write to; -send an empty mail to <[email protected]> to join the list -and participate in the discussion. For web-accessible archives, -see <http://nntp.x.perl.org/group/perl.par/>. +You can write +to the mailing list at <[email protected]>, or send an empty mail to +<[email protected]> to participate in the discussion. -Please send bug reports to <[email protected]>. +Please submit bug reports to <[email protected]>. * Copyright @@ -29,4 +34,4 @@ All rights reserved. You can redistribute and/or modify this bundle under the same terms as Perl itself. -See <http://www.perl.com/perl/misc/Artistic.html>. +See LICENSE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PAR-Dist-0.49/lib/PAR/Dist.pm new/PAR-Dist-0.51/lib/PAR/Dist.pm --- old/PAR-Dist-0.49/lib/PAR/Dist.pm 2012-10-15 00:09:06.000000000 +0200 +++ new/PAR-Dist-0.51/lib/PAR/Dist.pm 2020-11-30 14:00:21.000000000 +0100 @@ -4,7 +4,7 @@ require Exporter; use vars qw/$VERSION @ISA @EXPORT @EXPORT_OK $DEBUG/; -$VERSION = '0.49'; # Change version in POD, too! +$VERSION = '0.51'; @ISA = 'Exporter'; @EXPORT = qw/ blib_to_par @@ -32,10 +32,6 @@ PAR::Dist - Create and manipulate PAR distributions -=head1 VERSION - -This document describes version 0.47 of PAR::Dist, released November 29, 2009. - =head1 SYNOPSIS As a shell command: @@ -61,7 +57,7 @@ This module creates and manipulates I<PAR distributions>. They are architecture-specific B<PAR> files, containing everything under F<blib/> of CPAN distributions after their C<make> or C<Build> stage, a -F<META.yml> describing metadata of the original CPAN distribution, +F<META.yml> describing metadata of the original CPAN distribution, and a F<MANIFEST> detailing all files within it. Digitally signed PAR distributions will also contain a F<SIGNATURE> file. @@ -168,7 +164,7 @@ my @files; open MANIFEST, ">", File::Spec->catfile("blib", "MANIFEST") or die $!; open META, ">", File::Spec->catfile("blib", "META.yml") or die $!; - + require File::Find; File::Find::find( sub { next unless $File::Find::name; @@ -214,7 +210,7 @@ close OLD_META; close META; } - + if ((!$name or !$version) and open(MAKEFILE, "Makefile")) { while (<MAKEFILE>) { if (/^DISTNAME\s+=\s+(.*)$/) { @@ -236,11 +232,11 @@ elsif (not defined $version) { $what = 'version'; } - + carp("I was unable to determine the $what of the PAR distribution. Please create a Makefile or META.yml file from which we can infer the information or just specify the missing information as an option to blib_to_par."); return(); } - + $name =~ s/\s+$//; $version =~ s/\s+$//; @@ -435,7 +431,7 @@ require Cwd; my $old_dir = Cwd::cwd(); - + my ($dist, $tmpdir) = _unzip_to_tmpdir( dist => $args{dist}, subdir => 'blib' ); if ( open (META, File::Spec->catfile('blib', 'META.yml')) ) { @@ -465,7 +461,7 @@ my $target = _installation_target( File::Spec->curdir, $name, \%args ); my $custom_targets = $args{custom_targets} || {}; $target->{$_} = $custom_targets->{$_} foreach keys %{$custom_targets}; - + my $uninstall_shadows = $args{uninstall_shadows}; my $verbose = $args{verbose}; ExtUtils::Install::install($target, $verbose, 0, $uninstall_shadows); @@ -529,7 +525,7 @@ $sources{inst_man1dir} => $Config::Config{installman1dir}, $sources{inst_man3dir} => $Config::Config{installman3dir}, }; - + # Included for future support for ${flavour}perl external lib installation # if ($Config::Config{flavour_perl}) { # my $ext = File::Spec->catdir($dir, 'blib', 'ext'); @@ -543,7 +539,7 @@ # $target->{ $sources{inst_external_include} } = $Config::Config{flavour_install_include}; # $target->{ $sources{inst_external_src} } = $Config::Config{flavour_install_src}; # } - + # insert user overrides foreach my $key (keys %$user) { my $value = $user->{$key}; @@ -647,7 +643,7 @@ if (not -f $base_par or not -r _ or not -w _) { croak "'$base_par' is not a file or you do not have enough permissions to read and modify it."; } - + foreach (@additional_pars) { if (not -f $_ or not -r _) { croak "'$_' is not a file or you do not have enough permissions to read it."; @@ -656,7 +652,7 @@ # The unzipping will change directories. Remember old dir. my $old_cwd = Cwd::cwd(); - + # Unzip the base par to a temp. dir. (undef, my $base_dir) = _unzip_to_tmpdir( dist => $base_par, subdir => 'blib' @@ -672,7 +668,7 @@ # delete (incorrect) MANIFEST unlink File::Spec->catfile($blibdir, 'MANIFEST'); - # extract additional pars and merge + # extract additional pars and merge foreach my $par (@additional_pars) { # restore original directory because the par path # might have been relative! @@ -701,7 +697,7 @@ ); my ($vol, $subdir, undef) = File::Spec->splitpath( $add_dir, 1); my @dir = File::Spec->splitdir( $subdir ); - + # merge directory structure foreach my $dir (@dirs) { my ($v, $d, undef) = File::Spec->splitpath( $dir, 1 ); @@ -722,21 +718,21 @@ ); File::Copy::copy($file, $target) or die "Could not copy '$file' to '$target': $!"; - + } chdir($old_cwd); File::Path::rmtree([$add_dir]); } - + # delete (copied) MANIFEST and META.yml unlink File::Spec->catfile($blibdir, 'MANIFEST'); unlink File::Spec->catfile($blibdir, 'META.yml'); - + chdir($base_dir); my $resulting_par_file = Cwd::abs_path(blib_to_par(quiet => 1)); chdir($old_cwd); File::Copy::move($resulting_par_file, $base_par); - + File::Path::rmtree([$base_dir]); } @@ -763,7 +759,7 @@ _merge_provides($orig_tree, $extra_tree); _merge_requires($orig_tree, $extra_tree); - + $yaml_functions->{DumpFile}->($meta_orig_file, $orig_meta); return 1; @@ -798,7 +794,7 @@ foreach my $type (qw(requires build_requires configure_requires recommends)) { next if not exists $extra_hash->{$type}; $orig_hash->{$type} ||= {}; - + # one level clone is enough wrt META spec 1.4 foreach my $module (keys %{ $extra_hash->{$type} }) { # FIXME there should be a version comparison here, BUT how are we going to do that without a guaranteed version.pm? @@ -836,10 +832,10 @@ if (not -f $par or not -r _ or not -w _) { croak "'$par' is not a file or you do not have enough permissions to read and modify it."; } - + # The unzipping will change directories. Remember old dir. my $old_cwd = Cwd::cwd(); - + # Unzip the base par to a temp. dir. (undef, my $base_dir) = _unzip_to_tmpdir( dist => $par, subdir => 'blib' @@ -860,14 +856,14 @@ map { File::Spec->catfile('blib', $_) } readdir DIRECTORY; close DIRECTORY; - + File::Path::rmtree(\@dirs); - + chdir($base_dir); my $resulting_par_file = Cwd::abs_path(blib_to_par()); chdir($old_cwd); File::Copy::move($resulting_par_file, $par); - + File::Path::rmtree([$base_dir]); } @@ -895,7 +891,7 @@ # The unzipping will change directories. Remember old dir. my $old_cwd = Cwd::cwd(); - + # Unzip the base par to a temp. dir. (undef, my $base_dir) = _unzip_to_tmpdir( dist => $dist, subdir => 'blib' @@ -907,18 +903,18 @@ if (not -r $meta) { return undef; } - + open FH, '<', $meta or die "Could not open file '$meta' for reading: $!"; - + local $/ = undef; my $meta_text = <FH>; close FH; - + chdir($old_cwd); - + File::Path::rmtree([$base_dir]); - + return $meta_text; } @@ -1095,13 +1091,15 @@ my %args = &_args; require File::Temp; + require Cwd; my $dist = File::Spec->rel2abs($args{dist}); - my $tmpdirname = File::Spec->catdir(File::Spec->tmpdir, "parXXXXX"); - my $tmpdir = File::Temp::mkdtemp($tmpdirname) - or die "Could not create temporary directory from template '$tmpdirname': $!"; + my $tmpdir = File::Temp::tempdir("parXXXXX", TMPDIR => 1, CLEANUP => 1) + or die "Could not create temporary directory: $!"; + $tmpdir = Cwd::abs_path($tmpdir); # symlinks cause Archive::Zip issues on some systems my $path = $tmpdir; $path = File::Spec->catdir($tmpdir, $args{subdir}) if defined $args{subdir}; + _unzip(dist => $dist, path => $path); chdir $tmpdir; @@ -1139,7 +1137,7 @@ return(undef, undef, undef, undef) if not defined $file; (undef, undef, $file) = File::Spec->splitpath($file); - + my $version = qr/v?(?:\d+(?:_\d+)?|\d*(?:\.\d+(?:_\d+)?)+)/; $file =~ s/\.(?:par|tar\.gz|tar)$//i; my @elem = split /-/, $file; @@ -1158,7 +1156,7 @@ } push @dn, $e; } - + my $dn; $dn = join('-', @dn) if @dn; @@ -1199,7 +1197,7 @@ use PAR::Dist; use File::Copy 'copy'; - + generate_blib_stub( name => 'MyApp', version => '1.00' ); @@ -1214,20 +1212,20 @@ my %args = &_args; my $dist = $args{dist}; require Config; - + my $name = $args{name}; my $version = $args{version}; my $suffix = $args{suffix}; my ($parse_name, $parse_version, $archname, $perlversion) = parse_dist_name($dist); - + $name ||= $parse_name; $version ||= $parse_version; $suffix = "$archname-$perlversion" if (not defined $suffix or $suffix eq '') and $archname and $perlversion; - + $suffix ||= "$Config::Config{archname}-$Config::Config{version}"; if ( grep { not defined $_ } ($name, $version, $suffix) ) { warn "Could not determine distribution meta information from distribution name '$dist'"; @@ -1288,7 +1286,7 @@ # The unzipping will change directories. Remember old dir. my $old_cwd = Cwd::cwd(); - + # Unzip the base par to a temp. dir. (undef, my $base_dir) = _unzip_to_tmpdir( dist => $dist, subdir => 'blib' @@ -1306,9 +1304,9 @@ ); chdir($old_cwd); - + File::Path::rmtree([$base_dir]); - + return $found ? 1 : 0; } ++++++ cpanspec.yml ++++++ --- #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 #skip_doc: regexp_to_skip_for_doc.* #add_doc: files to add to docs #misc: |- #anything else to be added to spec file #follows directly after %files section, so it can contain new blocks or also #changes to %files section _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
