From 418d4c9c4a85c781d6ad20c20c8f3740e88d2cf791739d4a152410c36cfbed07 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Thu, 26 Aug 2010 19:19:08 +0000 Subject: [PATCH] 0.3607 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Build?expand=0&rev=2 --- Module-Build-0.31.tar.bz2 | 3 - Module-Build-0.3607.tar.gz | 3 + perl-Module-Build.changes | 6 ++ perl-Module-Build.spec | 177 +++++++++++++++---------------------- 4 files changed, 82 insertions(+), 107 deletions(-) delete mode 100644 Module-Build-0.31.tar.bz2 create mode 100644 Module-Build-0.3607.tar.gz diff --git a/Module-Build-0.31.tar.bz2 b/Module-Build-0.31.tar.bz2 deleted file mode 100644 index abd16c9..0000000 --- a/Module-Build-0.31.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3229d3d6476375fbce3deaaf5410f08fed9ef7c46dc4fb01821ed73c72a6ee5d -size 161047 diff --git a/Module-Build-0.3607.tar.gz b/Module-Build-0.3607.tar.gz new file mode 100644 index 0000000..754d18a --- /dev/null +++ b/Module-Build-0.3607.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb7eb79be077db98980e2d2052152dd77b9de7399e371240d5fd71b665d91de2 +size 297358 diff --git a/perl-Module-Build.changes b/perl-Module-Build.changes index 6cd77e7..cd453cc 100644 --- a/perl-Module-Build.changes +++ b/perl-Module-Build.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 26 19:18:27 UTC 2010 - pascal.bleser@opensuse.org + +- update to 0.3607 +- rewrote spec file from scratch + ------------------------------------------------------------------- Thu Mar 4 15:42:00 UTC 2010 - chris@computersalat.de diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec index 1fd2127..3fb14ab 100644 --- a/perl-Module-Build.spec +++ b/perl-Module-Build.spec @@ -1,107 +1,67 @@ -# -# spec file for package perl-Module-Build (Version 0.31) -# -# Copyright (c) 2009 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/ -# - +# vim: set sw=4 ts=4 et nu: # norootforbuild Name: perl-Module-Build -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +Version: 0.3607 +Release: 0 Summary: Build and install Perl modules -Version: 0.31 -Release: 1 -License: artistic +Source: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Module-Build-%{version}.tar.gz +URL: http://search.cpan.org/dist/Module-Build Group: Development/Libraries/Perl -Url: http://search.cpan.org/perldoc?Module::Build -Source0: %{cpan_name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: perl -BuildRequires: perl-macros +License: Perl License +BuildRoot: %{_tmppath}/build-%{name}-%{version} +Requires: perl = %{perl_version} +BuildRequires: make perl BuildRequires: perl(Test::More) >= 0.49 -BuildRequires: perl(Test::Harness) >= 2.03 -BuildRequires: perl(Data::Dumper) -BuildRequires: perl(File::Basename) -#BuildRequires: perl(File::Compare) -#BuildRequires: perl(File::Copy) +BuildRequires: perl(Test::Harness) >= 3.16 +BuildRequires: perl(File::Temp) >= 0.15 +BuildRequires: perl(Module::Build) +BuildRequires: perl(File::Spec) >= 0.82 +BuildRequires: perl(ExtUtils::Install) +BuildRequires: perl(File::Compare) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) -BuildRequires: perl(File::Spec) >= 0.82 -BuildRequires: perl(IO::File) -# defined in Build.PL but not used -#BuildRequires: perl(Text::Abbrev) -BuildRequires: perl(Text::ParseWords) +BuildRequires: perl(ExtUtils::CBuilder) >= 0.27 +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(Text::Abbrev) +BuildRequires: perl(File::Copy) BuildRequires: perl(Getopt::Long) BuildRequires: perl(Test::Harness) -# recommends by Build.PL -BuildRequires: perl(Archive::Tar) >= 1.08 -BuildRequires: perl(Archive::Zip) -#BuildRequires: perl(ExtUtils::CBuilder) >= 0.15 -#BuildRequires: perl(ExtUtils::Install) >= 0.30 -#BuildRequires: perl(ExtUtils::ParseXS) >= 1.02 - -## 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 -Requires: perl(Pod::Readme) >= 0.04 -%endif - -BuildRequires: perl(Module::Signature) >= 0.21 -BuildRequires: perl(version) >= 0.74 -# YAML support -BuildRequires: perl(YAML) >= 0.35 - -# not mentioned in Build.PL +BuildRequires: perl(IO::File) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(ExtUtils::ParseXS) >= 2.21 +BuildRequires: perl(Text::ParseWords) +BuildRequires: perl(File::Basename) +BuildRequires: perl(ExtUtils::Mkbootstrap) +BuildRequires: perl(Cwd) BuildRequires: perl(PAR::Dist) >= 0.17 -BuildRequires: perl(TAP::Parser) -################################################## -Requires: perl = %{perl_version} -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(ExtUtils::Install) >= 0.30 -Requires: perl(ExtUtils::Manifest) -Requires: perl(ExtUtils::Mkbootstrap) -Requires: perl(IO::File) -# defined in Build.PL but not used -#Requires: perl(Text::Abbrev) -Requires: perl(Text::ParseWords) -Requires: perl(Getopt::Long) -Requires: perl(Test::Harness) -# recommends by Build.PL -Requires: perl(Archive::Tar) >= 1.08 -Requires: perl(ExtUtils::CBuilder) >= 0.15 -Requires: perl(ExtUtils::ParseXS) >= 1.02 -Requires: perl(Module::Signature) >= 0.21 -Requires: perl(version) >= 0.74 +BuildRequires: perl(Archive::Zip) +Requires: perl(File::Spec) >= 0.82 +Requires: perl(ExtUtils::Install) +Requires: perl(File::Compare) +Requires: perl(File::Find) +Requires: perl(File::Path) +Requires: perl(ExtUtils::CBuilder) >= 0.27 +Requires: perl(ExtUtils::Manifest) +Requires: perl(Text::Abbrev) +Requires: perl(File::Copy) +Requires: perl(Getopt::Long) +Requires: perl(Test::Harness) +Requires: perl(IO::File) +Requires: perl(Data::Dumper) +Requires: perl(ExtUtils::ParseXS) >= 2.21 +Requires: perl(Text::ParseWords) +Requires: perl(File::Basename) +Requires: perl(ExtUtils::Mkbootstrap) +Requires: perl(Cwd) +Requires: perl(PAR::Dist) >= 0.17 +Requires: perl(Archive::Zip) # YAML support -Requires: perl(YAML) >= 0.35 +Requires: perl(YAML) >= 0.35 # manpage_support -Requires: perl(Pod::Man) +Requires: perl(Pod::Man) # HTML_support -Requires: perl(Pod::Html) - -# not mentioned in Build.PL -Requires: perl(PAR::Dist) >= 0.17 -Requires: perl(TAP::Parser) -Requires: perl(Test::Pod) >= 0.95 -Requires: perl(Test::Pod::Coverage) >= 1.00 +Requires: perl(Pod::Html) %description `Module::Build' is a system for building, testing, and installing Perl @@ -115,28 +75,37 @@ 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. - Author: Andy Lester %prep -%setup -q -n %{cpan_name}-%{version} +%setup -q -n "Module-Build-%{version}" %build -CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor +%__perl ./Build.PL ./Build +%install +./Build pure_install --destdir "%{buildroot}" --installdirs vendor +%perl_process_packlist + %check ./Build test -%install -./Build install -%perl_process_packlist -%perl_gen_filelist +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} -%clean -%{__rm} -rf $RPM_BUILD_ROOT - -%files -f %{name}.files +%files %defattr(-,root,root) -%doc Changes INSTALL LICENSE README - -%changelog +%doc Changes README LICENSE +%{_bindir}/config_data +%doc %{_mandir}/man1/config_data.1%{ext_man} +%dir %{perl_vendorlib}/Module +%{perl_vendorlib}/Module/Build.pm +%{perl_vendorlib}/Module/Build +%dir %{perl_vendorlib}/inc +%{perl_vendorlib}/inc/latest.pm +%{perl_vendorlib}/inc/latest +%dir %{perl_vendorarch}/auto/Module +%{perl_vendorarch}/auto/Module/Build +%doc %{perl_man3dir}/Module::Build.%{perl_man3ext}%{ext_man} +%doc %{perl_man3dir}/Module::Build::*.%{perl_man3ext}%{ext_man} +%doc %{perl_man3dir}/inc::latest.%{perl_man3ext}%{ext_man}