From 92199f02326dd8f8998e2a14480ffa122e113e86d89967471659100425c3b7c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Mon, 14 Apr 2025 21:37:28 +0000 Subject: [PATCH] - 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-Set-Object?expand=0&rev=36 --- .gitattributes | 23 +++ .gitignore | 1 + Set-Object-1.42.tar.gz | 3 + cpanspec.yml | 23 +++ perl-Set-Object.changes | 357 ++++++++++++++++++++++++++++++++++++++++ perl-Set-Object.spec | 71 ++++++++ 6 files changed, 478 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Set-Object-1.42.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-Set-Object.changes create mode 100644 perl-Set-Object.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/Set-Object-1.42.tar.gz b/Set-Object-1.42.tar.gz new file mode 100644 index 0000000..3867eeb --- /dev/null +++ b/Set-Object-1.42.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d18c5a8a233eabbd0206cf3da5b00fcdd7b37febf12a93dcc3d1c026e6fdec45 +size 83376 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-Set-Object.changes b/perl-Set-Object.changes new file mode 100644 index 0000000..94978ca --- /dev/null +++ b/perl-Set-Object.changes @@ -0,0 +1,357 @@ +------------------------------------------------------------------- +Mon Apr 14 21:37:15 UTC 2025 - Tina Müller + +- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details + +------------------------------------------------------------------- +Sat Jan 22 03:08:30 UTC 2022 - Tina Müller + +- updated to 1.42 + see /usr/share/doc/packages/perl-Set-Object/Changes.pod + + =head1 1.42, 2022-01-21 + =over + =item * + Fix C<%h={}> warning, by Pauwel Coppieters + =item * + add F. see RT #90070 + =back + +------------------------------------------------------------------- +Mon Jan 18 03:09:17 UTC 2021 - Tina Müller + +- updated to 1.41 + see /usr/share/doc/packages/perl-Set-Object/Changes.pod + + =head1 1.41, 2021-01-17 + =over + =item * + Use meta-spec 2, Moose -> dev.requires not runtime.recommends + (GH #6, RT #134034) by mohawk + =back + +------------------------------------------------------------------- +Mon Jan 20 03:15:51 UTC 2020 - + +- updated to 1.40 + see /usr/share/doc/packages/perl-Set-Object/Changes.pod + + =head1 1.40, 2020-01-19 + + =over + + =item * + + Fixed perl5.28 regressions (not cperl), for @$set args to other set functions. + (RT #131345). Fixed by adding missing SvGETMAGIC expansions to all args. + + =item * + + Bumped minimal required perl version to 5.8 for arrayref @$set behavior. + + =item * + + Fixed the smokers and some author tests. + + =back + +------------------------------------------------------------------- +Tue Jan 9 07:13:27 UTC 2018 - coolo@suse.com + +- updated to 1.39 + see /usr/share/doc/packages/perl-Set-Object/Changes.pod + + =head1 1.39, 2018-01-08 + + =over + + =item * + + Skip installing Changes.pod (PR #5, kentfredric) + + =back + +------------------------------------------------------------------- +Tue Nov 14 06:53:51 UTC 2017 - coolo@suse.com + +- updated to 1.38 + see /usr/share/doc/packages/perl-Set-Object/Changes.pod + + =head1 1.38, 2017-11-11 + + =over + + =item * + + Add test_cover and release targets + + =back + + =head1 1.37, 2017-11-11 + + =over + + =item * + + Test fixes for -Ddefault_inc_excludes_dot, RT #120540 + + =item * + + Skip failing threads test <= 5.10.0 + + =item * + + Add CI hooks + + =back + +------------------------------------------------------------------- +Sat Nov 11 06:52:57 UTC 2017 - coolo@suse.com + +- updated to 1.36 + see /usr/share/doc/packages/perl-Set-Object/Changes.pod + + =head1 1.36, 2017-11-10 + + =over + + =item * + + Davem fixed get-magic for the new arguments, fixing + NetHack-Item L<[perl #132152]|https://rt.perl.org/Public/Bug/Display.html?id=132152>. + See L<[cpan #123582]|https://rt.cpan.org/Ticket/Display.html?id=123582> + + =item * + + Stabilize F test + + =back + +------------------------------------------------------------------- +Mon Jun 15 09:09:34 UTC 2015 - coolo@suse.com + +- updated to 1.35 + see /usr/share/doc/packages/perl-Set-Object/Changes.pod + + =head1 1.35, 2015-06-10 + + =over + + =item * + + Change to Artistic License 2.0 + + =item * + + Add more misc tests. Add use strict to Set::Object::Weak + + =back + +------------------------------------------------------------------- +Sun Feb 9 13:32:10 UTC 2014 - coolo@suse.com + +- updated to 1.34, no changelog + +------------------------------------------------------------------- +Tue Jun 4 18:17:37 UTC 2013 - coolo@suse.com + +- updated to 1.31 + Changes.pod patch by Gregor Hermann, debian perl group - RT#85244 + Fixes for 5.16 and newer - RT#83426 + Sort by member names, not the refs. + Fix wrong weak test with globals. Changed to lexicals and use strict/warnings. + Fix F, check SvMAGICAL before doing C + Fixed wrong C format types in warnings and C. + Added PREREQ_PMs, make L and L an optional dependency + for F +- Obsoletes perl-Set-Object-1.28-return_value.diff + +------------------------------------------------------------------- +Fri Nov 18 11:10:00 UTC 2011 - coolo@suse.com + +- use original .tar.gz + +------------------------------------------------------------------- +Wed Dec 1 13:35:10 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Nov 29 18:31:02 UTC 2010 - coolo@novell.com + +- remove /var/adm/perl-modules + +------------------------------------------------------------------- +Tue Oct 19 08:39:04 UTC 2010 - coolo@novell.com + +- add perl as explicit buildrequire + +------------------------------------------------------------------- +Mon Aug 23 14:40:42 CEST 2010 - anicka@suse.cz + +- update to 1.28 + * Fixed a portability concern for some platforms' C compilers + (that do not support //-style comments) - RT#52690 + * Valid SIGNATURE file - RT#50492 + +------------------------------------------------------------------- +Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de + +- enable parallel build + +------------------------------------------------------------------- +Tue Jan 20 16:00:26 CET 2009 - anicka@suse.cz + +- update to 1.27 + * Fix a typo that affected building against Perls with + debugging enabled. + * Methods which destroyed C<$@> due to internal use of + C now properly call C + * Define behaviour when dealing with return values from + operations on weak sets. No longer hard-coded "Set::Object" + - may affect Set::Object sub-classes (Sam). + * more bugfixes + +------------------------------------------------------------------- +Fri Jul 25 15:19:27 CEST 2008 - anicka@suse.cz + +- update to 1.25 + * Portability: support Perls before 5.7.3, and make this dependency + explicit in the F + * Remove threads test which had inadvertantly slipped into the + MANIFEST from source control, and add comprehensive documentation + on the state of thread support in this module. + * Make behaviour when dealing with items which were C defined. + +------------------------------------------------------------------- +Mon Oct 8 09:32:57 CEST 2007 - anicka@suse.cz + +- update to 1.22 + * Sub-classing interface added; it is now much easier to make + L subclasses that return objects other than more + Ls when subclassing. + +------------------------------------------------------------------- +Mon Feb 19 11:20:03 CET 2007 - anicka@suse.cz + +- update to 1.21 +- remove last patch (fixed in upstream, the only change in this + release) + +------------------------------------------------------------------- +Fri Feb 16 11:31:02 CET 2007 - anicka@suse.cz + +- update to 1.20 + * The C<-Ecompare> function was returning "disjoint" for empty + sets. + * Document lots of methods that were previously not documented. + * Fix C. It was not passing its + arguments to Cnew()>, which was very + broken. +- fix misc/pod_coverage.t + +------------------------------------------------------------------- +Thu Jan 25 18:39:08 CET 2007 - anicka@suse.cz + +- update to 1.19 + * New class C, which all weak sets should get + re-blessed into when you call C<-Eweaken>. Also added + alternative methods of constructing weak sets. + * Fix a memory leak with scalar members (the internal hash used + to store the items was never being freed). + +------------------------------------------------------------------- +Tue Sep 19 13:33:28 CEST 2006 - anicka@suse.cz + +- update to 1.18 + * Add note to man page on compatibility of C + serializations of Cs between revisions. + * fix build for non-gcc compilers + +------------------------------------------------------------------- +Thu Sep 14 12:25:27 CEST 2006 - anicka@suse.cz + +- update to 1.17 + * fix compile problem affecting some platforms + +------------------------------------------------------------------- +Tue Jul 18 17:50:19 CEST 2006 - anicka@suse.cz + +- update to 1.16 + * weak reference support +- fix random return value + +------------------------------------------------------------------- +Tue Jul 11 16:55:59 CEST 2006 - anicka@suse.cz + +- update to 1.15 +- minor release + +------------------------------------------------------------------- +Wed Jan 25 21:39:57 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Jan 4 14:40:54 CET 2006 - anicka@suse.cz + +- update to 1.14 + +------------------------------------------------------------------- +Mon Aug 1 12:54:01 CEST 2005 - mjancar@suse.cz + +- update to 1.11 + +------------------------------------------------------------------- +Thu Aug 19 13:55:09 CEST 2004 - mjancar@suse.cz + +- update to 1.06 + +------------------------------------------------------------------- +Thu Feb 26 17:33:20 CET 2004 - mjancar@suse.cz + +- update to 1.05 + +------------------------------------------------------------------- +Fri Aug 22 15:42:41 CEST 2003 - mjancar@suse.cz + +- require the perl version we build with + +------------------------------------------------------------------- +Thu Jul 24 14:42:57 CEST 2003 - mjancar@suse.cz + +- update to 1.03a + +------------------------------------------------------------------- +Tue Jul 15 16:22:31 CEST 2003 - mjancar@suse.cz + +- adapt to perl-5.8.1 +- use %perl_process_packlist + +------------------------------------------------------------------- +Wed Jun 18 09:13:10 CEST 2003 - coolo@suse.de + +- package directories + +------------------------------------------------------------------- +Thu May 22 18:30:41 CEST 2003 - mjancar@suse.cz + +- use $RPM_OPT_FLAGS +- fix filelist + +------------------------------------------------------------------- +Tue May 20 12:38:26 CEST 2003 - mjancar@suse.cz + +- remove unpackaged files + +------------------------------------------------------------------- +Tue Jul 2 17:40:06 MEST 2002 - mls@suse.de + +- remove race in .packlist generation + +------------------------------------------------------------------- +Thu Aug 2 13:47:03 CEST 2001 - rvasice@suse.cz + +- initial package release (version 1.02) + diff --git a/perl-Set-Object.spec b/perl-Set-Object.spec new file mode 100644 index 0000000..bb3fbf3 --- /dev/null +++ b/perl-Set-Object.spec @@ -0,0 +1,71 @@ +# +# spec file for package perl-Set-Object +# +# Copyright (c) 2025 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 Set-Object +Name: perl-Set-Object +Version: 1.420.0 +Release: 0 +# 1.42 -> normalize -> 1.420.0 +%define cpan_version 1.42 +License: Artistic-2.0 +Summary: Unordered collections (sets) of Perl Objects +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{cpan_version}.tar.gz +Source1: cpanspec.yml +BuildRequires: perl +BuildRequires: perl-macros +Provides: perl(Set::Object) = %{version} +Provides: perl(Set::Object::Weak) +%undefine __perllib_provides +%{perl_requires} + +%description +This modules implements a set of objects, that is, an unordered collection +of objects without duplication. + +The term _objects_ is applied loosely - for the sake of Set::Object, +anything that is a reference is considered an object. + +Set::Object 1.09 and later includes support for inserting scalars +(including the empty string, but excluding 'undef') as well as objects. +This can be thought of as (and is currently implemented as) a degenerate +hash that only has keys and no values. Unlike objects placed into a +Set::Object, scalars that are inserted will be flattened into strings, so +will lose any magic (eg, tie) or other special bits that they went in with; +only strings come out. + +%prep +%autosetup -n %{cpan_name}-%{cpan_version} -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%make_build + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%doc examples README +%license LICENSE + +%changelog