Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
8262bb1db9 | |||
43bb2e7447 | |||
4fafd637db |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 11 14:28:28 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 4 08:22:27 UTC 2013 - coolo@suse.com
|
Tue Jun 4 08:22:27 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Devel-LexAlias
|
# spec file for package perl-Devel-LexAlias
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,25 +12,27 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-Devel-LexAlias
|
|
||||||
Version: 0.05
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name Devel-LexAlias
|
%define cpan_name Devel-LexAlias
|
||||||
Summary: alias lexical variables
|
Name: perl-Devel-LexAlias
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
Version: 0.50.0
|
||||||
Group: Development/Libraries/Perl
|
Release: 0
|
||||||
Url: http://search.cpan.org/dist/Devel-LexAlias/
|
# 0.05 -> normalize -> 0.50.0
|
||||||
Source: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
|
%define cpan_version 0.05
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
|
Summary: Alias lexical variables
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
|
Source100: README.md
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Devel::Caller) >= 0.03
|
BuildRequires: perl(Devel::Caller) >= 0.30
|
||||||
#BuildRequires: perl(Devel::LexAlias)
|
Requires: perl(Devel::Caller) >= 0.30
|
||||||
Requires: perl(Devel::Caller) >= 0.03
|
Provides: perl(Devel::LexAlias) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -44,22 +46,22 @@ Still here?
|
|||||||
|
|
||||||
* lexalias( $where, $name, $variable )
|
* lexalias( $where, $name, $variable )
|
||||||
|
|
||||||
'$where' refers to the subroutine in which to alias the lexical, it can
|
'$where' refers to the subroutine in which to alias the lexical, it can be
|
||||||
be a coderef or a call level such that you'd give to 'caller'
|
a coderef or a call level such that you'd give to 'caller'
|
||||||
|
|
||||||
'$name' is the name of the lexical within that subroutine
|
'$name' is the name of the lexical within that subroutine
|
||||||
|
|
||||||
'$variable' is a reference to the variable to install at that location
|
'$variable' is a reference to the variable to install at that location
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -67,7 +69,6 @@ Still here?
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes
|
%doc Changes
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user