Accepting request 295846 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/295846 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-NLS_DATE_FORMAT?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
ed618d0273
commit
60163103b0
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:46b6e738bc4cba6f96a7e8b95c6ab95ba03c9c37a511054b4cf32a02adb671fe
|
|
||||||
size 4075
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:83fbdbe909c93bb0927a4a51c4670f5237acfefb2d38f9d7a4d8971b2d0f82b5
|
|
||||||
size 4016
|
|
3
Convert-NLS_DATE_FORMAT-0.05.tar.gz
Normal file
3
Convert-NLS_DATE_FORMAT-0.05.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:aec236a01afa740ce827517a5ecfc57f2a96d13295d848b35c06b4b95e6fc1d5
|
||||||
|
size 4485
|
@@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 18:34:20 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.05
|
||||||
|
see /usr/share/doc/packages/perl-Convert-NLS_DATE_FORMAT/Changes
|
||||||
|
|
||||||
|
0.05 Tue Jan 17 22:23:40 2012
|
||||||
|
- changed ~~ to =~ for compatibility with older versions of Perl
|
||||||
|
|
||||||
|
0.04 Mon Jan 16 15:09:56 2012
|
||||||
|
- remove quotes from quoted strings within oracle formats
|
||||||
|
(Thank you Yanick Champoux)
|
||||||
|
|
||||||
|
0.03 Tue Oct 11 20:48:56 2011
|
||||||
|
- added ability to specify subsecond granularity
|
||||||
|
(Thank you Jon Bjornstad and Zefram)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 18:34:19 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.03
|
||||||
|
see /usr/share/doc/packages/perl-Convert-NLS_DATE_FORMAT/Changes
|
||||||
|
|
||||||
|
0.03 Tue Oct 11 20:48:56 2011
|
||||||
|
- added ability to specify subsecond granularity
|
||||||
|
(Thank you Jon Bjornstad and Zefram)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 17 14:44:45 UTC 2011 - jw@novell.com
|
Thu Feb 17 14:44:45 UTC 2011 - jw@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Convert-NLS_DATE_FORMAT (Version 0.02)
|
# spec file for package perl-Convert-NLS_DATE_FORMAT
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX 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
|
||||||
@@ -15,46 +15,26 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Convert-NLS_DATE_FORMAT
|
Name: perl-Convert-NLS_DATE_FORMAT
|
||||||
Version: 0.02
|
Version: 0.05
|
||||||
Release: 1
|
Release: 0
|
||||||
License: CHECK(GPL+ or Artistic)
|
|
||||||
%define cpan_name Convert-NLS_DATE_FORMAT
|
%define cpan_name Convert-NLS_DATE_FORMAT
|
||||||
Summary: Convert Oracle NLS_DATE_FORMAT <-> strftime Format Strings
|
Summary: Convert Oracle NLS_DATE_FORMAT <-> strftime Format Strings
|
||||||
Url: http://search.cpan.org/dist/Convert-NLS_DATE_FORMAT/
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: http://www.cpan.org/authors/id/K/KO/KOLIBRIE/Convert-NLS_DATE_FORMAT-0.02.tar.bz2
|
Url: http://search.cpan.org/dist/Convert-NLS_DATE_FORMAT/
|
||||||
# Source: %{cpan_name}-%{version}.tar.bz2
|
Source: http://www.cpan.org/authors/id/K/KO/KOLIBRIE/%{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Convert Oracle's NLS_DATE_FORMAT string into a strptime format string, or
|
Convert Oracle's NLS_DATE_FORMAT string into a strptime format string, or
|
||||||
the reverse.
|
the reverse.
|
||||||
|
|
||||||
Functions
|
|
||||||
* oracle2posix
|
|
||||||
|
|
||||||
Takes an Oracle NLS_DATE_FORMAT string and converts it into
|
|
||||||
formatting string compatible with 'strftime' or 'strptime'.
|
|
||||||
|
|
||||||
my $format = oracle2posix('YYYY-MM-DD HH24:MI:SS'); # '%Y-%m-%d %H:%M:%S'
|
|
||||||
|
|
||||||
* posix2oracle
|
|
||||||
|
|
||||||
Takes a 'strftime' or 'strptime' formatting string and converts it
|
|
||||||
into an Oracle NLS_DATE_FORMAT string. _It is possible to create
|
|
||||||
strings which Oracle will not accept as valid NLS_DATE_FORMAT
|
|
||||||
strings._
|
|
||||||
|
|
||||||
my $format = posix2oracle('%Y-%m-%d %H:%M:%S'); # 'YYYY-MM-DD HH24:MI:SS'
|
|
||||||
|
|
||||||
EXPORT
|
|
||||||
None by default. 'oracle2posix' and 'posix2oracle' when asked.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
@@ -70,11 +50,8 @@ EXPORT
|
|||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(644,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user