3a42f9a99c
Misc: * disable make parallelism for pure_all target * Enable bootstrapping to work on v5.10.x again Bug fixes: * Don't recurse into stale dist dirs * RT#90780 fix Macro `BOOTSTRAP' redefined warnings * Only enable automatic OBJECT generation if MAGICXS is true * harden xsubpp locating loop in MM_Unix * RT#91540 PREREQ_FATAL not recognised on command line * Export 'configure' section of prereqs when meta-spec version 2 * Explicitly require dynaloader before using mod2fname * Expanded test coverage for metafiles * Get rid of unused printf arguments in dir_target * Get rid of unused printf arguments in dynamic_bs * On Android, pass PERL_LIB through rel2abs(). * Synchronisation with blead to remove old cross-compilation model New Features: * OBJECT can now be specified as an array * build C_FILES/O_FILES/OBJECT automatically from XS * Added MAGICXS attribute to explicitly enable automagic XS building. * Added PPM_UNINSTALL_EXEC and PPM_UNINSTALL_SCRIPT options to PPD generation Doc fixes: * Correct the documentation for MAGICXS * Document BUILD_REQUIRES defaults * Documentation expanded to mention JSON metafiles * mention that TEST_REQUIRES is in v6.64 and above * Update documentation for LICENSE attribute. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-MakeMaker?expand=0&rev=20
94 lines
3.2 KiB
RPMSpec
94 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package perl-ExtUtils-MakeMaker
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-ExtUtils-MakeMaker
|
|
Version: 6.88
|
|
Release: 0
|
|
%define cpan_name ExtUtils-MakeMaker
|
|
Summary: Create a module Makefile
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/ExtUtils-MakeMaker/
|
|
Source: http://www.cpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
|
|
# MANUAL
|
|
Patch0: fix-provides.diff
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
%{perl_requires}
|
|
# MANUAL BEGIN
|
|
#!BuildIgnore: perl-ExtUtils-MakeMaker
|
|
BuildRequires: perl-CPAN-Meta
|
|
BuildRequires: perl-File-Copy-Recursive
|
|
BuildRequires: perl(Data::Dumper)
|
|
# MANUAL END
|
|
|
|
%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 or DMake. Note that this module
|
|
does not support generating Makefiles for GNU Make on Windows. See the
|
|
section on the L</"MAKE"> parameter for details.
|
|
|
|
MakeMaker 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().
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
find . -type f -print0 | xargs -0 chmod 644
|
|
# MANUAL BEGIN
|
|
%patch0
|
|
rm -rf bundled
|
|
# MANAUL END
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
rm $RPM_BUILD_ROOT/usr/bin/instmodsh
|
|
rm $RPM_BUILD_ROOT/usr/share/man/man1/instmodsh.1
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc Changes NOTES PATCHING README README.packaging TODO
|
|
|
|
%changelog
|