Compare commits

...

10 Commits

Author SHA256 Message Date
ae1a1105f1 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-Data-Alias?expand=0&rev=24
2024-07-20 20:08:22 +00:00
158209c7d4 Accepting request 1046336 from devel:languages:perl:autoupdate
- updated to 1.28
   see /usr/share/doc/packages/perl-Data-Alias/Changes
  1.28  2022-12-21  XMATH
      - Fix compatibliity with perl 5.37.3 and later
      - Fix support for state-variables (alias state $x = ...)
      - Fix handling of negative literal array index (alias $x[-1] = ...)

OBS-URL: https://build.opensuse.org/request/show/1046336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Alias?expand=0&rev=23
2023-01-04 15:51:20 +00:00
Stephan Kulow
10de0a84cc Accepting request 1041131 from devel:languages:perl:autoupdate
- updated to 1.27
   see /usr/share/doc/packages/perl-Data-Alias/Changes
  1.27  2022-12-02  XMATH
      - Fix tests on older perl versions
  1.26  2022-12-01  XMATH
      - Fix compile error when using perl 5.37.2 or later
      - Improve diagnostic output from tests
  1.25_01  2021-05-15  XMATH
      - Fix localized alias-assignment to previously non-existing hash element.
      - Avoid testing threading on broken perl versions
      - Fix certain linker errors by making sure perl's global variables are
        accessed through their accessor functions when applicable.

OBS-URL: https://build.opensuse.org/request/show/1041131
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Alias?expand=0&rev=22
2022-12-13 16:03:13 +00:00
Lars Vogdt
7540f7ad28 Accepting request 892394 from devel:languages:perl:autoupdate
- updated to 1.25
   see /usr/share/doc/packages/perl-Data-Alias/Changes

OBS-URL: https://build.opensuse.org/request/show/892394
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Alias?expand=0&rev=21
2021-05-12 15:02:17 +00:00
Lars Vogdt
352ade371e Accepting request 890623 from devel:languages:perl:autoupdate
- updated to 1.24
   see /usr/share/doc/packages/perl-Data-Alias/Changes
  version 1.24; 2021-05-05
    * bugfix: copy() no longer produces malformed optrees which under certain
      circumstances crashed perl 5.31.2 and later.  (contributed by TonyC)
    * update for removal of '.' from @INC in perl 5.26.
  version 1.23; 2021-04-30
    * bugfix: fix aliasing semantic unintentionally being applied to subs
      defined after a parenthesized alias()-expression since perl 5.11.2.
  version 1.22; 2021-04-22
    * bugfix: use SvCUR_set instead of direct SvCUR assignment to fix
      compilation problems with -DDEBUGGING builds.  (contributed by TonyC)
    * update for parser changes in v5.33.6.  (contributed by TonyC)

OBS-URL: https://build.opensuse.org/request/show/890623
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Alias?expand=0&rev=20
2021-05-09 12:51:20 +00:00
749b2dc5d6 Accepting request 640474 from devel:languages:perl:autoupdate
- Fix build
- updated to 1.21
   see /usr/share/doc/packages/perl-Data-Alias/Changes
  version 1.21; 2017-12-08
  
    * update for context stack changes in Perl 5.23.8
  
    * update to accommodate PERL_OP_PARENT builds of Perl 5.21.11 or later
      (which is the default from Perl 5.25.1)
  
    * update for removal of LEX_KNOWNEXT in Perl 5.25.1
  
    * update test suite to not rely on . in @INC, which is no longer
      necessarily there from Perl 5.25.7
  
    * use cleaner wrap_op_checker() API to control op checking
- updated to 1.20
   see /usr/share/doc/packages/perl-Data-Alias/Changes
  version 1.20; 2015-10-21
  
    * bugfix: avoid some C undefined behaviour from unsequenced side effects
      that in practice bit when using a newer gcc (4.9 rather than 4.7)
      with the parser token stack change in Perl 5.21.9
  
    * add doc note advising users to prefer the core aliasing facility on
      Perl 5.22
  
  version 1.19; 2015-10-21
  
    * update for new stricture on op_last in Perl 5.21.2
  
    * update for the parser's PL_expect changes in Perl 5.21.4
  
    * update for op_private stricture in Perl 5.21.4
  
    * update for sub references directly in stash in Perl 5.21.4
  
    * update for IS_PADGV()'s limited visibility in Perl 5.21.4
  
    * update for increased specialness of OP_PUSHMARK in Perl 5.21.6
  
    * update for distinct PADNAMELIST type in Perl 5.21.7
  
    * update for multideref optimisation in Perl 5.21.7, by a disgusting
      hack that depends on a flaw in the optimisation (which may disappear
      in the future) and which disables the optimisation entirely
  
    * add MYMETA.json to .gitignore
- updated to 1.18
   * bugfix: store peep chain link reliably under threads
 
   * update tests for Perl 5.19.4's removal of the special treatment of
     aliased undef in arrays
 
   * in doc, switch to consistent use of British English spellings
 
   * doc typo fix
 
 version 1.17; 2013-08-04
 
   * bugfix: correct the dtrace-related macro squashing for Perls prior
     to 5.13.8, where the macros had the wrong number of parameters and
     prevented compilation
 
   * bugfix: use core's PL_no_localize_ref string constant as data string
     rather than format string
 
   * update to handle the new padrange op type in Perl 5.17.6
 
   * update to handle the new op allocation mechanism in Perl 5.17.2
 
   * clarify and expand documentation around list-like assignments
 
   * clarify documentation of deref() regarding lvalueness
 
   * remove the bulk of the documentation from the README file
version 1.16; 2011-11-17
  * bugfix: use supported API to put destructor calls on the save stack
    (the unsupported way used before was wrong for 64-bit systems on
    perl 5.13.1 and later)
  * document the behaviour of "alias return" in more detail
  * convert .cvsignore to .gitignore
- update to 1.14
  * port to Perl 5.15.0, where the op type aelemfast has been split into
    aelemfast and aelemfast_lex
  * test compatibility with Devel::CallParser
  * bugfix: never unhook peephole optimiser, because unhooking is liable
    to fail if anything else hooked it
  * bugfix: revise check for dorassign opcode to cope with FreeBSD's
    mutant Perl 5.8 that has it
  * test POD syntax and coverage
  * bugfix: prevent the lexer getting confused if the first thing inside
    an alias{} block is an open paren
  * bugfix: don't crash if an rv2cv op is built with PL_parser null
  * bugfix: handle variant structure of entersub op which lacks (ex-)list
    op as direct child
  * bugfix: squash bogus dtrace-related macro definitions that are picked
    up due to defining PERL_CORE
  * switch all pp functions to internal linkage
  * avoid some compiler warnings
  * include .cvsignore file in distribution
- updated to 1.12
   - Updated to work with Perl version 5.13.10, where GvGP() and
     GvCV() are not directly-assignable lvalues
   - Don't rely on details of core's pp_* functions to determine
     whether an opcode exists, because they can change unpredictably
     (and do change in Perl 5.13.9)
- switch to perl_requires macro
- update to 1.10
  - Updated to work with Perl version 5.13.7, where lex_end()
    has disappeared and mod() is now in the public API under the
    name op_lvalue()
- 1.09  
  - Modify source filter test to use Filter::Util::Call directly
    instead of the deprecated Switch, and to not fail if it is not
    available, thus allowing tests to pass on Perl versions 5.13.1
    and above where Switch is no longer in the core distribution
  - Updated to work with Perl version 5.13.6, where global variables
    are managed in a different way from before
- 1.08  
  - Updated to work with Perl versions 5.11.0 up to 5.13.0,
    including particularly the major change in when rv2cv ops get
    built in 5.11.2
- recreated by cpanspec 1.78
  o fix deps
- remove obsolete fix_for_perl_5_12 patch
- initial package (1.07)

OBS-URL: https://build.opensuse.org/request/show/640474
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Alias?expand=0&rev=19
2018-10-07 22:04:11 +00:00
543fecc363 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Alias?expand=0&rev=18 2018-10-07 22:01:32 +00:00
9c427b4db3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Alias?expand=0&rev=17 2018-10-07 22:01:11 +00:00
da3b87edd4 Accepting request 340362 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/340362
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Alias?expand=0&rev=16
2015-10-22 09:58:50 +00:00
Stephan Kulow
c7df4b51c2 - updated to 1.18
* bugfix: store peep chain link reliably under threads
 
   * update tests for Perl 5.19.4's removal of the special treatment of
     aliased undef in arrays
 
   * in doc, switch to consistent use of British English spellings
 
   * doc typo fix
 
 version 1.17; 2013-08-04
 
   * bugfix: correct the dtrace-related macro squashing for Perls prior
     to 5.13.8, where the macros had the wrong number of parameters and
     prevented compilation
 
   * bugfix: use core's PL_no_localize_ref string constant as data string
     rather than format string
 
   * update to handle the new padrange op type in Perl 5.17.6
 
   * update to handle the new op allocation mechanism in Perl 5.17.2
 
   * clarify and expand documentation around list-like assignments
 
   * clarify documentation of deref() regarding lvalueness
 
   * remove the bulk of the documentation from the README file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Alias?expand=0&rev=15
2014-11-23 11:40:37 +00:00
5 changed files with 203 additions and 22 deletions

View File

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

3
Data-Alias-1.28.tar.gz Normal file
View File

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

23
cpanspec.yml Normal file
View File

@@ -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

View File

@@ -1,3 +1,151 @@
-------------------------------------------------------------------
Thu Dec 22 03:06:10 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.28
see /usr/share/doc/packages/perl-Data-Alias/Changes
1.28 2022-12-21 XMATH
- Fix compatibliity with perl 5.37.3 and later
- Fix support for state-variables (alias state $x = ...)
- Fix handling of negative literal array index (alias $x[-1] = ...)
-------------------------------------------------------------------
Sat Dec 3 03:06:12 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.27
see /usr/share/doc/packages/perl-Data-Alias/Changes
1.27 2022-12-02 XMATH
- Fix tests on older perl versions
1.26 2022-12-01 XMATH
- Fix compile error when using perl 5.37.2 or later
- Improve diagnostic output from tests
1.25_01 2021-05-15 XMATH
- Fix localized alias-assignment to previously non-existing hash element.
- Avoid testing threading on broken perl versions
- Fix certain linker errors by making sure perl's global variables are
accessed through their accessor functions when applicable.
-------------------------------------------------------------------
Wed May 12 03:06:48 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.25
see /usr/share/doc/packages/perl-Data-Alias/Changes
-------------------------------------------------------------------
Wed May 5 03:06:56 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.24
see /usr/share/doc/packages/perl-Data-Alias/Changes
version 1.24; 2021-05-05
* bugfix: copy() no longer produces malformed optrees which under certain
circumstances crashed perl 5.31.2 and later. (contributed by TonyC)
* update for removal of '.' from @INC in perl 5.26.
version 1.23; 2021-04-30
* bugfix: fix aliasing semantic unintentionally being applied to subs
defined after a parenthesized alias()-expression since perl 5.11.2.
version 1.22; 2021-04-22
* bugfix: use SvCUR_set instead of direct SvCUR assignment to fix
compilation problems with -DDEBUGGING builds. (contributed by TonyC)
* update for parser changes in v5.33.6. (contributed by TonyC)
-------------------------------------------------------------------
Sun Oct 7 22:01:05 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
- Fix build
-------------------------------------------------------------------
Wed Feb 7 16:20:14 UTC 2018 - coolo@suse.com
- updated to 1.21
see /usr/share/doc/packages/perl-Data-Alias/Changes
version 1.21; 2017-12-08
* update for context stack changes in Perl 5.23.8
* update to accommodate PERL_OP_PARENT builds of Perl 5.21.11 or later
(which is the default from Perl 5.25.1)
* update for removal of LEX_KNOWNEXT in Perl 5.25.1
* update test suite to not rely on . in @INC, which is no longer
necessarily there from Perl 5.25.7
* use cleaner wrap_op_checker() API to control op checking
-------------------------------------------------------------------
Thu Oct 22 08:56:48 UTC 2015 - coolo@suse.com
- updated to 1.20
see /usr/share/doc/packages/perl-Data-Alias/Changes
version 1.20; 2015-10-21
* bugfix: avoid some C undefined behaviour from unsequenced side effects
that in practice bit when using a newer gcc (4.9 rather than 4.7)
with the parser token stack change in Perl 5.21.9
* add doc note advising users to prefer the core aliasing facility on
Perl 5.22
version 1.19; 2015-10-21
* update for new stricture on op_last in Perl 5.21.2
* update for the parser's PL_expect changes in Perl 5.21.4
* update for op_private stricture in Perl 5.21.4
* update for sub references directly in stash in Perl 5.21.4
* update for IS_PADGV()'s limited visibility in Perl 5.21.4
* update for increased specialness of OP_PUSHMARK in Perl 5.21.6
* update for distinct PADNAMELIST type in Perl 5.21.7
* update for multideref optimisation in Perl 5.21.7, by a disgusting
hack that depends on a flaw in the optimisation (which may disappear
in the future) and which disables the optimisation entirely
* add MYMETA.json to .gitignore
-------------------------------------------------------------------
Sun Nov 23 11:29:22 UTC 2014 - coolo@suse.com
- updated to 1.18
* bugfix: store peep chain link reliably under threads
* update tests for Perl 5.19.4's removal of the special treatment of
aliased undef in arrays
* in doc, switch to consistent use of British English spellings
* doc typo fix
version 1.17; 2013-08-04
* bugfix: correct the dtrace-related macro squashing for Perls prior
to 5.13.8, where the macros had the wrong number of parameters and
prevented compilation
* bugfix: use core's PL_no_localize_ref string constant as data string
rather than format string
* update to handle the new padrange op type in Perl 5.17.6
* update to handle the new op allocation mechanism in Perl 5.17.2
* clarify and expand documentation around list-like assignments
* clarify documentation of deref() regarding lvalueness
* remove the bulk of the documentation from the README file
-------------------------------------------------------------------
Tue Nov 29 20:30:24 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Alias
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -12,23 +12,26 @@
# 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-Data-Alias
Version: 1.16
Release: 1
License: GPL+ or Artistic
%define cpan_name Data-Alias
Name: perl-Data-Alias
Version: 1.280.0
Release: 0
# 1.28 -> normalize -> 1.280.0
%define cpan_version 1.28
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Comprehensive set of aliasing operations
Url: http://search.cpan.org/dist/Data-Alias/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/X/XM/XMATH/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.88
Provides: perl(Data::Alias) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -48,22 +51,30 @@ Aliasing occurs in Perl for example in for-loops and sub-calls:
}
Data::Alias is a module that allows you to apply "aliasing semantics" to a
section of code, causing aliases to be made whereever Perl would normally
section of code, causing aliases to be made wherever Perl would normally
make copies instead. You can use this to improve efficiency and
readability, when compared to using references.
The exact details of aliasing semantics are below under the /DETAILS
manpage.
The exact details of aliasing semantics are below under DETAILS.
Perl 5.22 added some support for aliasing to the Perl core. It has a
different syntax, and a different set of operations, from that supplied by
this module; see perlref/Assigning to References. The core's aliasing
facilities are implemented more robustly than this module and are better
supported. If you can rely on having a sufficiently recent Perl version,
you should prefer to use the core facility rather than use this module. If
you are already using this module and are now using a sufficiently recent
Perl, you should attempt to migrate to the core facility.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -71,7 +82,6 @@ manpage.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog