perl-ExtUtils-MakeMaker/perl-ExtUtils-MakeMaker.spec
Dirk Stoecker b1ffd699e7 Accepting request 943080 from devel:languages:perl:autoupdate
- updated to 7.64
   see /usr/share/doc/packages/perl-ExtUtils-MakeMaker/Changes
  7.64  Fri 17 Dec 15:35:46 GMT 2021
      No changes since v7.63_11
  7.63_11 Tue 14 Dec 16:00:11 GMT 2021
      OS390 fixes:
      - Extend prereqs sort to work on EBCDIC
  7.63_10 Mon 13 Dec 16:26:49 GMT 2021
      OS390 fixes:
      - Fix dynamic loading
  7.63_09 Wed  8 Dec 22:20:53 GMT 2021
      Enhancements:
      - Don't use canned libpth values
  7.63_08 Sat 27 Nov 17:28:03 GMT 2021
      Correction:
      - Previous change to ${LDFLAGS) was reverted
  7.63_07 Sat 27 Nov 11:34:12 GMT 2021
      Enhancements:
      - Add $(LDFLAGS) when linking binary modules
  7.63_06 Wed  3 Nov 01:24:05 GMT 2021
      Bug fixes:
      - Add -rpath when compiling XS modules on macOS
  7.63_05 Sat 14 Aug 09:04:08 BST 2021
      Enhancements:
      - Added CPPRUN variable
  7.63_04 Wed 30 Jun 15:15:01 BST 2021
      Doc fixes:
      - Describe CCFLAGS’ default
  7.63_03 Tue 22 Jun 14:39:32 BST 2021
      OS390 Enhancements:
      - Fix override xs_make_dynamic_lib() for os390
  7.63_02 Thu  3 Jun 19:52:03 BST 2021
      Doc fixes:
      - Changed wording for POLLUTE
  7.63_01 Tue 25 May 16:22:50 BST 2021
      Bug fixes:
      - Comparing inodes numerically is unsafe

OBS-URL: https://build.opensuse.org/request/show/943080
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-MakeMaker?expand=0&rev=62
2022-01-04 11:10:46 +00:00

89 lines
3.3 KiB
RPMSpec

#
# spec file for package perl-ExtUtils-MakeMaker
#
# Copyright (c) 2021 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/
#
%define cpan_name ExtUtils-MakeMaker
Name: perl-ExtUtils-MakeMaker
Version: 7.64
Release: 0
Summary: Create a module Makefile
License: Artistic-1.0 OR GPL-1.0-or-later
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
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
%autosetup -n %{cpan_name}-%{version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%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
%doc Changes CONTRIBUTING README README.packaging
%changelog