Accepting request 178261 from devel:languages:perl
update (forwarded request 178046 from coolo) OBS-URL: https://build.opensuse.org/request/show/178261 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Format-Builder?expand=0&rev=8
This commit is contained in:
commit
8fb3892328
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9250fe0f7312fe6b12295280a10968d665bee563170477a272a099464cd02c89
|
||||
size 65576
|
3
DateTime-Format-Builder-0.81.tar.gz
Normal file
3
DateTime-Format-Builder-0.81.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7cd58a8cb53bf698407cc992f89e4d49bf3dc55baf4f3f00f1def63a0fff33ef
|
||||
size 39933
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 08:14:57 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.81, no changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:08:33 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-DateTime-Format-Builder
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 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
|
||||
@ -15,28 +15,35 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-DateTime-Format-Builder
|
||||
Version: 0.81
|
||||
Release: 0
|
||||
%define cpan_name DateTime-Format-Builder
|
||||
Summary: Create DateTime parser classes and objects
|
||||
Url: http://search.cpan.org/perldoc?DateTime::Format::Builder
|
||||
Summary: Create DateTime parser classes and objects.
|
||||
License: Artistic-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic-1.0
|
||||
Version: 0.80
|
||||
Release: 1
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(DateTime)
|
||||
BuildRequires: perl(DateTime::Format::Strptime)
|
||||
BuildRequires: perl(Class::Factory::Util)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Memory::Cycle)
|
||||
Requires: perl(DateTime)
|
||||
Requires: perl(DateTime::Format::Strptime)
|
||||
Requires: perl(Class::Factory::Util)
|
||||
Url: http://search.cpan.org/dist/DateTime-Format-Builder/
|
||||
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Class::Factory::Util) >= 1.6
|
||||
BuildRequires: perl(DateTime) >= 1.00
|
||||
BuildRequires: perl(DateTime::Format::Strptime) >= 1.04
|
||||
BuildRequires: perl(Params::Validate) >= 0.72
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
#BuildRequires: perl(DateTime::Format::Builder)
|
||||
#BuildRequires: perl(DateTime::Format::Builder::Parser)
|
||||
#BuildRequires: perl(DateTime::Format::Builder::Parser::generic)
|
||||
#BuildRequires: perl(DateTime::Format::HTTP)
|
||||
#BuildRequires: perl(DateTime::Format::IBeat)
|
||||
#BuildRequires: perl(DateTime::Format::Mail)
|
||||
Requires: perl(Class::Factory::Util) >= 1.6
|
||||
Requires: perl(DateTime) >= 1.00
|
||||
Requires: perl(DateTime::Format::Strptime) >= 1.04
|
||||
Requires: perl(Params::Validate) >= 0.72
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@ -45,37 +52,31 @@ dates and times are simple and just require a basic regular expression to
|
||||
extract the relevant information. Builder provides a simple way to do this
|
||||
without writing reams of structural code.
|
||||
|
||||
Builder provides a number of methods, most of which you'll never need, or at
|
||||
least rarely need. They're provided more for exposing of the module's innards
|
||||
to any subclasses, or for when you need to do something slightly beyond what I
|
||||
expected.
|
||||
|
||||
Author:
|
||||
-------
|
||||
Iain Truskett <spoon@cpan.org>,
|
||||
Dave Rolsky <autarch@urth.org>
|
||||
Builder provides a number of methods, most of which you'll never need, or
|
||||
at least rarely need. They're provided more for exposing of the module's
|
||||
innards to any subclasses, or for when you need to do something slightly
|
||||
beyond what I expected.
|
||||
|
||||
This creates the end methods. Coderefs die on bad parses, return 'DateTime'
|
||||
objects on good parse.
|
||||
|
||||
%prep
|
||||
%setup -n %{cpan_name}-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?jobs:-j%jobs}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__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
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user