Compare commits
10 Commits
14fbf845aa
...
ae1a1105f1
Author | SHA256 | Date | |
---|---|---|---|
ae1a1105f1 | |||
158209c7d4 | |||
|
10de0a84cc | ||
|
7540f7ad28 | ||
|
352ade371e | ||
749b2dc5d6 | |||
543fecc363 | |||
9c427b4db3 | |||
da3b87edd4 | |||
|
c7df4b51c2 |
@@ -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
3
Data-Alias-1.28.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b2870bdfc202ea00a26b70657d77653a6a63578faaf1751cd3b3b20311704a3
|
||||
size 56979
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal 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
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user