Hello community,
here is the log from the commit of package perl-DateTime-Calendar-Mayan for openSUSE:Factory checked in at Tue Nov 30 18:28:33 CET 2010.
-------- New Changes file:
--- /dev/null 2010-07-09 01:59:37.000000000 +0200 +++ perl-DateTime-Calendar-Mayan/perl-DateTime-Calendar-Mayan.changes 2009-12-26 22:56:45.000000000 +0100 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Dec 26 21:48:50 UTC 2009 - lars@linux-schulserver.de + +- initial version 0.0601 +
calling whatdependson for head-i586
New: ---- DateTime-Calendar-Mayan-0.0601.tar.bz2 DateTime-Calendar-Mayan-Makefile.patch perl-DateTime-Calendar-Mayan.changes perl-DateTime-Calendar-Mayan.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences: ------------------ ++++++ perl-DateTime-Calendar-Mayan.spec ++++++ # # spec file for package perl-DateTime-Calendar-Mayan (Version 0.0601) # # Copyright (c) 2010 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/ #
# norootforbuild
Name: perl-DateTime-Calendar-Mayan %define real_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: The Mayan Long Count, Haab, and Tzolkin calendars Url: http://search.cpan.org/perldoc?DateTime::Calendar::Mayan Group: Development/Libraries/Perl License: Artistic Version: 0.0601 Release: 1 Source: %{real_name}-%{version}.tar.bz2 Patch1: DateTime-Calendar-Mayan-Makefile.patch BuildRequires: perl-macros BuildRequires: perl(DateTime) BuildRequires: perl(Params::Validate) Requires: perl(DateTime) Requires: perl(Params::Validate) Requires: perl = %{perl_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description An implementation of the Mayan Long Count, Haab, and Tzolkin calendars as defined in "Calendrical Calculations The Millennium Edition". Supplemented by "Frequently Asked Questions about Calendars".
Author: ------- Joshua Hoblitt jhoblitt@cpan.org
%prep %setup -q -n %{real_name}-%{version} %patch1 -p0
%build perl Makefile.PL make %{?jobs:-j%jobs}
%check make test
%install %perl_make_install %perl_process_packlist %perl_gen_filelist
%clean rm -rf %{buildroot}
%files -f %{name}.files %defattr(-, root, root) %doc Changes README MANIFEST
%changelog ++++++ DateTime-Calendar-Mayan-Makefile.patch ++++++ Index: Makefile.PL =================================================================== --- Makefile.PL.orig +++ Makefile.PL @@ -1,27 +1,13 @@ -unless (eval "use Module::Build::Compat 0.02; 1" ) { - print "This module requires Module::Build to install itself.\n"; - - require ExtUtils::MakeMaker; - my $yn = ExtUtils::MakeMaker::prompt - (' Install Module::Build from CPAN?', 'y'); - - if ($yn =~ /^y/i) { - require Cwd; - require File::Spec; - require CPAN; - - # Save this 'cause CPAN will chdir all over the place. - my $cwd = Cwd::cwd(); - my $makefile = File::Spec->rel2abs($0); - - CPAN::Shell->install('Module::Build::Compat'); - - chdir $cwd or die "Cannot chdir() back to $cwd: $!"; - exec $^X, $makefile, @ARGV; # Redo now that we have Module::Build - } else { - warn " *** Cannot install without Module::Build. Exiting ...\n"; - exit 1; - } -} -Module::Build::Compat->run_build_pl(args => @ARGV); -Module::Build::Compat->write_makefile(); +use 5.006; +use ExtUtils::MakeMaker; +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. +WriteMakefile( + NAME => 'DateTime::Calendar::Mayan', + VERSION_FROM => 'lib/DateTime/Calendar/Mayan.pm', + PREREQ_PM => {}, + ($] >= 5.005 ? ## Add these new keywords supported since 5.005 + (ABSTRACT_FROM => 'lib/DateTime/Calendar/Mayan.pm', # retrieve abstract from module + AUTHOR => 'Joshua Hoblitt jhoblitt@cpan.org') : ()), + EXE_FILES => [], +);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...