From 24e55ded2568e663f7d02aeb13431dec710979c390ea92a3d91af26323f76a72 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 8 Oct 2013 07:31:09 +0000 Subject: [PATCH] trigger service run OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Build?expand=0&rev=21 --- Module-Build-0.4005.tar.gz | 3 - Module-Build-0.4007.tar.gz | 3 + perl-Module-Build.changes | 43 ++++++++++ perl-Module-Build.spec | 156 ++++++++++++++++--------------------- 4 files changed, 112 insertions(+), 93 deletions(-) delete mode 100644 Module-Build-0.4005.tar.gz create mode 100644 Module-Build-0.4007.tar.gz diff --git a/Module-Build-0.4005.tar.gz b/Module-Build-0.4005.tar.gz deleted file mode 100644 index d7243f4..0000000 --- a/Module-Build-0.4005.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb2522507251550f459c11223ea6d86b34f1dee9b3e3928d0d6a0497505cb7ef -size 307822 diff --git a/Module-Build-0.4007.tar.gz b/Module-Build-0.4007.tar.gz new file mode 100644 index 0000000..7458f12 --- /dev/null +++ b/Module-Build-0.4007.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15ac5eb06628348391645464840af8ad6f545831a814e2ea502dc89b9fd70152 +size 307248 diff --git a/perl-Module-Build.changes b/perl-Module-Build.changes index a9a69de..771192d 100644 --- a/perl-Module-Build.changes +++ b/perl-Module-Build.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Tue Oct 8 06:47:23 UTC 2013 - coolo@suse.com + +- updated to 0.4007 + [BUG FIXES] + + - Removed undeclared test dependency on parent.pm [Leon Timmermans] + + - Declared dependency on Pod::Man 2.17 for utf8 support [Leon Timmermans] + + - Force generation of man pages in manify_with_utf8.t [Leon Timmermans] + + 0.4006 - Thu Jul 18 14:19:49 CEST 2013 + + [ENHANCEMENTS] + + - Significantly sped up some tests by not forcing HTML docs to be + built when the user's config doesn't ask for them anyway. + [Ken Williams] + + - The Module::Metadata package was split out from this distro back + in 2010. Removed its regression tests. [Ken Williams] + + - Removed dependence on IO::File, replacing it with safe invocations + of open(). [Sven Dowideit] + + - Added an 'extra_manify_args' parameter to facilitate man pages + containing Unicode. [Joenio Costa] + + - Added an '--html_links 0' argument for the 'html' action, which + can hugely speed things up. The main effect is speeding up the + M::B tests themselves. [Ken Williams] + + [BUG FIXES] + + - Fix hash argument parsing in subclasses [Graham Ollis] + + - Revised detildification on VMS [Craig Berry] + + - Fix run_test_harness for case when $Switches is an empty string + [Victor Efimov, Ken Williams] + + ------------------------------------------------------------------- Thu Jun 27 09:28:27 UTC 2013 - coolo@suse.com diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec index e194a49..d09dd50 100644 --- a/perl-Module-Build.spec +++ b/perl-Module-Build.spec @@ -17,129 +17,105 @@ Name: perl-Module-Build +Version: 0.4007 +Release: 0 %define cpan_name Module-Build Summary: Build and install Perl modules -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Version: 0.4005 -Release: 0 Url: http://search.cpan.org/dist/Module-Build/ -Source: http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} -# for rename BuildRequires: perl BuildRequires: perl-macros -BuildRequires: util-linux -BuildRequires: perl(File::Temp) >= 0.15 -BuildRequires: perl(Module::Build) -BuildRequires: perl(Test::Harness) >= 3.16 -BuildRequires: perl(Test::More) >= 0.49 -# -BuildRequires: perl(Cwd) -BuildRequires: perl(Data::Dumper) -BuildRequires: perl(File::Basename) -BuildRequires: perl(File::Compare) -BuildRequires: perl(File::Copy) -BuildRequires: perl(File::Find) -BuildRequires: perl(File::Path) -BuildRequires: perl(File::Spec) >= 0.82 -BuildRequires: perl(Getopt::Long) -BuildRequires: perl(IO::File) -BuildRequires: perl(Text::Abbrev) -BuildRequires: perl(Text::ParseWords) -#BuildRequires: perl(version) >= 0.74 -################################################## -Requires: perl(Cwd) -Requires: perl(Data::Dumper) -Requires: perl(File::Basename) -Requires: perl(File::Compare) -Requires: perl(File::Copy) -Requires: perl(File::Find) -Requires: perl(File::Path) -Requires: perl(File::Spec) >= 0.82 -Requires: perl(Getopt::Long) -Requires: perl(IO::File) -Requires: perl(Text::Abbrev) -Requires: perl(Text::ParseWords) -%if 0%{?suse_version} -Recommends: perl(version) >= 0.74 -%endif -################################################## -# -BuildRequires: perl(Archive::Tar) >= 1.09 -## Pod::Readme requires Pod::Text >= 3.00 -## only perl >= 5.10 will fullfill this dep -%if 0%{?suse_version} >= 1100 -BuildRequires: perl(Pod::Readme) >= 0.04 -Recommends: perl(Pod::Readme) >= 0.04 -%endif -#BuildRequires: perl(Module::Signature) >= 0.21 -%if 0%{?suse_version} -Recommends: perl(Module::Signature) >= 0.21 -%endif -# -#BuildRequires: perl(Software::License) -#Requires: perl(Software::License) -# YAML support -#BuildRequires: perl(YAML::Tiny) >= 1.38 -#Requires: perl(YAML::Tiny) >= 1.38 -# manpage_support -Requires: perl(Pod::Man) -# HTML_support -Requires: perl(Pod::Html) -# not mentioned in Build.PL -BuildRequires: perl(PAR::Dist) >= 0.17 -Requires: perl(PAR::Dist) >= 0.17 BuildRequires: perl(CPAN::Meta) >= 2.110420 -Requires: perl(CPAN::Meta) >= 2.110420 -BuildRequires: perl(Module::Metadata) >= 1.000002 -Requires: perl(Module::Metadata) >= 1.000002 -BuildRequires: perl(Perl::OSType) >= 1 -Requires: perl(Perl::OSType) >= 1 +BuildRequires: perl(CPAN::Meta::YAML) >= 0.003 BuildRequires: perl(ExtUtils::CBuilder) >= 0.27 -BuildRequires: perl(version) >= 0.87 -Requires: perl(ExtUtils::CBuilder) >= 0.27 BuildRequires: perl(ExtUtils::ParseXS) >= 2.21 +BuildRequires: perl(Module::Metadata) >= 1.000002 +BuildRequires: perl(Parse::CPAN::Meta) >= 1.4401 +BuildRequires: perl(Perl::OSType) >= 1 +BuildRequires: perl(Pod::Man) >= 2.17 +BuildRequires: perl(Test::Harness) >= 3.16 +BuildRequires: perl(version) >= 0.87 +Requires: perl(CPAN::Meta) >= 2.110420 +Requires: perl(ExtUtils::CBuilder) >= 0.27 Requires: perl(ExtUtils::ParseXS) >= 2.21 - -################################################## +Requires: perl(Module::Metadata) >= 1.000002 +Requires: perl(Perl::OSType) >= 1 +Requires: perl(Pod::Man) >= 2.17 +Requires: perl(version) >= 0.87 +Recommends: perl(ExtUtils::Manifest) >= 1.54 +%{perl_requires} %description -Module::Build is a system for building, testing, and installing Perl -modules. It is meant to be an alternative to ExtUtils::MakeMaker. +'Module::Build' is a system for building, testing, and installing Perl +modules. It is meant to be an alternative to 'ExtUtils::MakeMaker'. Developers may alter the behavior of the module through subclassing in a -much more straightforward way than with MakeMaker. It also does not require -a make on your system - most of the Module::Build code is pure-perl and -written in a very cross-platform way. In fact, you don't even need a shell, -so even platforms like MacOS (traditional) can use it fairly easily. Its -only prerequisites are modules that are included with perl 5.6.0, and it -works fine on perl 5.005 if you can install a few additional modules. +much more straightforward way than with 'MakeMaker'. It also does not +require a 'make' on your system - most of the 'Module::Build' code is +pure-perl and written in a very cross-platform way. + +See the "MOTIVATIONS" manpage for more comparisons between +'ExtUtils::MakeMaker' and 'Module::Build'. + +To install 'Module::Build', and any other module that uses 'Module::Build' +for its installation process, do the following: + + perl Build.PL # 'Build.PL' script creates the 'Build' script + ./Build # Need ./ to ensure we're using this "Build" script + ./Build test # and not another one that happens to be in the PATH + ./Build install + +This illustrates initial configuration and the running of three 'actions'. +In this case the actions run are 'build' (the default action), 'test', and +'install'. Other actions defined so far include: + + build manifest + clean manifest_skip + code manpages + config_data pardist + diff ppd + dist ppmdist + distcheck prereq_data + distclean prereq_report + distdir pure_install + distinstall realclean + distmeta retest + distsign skipcheck + disttest test + docs testall + fakeinstall testcover + help testdb + html testpod + install testpodcoverage + installdeps versioninstall + +You can run the 'help' action for a complete list of actions. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check -#TEST_SIGNATURE=1 ./Build test ./Build test %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +./Build install destdir=%{buildroot} create_packlist=0 +# MANUAL BEGIN # avoid conflict with Perl's own supplied version mv %{buildroot}/usr/bin/config_data %{buildroot}/usr/bin/config_data-%{version} rename config_data config_data-%{version} %{buildroot}/%{_mandir}/man1/config_data.* +# MANUAL END %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes contrib LICENSE README %changelog