forked from pool/perl-Module-Build-XSUtil
Accepting request 538017 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/538017 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Build-XSUtil?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
5f0d7f1a50
commit
a3d68c62a0
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:15762fa4e43b41302cff261c7ad75aacdc874f416981f206d783f20acd023adb
|
||||
size 15137
|
3
Module-Build-XSUtil-0.17.tar.gz
Normal file
3
Module-Build-XSUtil-0.17.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5bb1b9498e8b5ccda679be77d5e0c0b7c933b1bda6639cf56c3cfd6bf327ae09
|
||||
size 14711
|
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 1 06:34:27 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.17
|
||||
see /usr/share/doc/packages/perl-Module-Build-XSUtil/Changes
|
||||
|
||||
0.17 2017-10-31T13:00:43Z
|
||||
- Support pure-perl build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 30 14:39:28 UTC 2015 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Module-Build-XSUtil
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
|
||||
Name: perl-Module-Build-XSUtil
|
||||
Version: 0.16
|
||||
Version: 0.17
|
||||
Release: 0
|
||||
%define cpan_name Module-Build-XSUtil
|
||||
Summary: Module::Build class for building XS modules
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Module-Build-XSUtil/
|
||||
Source0: http://www.cpan.org/authors/id/H/HI/HIDEAKIO/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/H/HI/HIDEAKIO/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
@@ -35,6 +35,7 @@ BuildRequires: perl(Devel::CheckCompiler)
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(File::Copy::Recursive)
|
||||
BuildRequires: perl(Module::Build) >= 0.400500
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||
BuildRequires: perl(Test::More) >= 0.98
|
||||
BuildRequires: perl(parent)
|
||||
Requires: perl(Devel::CheckCompiler)
|
||||
@@ -43,60 +44,61 @@ Requires: perl(parent)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Module::Build::XSUtil is subclass of the Module::Build manpage for support
|
||||
building XS modules.
|
||||
Module::Build::XSUtil is subclass of Module::Build for support building XS
|
||||
modules.
|
||||
|
||||
This is a list of a new parameters in the Module::Build::new method:
|
||||
|
||||
* needs_compiler_c99
|
||||
|
||||
This option checks C99 compiler's availability. If it's not available,
|
||||
Build.PL exits by 0.
|
||||
This option checks C99 compiler's availability. If it's not available,
|
||||
Build.PL exits by 0.
|
||||
|
||||
* needs_compiler_cpp
|
||||
|
||||
This option checks C++ compiler's availability. If it's not available,
|
||||
Build.PL exits by 0.
|
||||
This option checks C++ compiler's availability. If it's not available,
|
||||
Build.PL exits by 0.
|
||||
|
||||
In addition, append 'extra_compiler_flags' and 'extra_linker_flags' for
|
||||
C++.
|
||||
In addition, append 'extra_compiler_flags' and 'extra_linker_flags' for
|
||||
C++.
|
||||
|
||||
* generate_ppport_h
|
||||
|
||||
Genereate ppport.h by the Devel::PPPort manpage.
|
||||
Genereate ppport.h by Devel::PPPort.
|
||||
|
||||
* generate_xshelper_h
|
||||
|
||||
Genereate xshelper.h which is a helper header file to include EXTERN.h,
|
||||
perl.h, XSUB.h and ppport.h, and defines some portability stuff which are
|
||||
not supported by ppport.h.
|
||||
Genereate xshelper.h which is a helper header file to include EXTERN.h,
|
||||
perl.h, XSUB.h and ppport.h, and defines some portability stuff which are
|
||||
not supported by ppport.h.
|
||||
|
||||
It is porting from the Module::Install::XSUtil manpage.
|
||||
It is porting from Module::Install::XSUtil.
|
||||
|
||||
* cc_warnings
|
||||
|
||||
Enable compiler warnings flag. It is enable by default.
|
||||
Enable compiler warnings flag. It is enable by default.
|
||||
|
||||
* -g options
|
||||
|
||||
If invoke Build.PL with '-g' option, It will build with debug options.
|
||||
If invoke Build.PL with '-g' option, It will build with debug options.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
%{__perl} Build.PL --installdirs=vendor optimize="%{optflags}"
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE minil.toml README.md
|
||||
%doc Changes minil.toml README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user