Accepting request 42419 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-DateTime-Format-Strptime via accept of submit request 42419 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/42419
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-Strptime?expand=0&rev=4
This commit is contained in:
Christian Wittmer 2010-07-02 15:11:39 +00:00 committed by Git OBS Bridge
parent 3e54981841
commit 2042dbd919
4 changed files with 58 additions and 45 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eaf7bd0f0c10a55d88ab4f7b1d27133c2be7f968b05abbe26e4e0a7afde77593
size 26164

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d54e1caf95152c6a50e355f052a62d4a1f97a08af352cd06f60752d46151d1f0
size 25490

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Jul 2 15:00:46 UTC 2010 - chris@computersalat.de
- update to 1.4000
- Actually update $VERSION in module file. Reported by David Wheeler.
- 1.3000 2010-06-26
- Specifiers which allowed for leading space before a number (like %e)
would cause DateTime.pm to throw an error if the date being parsed
actually contained leading space. Patch by Alex Vandiver. RT #58459.
- License is now Artistic 2.0
- 1.2000 2010-03-19
- Updated to use non-deprecated DateTime::Locale API
- 1.1000 2009-07-13 -- Regex Pattern
- If the pattern you pass in is a regular expression, that will be honored.
- Changed the locale tests to use require the latest version of Locale
until the target stops moving.
- spec created by cpanspec 1.78
- noarch
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 25 19:36:40 CEST 2009 - chris@computersalat.de Sat Jul 25 19:36:40 CEST 2009 - chris@computersalat.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-DateTime-Format-Strptime # spec file for package perl-DateTime-Format-Strptime (Version 1.4000)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,72 +17,66 @@
# norootforbuild # norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
Name: perl-DateTime-Format-Strptime Name: perl-DateTime-Format-Strptime
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) %define cpan_name DateTime-Format-Strptime
Summary: Parse and format strp and strf time patterns Summary: Parse and format strp and strf time patterns
Version: 1.0901 Version: 1.4000
Release: 1 Release: 1
License: artistic License: Artistic 2.0
Group: Applications/CPAN Group: Development/Libraries/Perl
Url: http://search.cpan.org/perldoc?DateTime::Format::Strptime Url: http://search.cpan.org/dist/DateTime-Format-Strptime/
Source0: %{cpan_name}-%{version}.tar.bz2 #Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-Format-Strptime-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros BuildRequires: perl-macros
#BuildRequires: perl(Module::Build) %endif
#BuildRequires: perl(DateTime) >= 0.4304
# rpm does not see that 0.50 is > than 0.4304
BuildRequires: perl(DateTime) >= 0.44 BuildRequires: perl(DateTime) >= 0.44
BuildRequires: perl(DateTime::Locale) >= 0.41 BuildRequires: perl(DateTime::Locale) >= 0.45
BuildRequires: perl(DateTime::TimeZone) >= 0.79 BuildRequires: perl(DateTime::TimeZone) >= 0.79
BuildRequires: perl(Params::Validate) >= 0.64 BuildRequires: perl(Params::Validate) >= 0.64
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
#Requires: perl(DateTime) >= 0.4304 Requires: perl(DateTime) >= 0.44
# rpm does not see that 0.50 is > than 0.4304 Requires: perl(DateTime::Locale) >= 0.45
Requires: perl(DateTime) >= 0.44 Requires: perl(DateTime::TimeZone) >= 0.79
Requires: perl(DateTime::Locale) >= 0.41 Requires: perl(Params::Validate) >= 0.64
Requires: perl(DateTime::TimeZone) >= 0.79
Requires: perl(Params::Validate) >= 0.64
%description %description
%{cpan_name} module for perl This module implements most of strptime(3), the POSIX function that is the
reverse of strftime(3), for DateTime. While strftime takes a DateTime and a
This module implements most of strptime(3), the POSIX function that is the pattern and returns a string, strptime takes a string and a pattern and
reverse of strftime(3), for DateTime. returns the DateTime object associated.
While strftime takes a DateTime and a pattern and returns a string,
strptime takes a string and a pattern and returns the DateTime object associated.
Author: Rick Measham <rickm@cpan.org>
Authors:
--------
Rick Measham <rickm@cpan.org>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{__make} %{?_smp_mflags}
%check %check
%{__make} test %{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist # do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist %perl_gen_filelist
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc Changes LICENSE README %doc Changes dist.ini LICENSE META.json README SIGNATURE
%changelog %changelog
* Sun Nov 16 2008 - rpm@scorpio-it.net - 1.0800
- upgrade to new version
* Sun Feb 03 2008 - rpm@scorpio-it.net - 1.0702 - 1
- first run