forked from pool/perl-Module-Runtime
Compare commits
13 Commits
78a855207b
...
1b205c955a
Author | SHA256 | Date | |
---|---|---|---|
1b205c955a | |||
0e3c357cf7 | |||
06974f9a9a | |||
60598f0a91 | |||
8faef3ac27 | |||
3d0d6db682 | |||
779ce85932 | |||
|
9949fa7f6d | ||
|
f6b41d88f7 | ||
|
682163d857 | ||
|
34438845b8 | ||
|
5f7cfe86c3 | ||
|
833dcbfcc3 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ec37e03d90dc905679dab62a82f42cf0897ed79244b87fd9d531438dc3c31023
|
||||
size 15849
|
3
Module-Runtime-0.018.tar.gz
Normal file
3
Module-Runtime-0.018.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0bf77ef68e53721914ff554eada20973596310b4e2cf1401fc958601807de577
|
||||
size 27428
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#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_build: |-
|
||||
# rm unused.files
|
||||
#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,89 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 22 05:35:26 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.18.0 (0.018)
|
||||
see /usr/share/doc/packages/perl-Module-Runtime/Changes
|
||||
|
||||
0.018 2025-04-21
|
||||
- avoid xattr headers in release tarball
|
||||
|
||||
- minor code reformatting
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 8 05:36:15 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.17.0 (0.017)
|
||||
see /usr/share/doc/packages/perl-Module-Runtime/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 19 05:36:17 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.016
|
||||
see /usr/share/doc/packages/perl-Module-Runtime/Changes
|
||||
|
||||
version 0.016; 2017-10-17
|
||||
|
||||
* port t/taint.t to Perl 5.27.5, where re-requiring an already-loaded
|
||||
module doesn't trigger tainting
|
||||
|
||||
* skip t/taint.t if the perl empirically doesn't perform taint checks
|
||||
but the script got run anyway (which happens with an unsupported
|
||||
configuration of the Perl core which some people are using in the
|
||||
absence of a supported no-taint configuration)
|
||||
|
||||
* in t/taint.t, use $^X rather than $ENV{PATH} as the primordial
|
||||
tainted value to taint a string being tested
|
||||
|
||||
* in documentation, use four-column indentation for all verbatim
|
||||
material
|
||||
|
||||
* in META.{yml,json}, point to public bug tracker
|
||||
|
||||
* in META.json, specify type of public repository
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 05:49:49 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.015
|
||||
see /usr/share/doc/packages/perl-Module-Runtime/Changes
|
||||
|
||||
version 0.015; 2017-07-16
|
||||
|
||||
* update test suite to not rely on . in @INC, which is no longer
|
||||
necessarily there from Perl 5.25.7
|
||||
|
||||
* in documentation, warn about the security problem with
|
||||
use_package_optimistically()
|
||||
|
||||
* declare correct version for Test::More dependency
|
||||
|
||||
* generate "traditional" style of compatibility Makefile.PL, to
|
||||
permit building in environments that don't support Build.PL or
|
||||
configure_requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 06:10:39 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 0.014
|
||||
* bugfix: suppress any CORE::GLOBAL::require override, where possible,
|
||||
to avoid use_package_optimistically() being misled into treating
|
||||
missing modules as broken
|
||||
|
||||
* bugfix: in use_module() and use_package_optimistically(), pass a
|
||||
supplied VERSION parameter through for the version check even if it
|
||||
is undef
|
||||
|
||||
* tighten use_package_optimistically()'s recognition of can't-locate
|
||||
errors (the same way that base.pm has recently been tightened),
|
||||
so that, when a module fails to load because a module that it uses
|
||||
isn't available, the outer module will be perceived as broken rather
|
||||
than missing
|
||||
|
||||
* update documentation notes about the state of Unicode handling for
|
||||
module names
|
||||
|
||||
* in META.{yml,json}, point to public git repository
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 19:41:49 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Module-Runtime
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,25 +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-Module-Runtime
|
||||
Version: 0.013
|
||||
Release: 0
|
||||
%define cpan_name Module-Runtime
|
||||
Summary: runtime module handling
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Module-Runtime/
|
||||
Source: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{version}.tar.gz
|
||||
Name: perl-Module-Runtime
|
||||
Version: 0.18.0
|
||||
Release: 0
|
||||
# 0.018 -> normalize -> 0.18.0
|
||||
%define cpan_version 0.018
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Runtime module handling
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build)
|
||||
#BuildRequires: perl(Module::Runtime)
|
||||
Provides: perl(Module::Runtime) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -43,7 +44,8 @@ The parts of this module that work with module names apply the same syntax
|
||||
that is used for barewords in Perl source. In principle this syntax can
|
||||
vary between versions of Perl, and this module applies the syntax of the
|
||||
Perl on which it is running. In practice the usable syntax hasn't changed
|
||||
yet, but there's a good chance of it changing in Perl 5.18.
|
||||
yet. There's some intent for Unicode module names to be supported in the
|
||||
future, but this hasn't yet amounted to any consistent facility.
|
||||
|
||||
The functions of this module whose purpose is to load modules include
|
||||
workarounds for three old Perl core bugs regarding 'require'. These
|
||||
@@ -52,21 +54,22 @@ for a case where one of the bugs cannot be adequately worked around in pure
|
||||
Perl.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
./Build test
|
||||
make test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%doc Changes README TODO
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user