7
0

2 Commits

Author SHA256 Message Date
2295b3cd41 Accepting request 1269245 from devel:languages:perl
- updated to 0.8002
   see /usr/share/doc/packages/perl-ExtUtils-Depends/Changes
  0.8002
      - fix UNC path bug - https://rt.cpan.org/Ticket/Display.html?id=102436
      - fix get_makefile_vars losing path components if space-quoted and >1 dep,
        which was breaking CPAN module "true" which depends on two modules (forwarded request 1268721 from tinita)

OBS-URL: https://build.opensuse.org/request/show/1269245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-ExtUtils-Depends?expand=0&rev=31
2025-04-15 14:45:24 +00:00
60f3fe5a2d - updated to 0.8002
see /usr/share/doc/packages/perl-ExtUtils-Depends/Changes
  0.8002
      - fix UNC path bug - https://rt.cpan.org/Ticket/Display.html?id=102436
      - fix get_makefile_vars losing path components if space-quoted and >1 dep,
        which was breaking CPAN module "true" which depends on two modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-Depends?expand=0&rev=31
2025-04-14 11:18:07 +00:00
4 changed files with 28 additions and 11 deletions

BIN
ExtUtils-Depends-0.8001.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Mar 19 05:33:40 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.8002
see /usr/share/doc/packages/perl-ExtUtils-Depends/Changes
0.8002
- fix UNC path bug - https://rt.cpan.org/Ticket/Display.html?id=102436
- fix get_makefile_vars losing path components if space-quoted and >1 dep,
which was breaking CPAN module "true" which depends on two modules
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 17 03:06:18 UTC 2021 - Tina Müller <timueller+perl@suse.de> Mon May 17 03:06:18 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-ExtUtils-Depends # spec file for package perl-ExtUtils-Depends
# #
# Copyright (c) 2021 SUSE LLC # 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
@@ -18,18 +18,19 @@
%define cpan_name ExtUtils-Depends %define cpan_name ExtUtils-Depends
Name: perl-ExtUtils-Depends Name: perl-ExtUtils-Depends
Version: 0.8001 Version: 0.8002
Release: 0 Release: 0
#Upstream: SUSE-Public-Domain #Upstream: SUSE-Public-Domain
Summary: Easily build XS extensions that depend on XS extensions
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Easily build XS extensions that depend on XS extensions
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/E/ET/ETJ/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.44 BuildRequires: perl(ExtUtils::MakeMaker) >= 7.44
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(ExtUtils::MakeMaker) >= 7.44 Requires: perl(ExtUtils::MakeMaker) >= 7.44
%{perl_requires} %{perl_requires}
@@ -39,12 +40,17 @@ functions and typemaps provided by other perl extensions. This means that a
perl extension is treated like a shared library that provides also a C and perl extension is treated like a shared library that provides also a C and
an XS interface besides the perl one. an XS interface besides the perl one.
This works as long as the base extension is loaded with the RTLD_GLOBAL This works as long as the base (or "producing") extension is loaded with
flag (usually done with a the 'RTLD_GLOBAL' flag (usually done with a
sub dl_load_flags {0x01} sub dl_load_flags {0x01}
in the main .pm file) if you need to use functions defined in the module. in the main _.pm_ file) if you need to use functions defined in the module.
That "producing" extension will also need to tell ExtUtils::MakeMaker the
specific functions to export, with arguments to 'WriteMakefile' like:
FUNCLIST => [qw(function_name)],
DL_FUNCS => { 'Extension::Name' => [] },
The basic scheme of operation is to collect information about a module in The basic scheme of operation is to collect information about a module in
the instance, and then store that data in the Perl library where it may be the instance, and then store that data in the Perl library where it may be
@@ -95,7 +101,7 @@ normally need to use this:
@deps = Mymod::Install::Files->deps; @deps = Mymod::Install::Files->deps;
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version} -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor