8
0
Files
perl-ExtUtils-MakeMaker/perl-ExtUtils-MakeMaker.spec
Pedro Monreal Gonzalez a94a8fd201 Accepting request 839540 from devel:languages:perl:autoupdate
- updated to 7.48
   see /usr/share/doc/packages/perl-ExtUtils-MakeMaker/Changes
  7.48    Sun  4 Oct 11:39:22 BST 2020
      No changes since v7.47_12
  7.47_12 Wed 30 Sep 16:19:25 BST 2020
      Bug fixes:
      - Make Mkbootstrap.pm strict
      Test fixes:
      - Skip the failing dynamic vs static tests on Win32
  7.47_11 Sun 20 Sep 10:02:15 BST 2020
      Enhancements:
      - Hint file loading returned to using eval() as documented
  7.47_10 Tue 15 Sep 19:30:32 BST 2020
      Test fixes:
      - BareV2String should also be skipped on v5.8.0
  7.47_09 Mon 14 Sep 14:33:52 BST 2020
      Bug fixes:
      - Removed duplicated NOOP on pure_all
      Test fixes:
      - Remove tests for invalid version declarations
      - Make windows specific code for NoXS compile under strict
  7.47_08 Mon 31 Aug 09:43:01 BST 2020
      Test fixes:
      - Resolved race conditions so the whole testsuite
        can be run in parallel safely again
      QA Fixes:
      - Added github action for Strawberry Perl
      - Added github action for Ubuntu/Linux
  7.47_07 Mon  3 Aug 22:34:08 BST 2020
      Bug fixes:
      - Ensure all modules have 'use warnings'
      - Resolve revealed problems with warnings
      Test fixes:
      - Ensure all tests have strict and warnings
      - Resolve revealed problems with strict and warnings
  7.47_06 Sat  1 Aug 14:36:00 BST 2020
      Bug fixes:
      - Refine archname to use abi_version and abi_revision
  7.47_05 Fri 31 Jul 10:35:54 BST 2020
      Bug fixes:
      - use $^V instead of PERL_VERSION after Perl 5.10
  7.47_04 Tue 28 Jul 19:34:00 BST 2020
      Test fixes:
      - Skip static tests on AIX and z/OS when in
        core
      QA fixes:
      - Added v5.30 and v5.32 to travis build
  7.47_03 Wed  8 Jul 21:58:29 BST 2020
      Test fixes:
      - Correct skip count in MM_Cygwin.t
  7.47_02 Tue  7 Jul 01:40:13 BST 2020
      OS390 Enhancements:
      - Added MM subclass for OS390
      - Override xs_make_dynamic_lib() for os390
  7.47_01 Fri 26 Jun 10:55:42 BST 2020
      Bug fixes:
      - Sanitise provided VERSION and VERSION_FROM
        ( RT#132875 )

OBS-URL: https://build.opensuse.org/request/show/839540
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-MakeMaker?expand=0&rev=54
2020-10-05 11:51:11 +00:00

93 lines
3.4 KiB
RPMSpec

#
# spec file for package perl-ExtUtils-MakeMaker
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-ExtUtils-MakeMaker
Version: 7.48
Release: 0
%define cpan_name ExtUtils-MakeMaker
Summary: Create a module Makefile
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: Do_not_set_RPATH_by_default.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
This utility is designed to write a Makefile for an extension module from a
Makefile.PL. It is based on the Makefile.SH model provided by Andy
Dougherty and the perl5-porters.
It splits the task of generating the Makefile into several subroutines that
can be individually overridden. Each subroutine returns the text it wishes
to have written to the Makefile.
As there are various Make programs with incompatible syntax, which use
operating system shells, again with incompatible syntax, it is important
for users of this module to know which flavour of Make a Makefile has been
written for so they'll use the correct one and won't have to face the
possibly bewildering errors resulting from using the wrong one.
On POSIX systems, that program will likely be GNU Make; on Microsoft
Windows, it will be either Microsoft NMake, DMake or GNU Make. See the
section on the L</"MAKE"> parameter for details.
ExtUtils::MakeMaker (EUMM) is object oriented. Each directory below the
current directory that contains a Makefile.PL is treated as a separate
object. This makes it possible to write an unlimited number of Makefiles
with a single invocation of WriteMakefile().
All inputs to WriteMakefile are Unicode characters, not just octets. EUMM
seeks to handle all of these correctly. It is currently still not possible
to portably use Unicode characters in module names, because this requires
Perl to handle Unicode filenames, which is not yet the case on Windows.
See L<ExtUtils::MakeMaker::FAQ> for details of the design and usage.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%patch0 -p1
%build
export BUILDING_AS_PACKAGE=1
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
# MANUAL BEGIN
rm $RPM_BUILD_ROOT/usr/bin/instmodsh
rm $RPM_BUILD_ROOT/usr/share/man/man1/instmodsh.1
# MANUAL END
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING README README.packaging
%changelog