From 049d550ee2078c3758f700bdbb2a232d4aba203d4d9ea0eb10fd95ce982ebef6 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 26 Sep 2024 16:24:16 +0000 Subject: [PATCH] - updated to 0.390.0 (0.39) see /usr/share/doc/packages/perl-Module-Info/Changes 0.39 2024-08-28 NEILB - Fixed RT#129677 with patch from HAARG++. 0.38 2024-08-28 NEILB - Get rid of ' as package namespace separator OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Info?expand=0&rev=21 --- .gitattributes | 23 +++++ .gitignore | 1 + Module-Info-0.37.tar.gz | 3 + Module-Info-0.39.tar.gz | 3 + cpanspec.yml | 23 +++++ perl-Module-Info.changes | 185 +++++++++++++++++++++++++++++++++++++++ perl-Module-Info.spec | 66 ++++++++++++++ 7 files changed, 304 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Module-Info-0.37.tar.gz create mode 100644 Module-Info-0.39.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-Module-Info.changes create mode 100644 perl-Module-Info.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Module-Info-0.37.tar.gz b/Module-Info-0.37.tar.gz new file mode 100644 index 0000000..9f39089 --- /dev/null +++ b/Module-Info-0.37.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ea802529790b19c1f373a1e47d8381664f9c4c1f76a8d8bbc6db6d7311c2448 +size 42864 diff --git a/Module-Info-0.39.tar.gz b/Module-Info-0.39.tar.gz new file mode 100644 index 0000000..c1908d6 --- /dev/null +++ b/Module-Info-0.39.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c01fa56c78a60369aef55fe668f462a2b1d778d7d106966994f4cfaf430ed07 +size 43351 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#description_paragraphs: 3 +#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_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 diff --git a/perl-Module-Info.changes b/perl-Module-Info.changes new file mode 100644 index 0000000..a66d94e --- /dev/null +++ b/perl-Module-Info.changes @@ -0,0 +1,185 @@ +------------------------------------------------------------------- +Sat Aug 31 05:35:42 UTC 2024 - Tina Müller + +- updated to 0.390.0 (0.39) + see /usr/share/doc/packages/perl-Module-Info/Changes + + 0.39 2024-08-28 NEILB + - Fixed RT#129677 with patch from HAARG++. + + 0.38 2024-08-28 NEILB + - Get rid of ' as package namespace separator + +------------------------------------------------------------------- +Tue Nov 3 10:11:13 UTC 2015 - coolo@suse.com + +- updated to 0.37 + see /usr/share/doc/packages/perl-Module-Info/Changes + + 0.37 2015-11-01 NEILB + - Added a has_pod() method, which returns the path to the file + containing the pod (it could be a .pod file), if there is one. + Thanks to YANICK for this. + - Listed NEILB as the current maintainer in the AUTHOR section. + Thanks again to YANICK. + - Added link to github repo to doc. + +------------------------------------------------------------------- +Sat Oct 24 09:14:19 UTC 2015 - coolo@suse.com + +- updated to 0.36 + see /usr/share/doc/packages/perl-Module-Info/Changes + + 0.36 2015-10-23 NEILB + - Dropped our own fork of B::Utils, now rely on CPAN one - RT#13524 + - Now works on recent versions of Perl - RT#97105 + - Pod tests not run on installation - RT#90599 + - obsoletes fix_provides.diff + + 0.35_07 2015-10-19 NEILB + - I had missed another instance of "the Windows cwd() issue" affecting + t/n1_modules_required.t + + 0.35_06 2015-10-17 NEILB + - Added "use strict" to both modules + - Made the pod coverage test a release test RT#90599 + - Added MIN_PERL_VERSION to Makefile.PL + - Added a basic README + + 0.35_05 2015-10-16 NEILB + - Had a single failure reported by CPAN Testers for Perl 5.22/Windows. + On Windows, if you "use Cwd" and then call cwd(), then it does an + implicit "use Win32". On recent perls (sometime after 5.20.1) this + seems to get built into the op tree in a way that looks like the + scope doing the cwd() use'd Win32. There are several magic functions + in Cwd.pm which will probably trigger this behaviour. I'll see how this + change tests out, and possibly just document it for a non dev release. + + 0.35_04 2015-10-14 NEILB + - Sigh, forgot to update the min version of B::Utils in Makefile.PL + Thanks to SREZIC for letting me know. + + 0.35_03 2015-10-13 NEILB + - Removed File::Spec from t/lib/ + - Set min required version of B::Utils to 0.27, as that release fixes + the remaining failing tests. + - Hacked const_sv() to cope with the change in OP_METHOD_NAMED + that happened at 5.21.5 (or possibly an earlier 5.21.*). + + 0.35_02 2015-06-15 NEILB + - Sigh, forgot to add B::Utils to PREREQ_PM + + 0.35_01 2015-06-15 NEILB + - Dropped B::BUtils in favour of using the standard B::Utils. + subroutines_called() stopped working correctly for standard function + calls, identifying them as calls via symbolic references. Fixed that. + - Dropped Build.PL + +------------------------------------------------------------------- +Sun Jul 20 07:25:16 UTC 2014 - coolo@suse.com + +- updated to 0.35 + - Handle 'package NAME VERSION' syntax (patch by Norbert Gruener) + - Added repository and license info to metadata + - Tweaked format of Changes (this file) to match CPAN::Changes::Spec + + 0.34 2013-05-21 21:48:49 CEST + - Replace Test::Soundex in tests with Class::Struct, since + Text::Soundex will not be in core in Perl 5.19 and up. + - Replace ExtUtils::MY_Metafile with META_MERGE in Makefile.PL. + + 0.33 2013-02-9 13:12:22 CET + - Fix tests under Perl 5.6.2 when some core modules have been + upgraded (patch by Andreas Koenig). + +------------------------------------------------------------------- +Tue Apr 5 11:33:28 UTC 2011 - coolo@novell.com + +- fix provides + +------------------------------------------------------------------- +Fri Apr 1 08:25:14 UTC 2011 - coolo@novell.com + +- update to 0.32 + + Add archlib and privlib to the search path for core modules + (patch by Jonas B. Nielsen). + * Many test fixes. + +------------------------------------------------------------------- +Wed Dec 1 13:33:43 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Feb 22 23:55:32 UTC 2010 - chris@computersalat.de + +- cleanup spec + o bzipped Source + o added cpan_name macro + o sort TAGS + o fixed deps + o added perl-macros + o added check + +------------------------------------------------------------------- +Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de + +- enable parallel build + +------------------------------------------------------------------- +Sun Jan 13 13:20:32 CET 2008 - coolo@suse.de + +- fix file list + +------------------------------------------------------------------- +Wed Jul 25 11:38:10 CEST 2007 - cwh@suse.de + +version 0.31 +- Fixed tests in presence of version.pm 0.72 or newer +- Added -h option to module_info + +------------------------------------------------------------------- +Wed Jan 25 21:39:50 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Jan 13 11:11:26 CET 2006 - cwh@suse.de + +version 0.30 +- Renamed the forked B::Utils to B::BUtils to avoid clashes + until it is merged into the mainline. + +version 0.29 +- Fixed version() for complex expressions. +- Corrected some POD errors in module_info. + +version 0.28_50 +- Added support for version.pm (based upon a patch by John Peacock). +- Fixed the safe() attribute to be per-object instead of global. + +------------------------------------------------------------------- +Tue Nov 8 14:54:25 CET 2005 - dmueller@suse.de + +- don't build as root + +------------------------------------------------------------------- +Sun Jul 31 16:27:33 CEST 2005 - cthiel@suse.de + +- update to version 0.28 + +------------------------------------------------------------------- +Mon Sep 6 16:32:21 CEST 2004 - cwh@suse.de + +- upgrade from v0.24 to v0.26 + +------------------------------------------------------------------- +Thu Dec 4 17:32:22 CET 2003 - cwh@suse.de + +- fixed filelist (vendorarch) + +------------------------------------------------------------------- +Thu Dec 4 16:41:17 CET 2003 - cwh@suse.de + +- initial revision + diff --git a/perl-Module-Info.spec b/perl-Module-Info.spec new file mode 100644 index 0000000..5e73e88 --- /dev/null +++ b/perl-Module-Info.spec @@ -0,0 +1,66 @@ +# +# spec file for package perl-Module-Info +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define cpan_name Module-Info +Name: perl-Module-Info +Version: 0.390.0 +Release: 0 +# 0.39 -> normalize -> 0.390.0 +%define cpan_version 0.39 +License: SUSE-Public-Domain +Summary: Information about Perl modules +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{cpan_version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(B::Utils) >= 0.27 +Requires: perl(B::Utils) >= 0.27 +Provides: perl(B::Module::Info) = %{version} +Provides: perl(Module::Info) +Provides: perl(Module::Info::Safe) +Provides: perl(Module::Info::Unsafe) +Provides: perl(Module::Info::_version) +%undefine __perllib_provides +%{perl_requires} + +%description +Module::Info gives you information about Perl modules *without actually +loading the module*. It actually isn't specific to modules and should work +on any perl code. + +%prep +%autosetup -n %{cpan_name}-%{cpan_version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%doc Changes README + +%changelog