Hello community,
here is the log from the commit of package perl-DateTime-Tiny for
openSUSE:Factory checked in at 2016-07-12 23:50:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime-Tiny (Old)
and /work/SRC/openSUSE:Factory/.perl-DateTime-Tiny.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DateTime-Tiny"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DateTime-Tiny/perl-DateTime-Tiny.changes
2012-01-05 13:48:56.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-DateTime-Tiny.new/perl-DateTime-Tiny.changes
2016-07-12 23:50:50.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jun 24 05:42:04 UTC 2016 - [email protected]
+
+- updated to 1.06
+ see /usr/share/doc/packages/perl-DateTime-Tiny/Changes
+
+-------------------------------------------------------------------
Old:
----
DateTime-Tiny-1.04.tar.gz
New:
----
DateTime-Tiny-1.06.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DateTime-Tiny.spec ++++++
--- /var/tmp/diff_new_pack.8UkeYg/_old 2016-07-12 23:50:51.000000000 +0200
+++ /var/tmp/diff_new_pack.8UkeYg/_new 2016-07-12 23:50:51.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-DateTime-Tiny
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX 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,93 +15,29 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
Name: perl-DateTime-Tiny
-Version: 1.04
+Version: 1.06
Release: 0
%define cpan_name DateTime-Tiny
-Summary: A date object, with as little code as possible
-License: GPL-1.0+ or Artistic-1.0
+Summary: Date Object, with As Little Code As Possible
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DateTime-Tiny/
-#Source:
http://www.cpan.org/authors/id/A/AD/ADAMK/DateTime-Tiny-%{version}.tar.gz
-Source: %{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildArch: noarch
%{perl_requires}
%description
-*DateTime::Tiny* is a most prominent member of the the DateTime::Tiny
-manpage suite of time modules.
+*DateTime::Tiny* is a most prominent member of the DateTime::Tiny suite of
+time modules.
It implements an extremely lightweight object that represents a datetime.
-The Tiny Mandate
- Many CPAN modules which provide the best implementation of a certain
- concepts are very large. For some reason, this generally seems to be
- about 3 megabyte of ram usage to load the module.
-
- For a lot of the situations in which these large and comprehensive
- implementations exist, some people will only need a small fraction of
- the functionality, or only need this functionality in an ancillary
- role.
-
- The aim of the Tiny modules is to implement an alternative to the large
- module that implements a useful subset of their functionality, using as
- little code as possible.
-
- Typically, this means a module that implements between 50% and 80% of
- the features of the larger module (although this is just a guideline),
- but using only 100 kilobytes of code, which is about 1/30th of the
- larger module.
-
-The Concept of Tiny Date and Time
- Due to the inherent complexity, Date and Time is intrinsically very
- difficult to implement properly.
-
- The arguably *only* module to implement it completely correct is the
- DateTime manpage. However, to implement it properly the DateTime
- manpage is quite slow and requires 3-4 megabytes of memory to load.
-
- The challenge in implementing a Tiny equivalent to DateTime is to do so
- without making the functionality critically flawed, and to carefully
- select the subset of functionality to implement.
-
- If you look at where the main complexity and cost exists, you will find
- that it is relatively cheap to represent a date or time as an object,
- but much much more expensive to modify, manipulate or convert the
- object.
-
- As a result, *DateTime::Tiny* provides the functionality required to
- represent a date as an object, to stringify the date and to parse it
- back in, but does *not* allow you to modify the dates.
-
- The purpose of this is to allow for date object representations in
- situations like log parsing and fast real-time type work.
-
- The problem with this is that having no ability to modify date limits
- the usefulness greatly.
-
- To make up for this, *if* you have the DateTime manpage installed, any
- *DateTime::Tiny* module can be inflated into the equivalent the
- DateTime manpage as needing, loading the DateTime manpage on the fly if
- necesary.
-
- This is somewhat similar to DateTime::LazyInit, but unlike that module
- *DateTime::Tiny* is not modifiable.
-
- For the purposes of date/time logic, all *DateTime::Tiny* objects exist
- in the "C" locale, and the "floating" time zone. This may be improved
- in the future if a suitably tiny way of handling timezones is found.
-
- When converting up to full the DateTime manpage objects, these local
- and time zone settings will be applied (although an ability is provided
- to override this).
-
- In addition, the implementation is strictly correct and is intended to
- be very easily to sub-class for specific purposes of your own.
-
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -117,11 +53,8 @@
%perl_process_packlist
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
-%defattr(644,root,root,755)
-%doc Changes LICENSE README
+%defattr(-,root,root,755)
+%doc Changes CONTRIBUTING.mkdn LICENSE README
%changelog
++++++ DateTime-Tiny-1.04.tar.gz -> DateTime-Tiny-1.06.tar.gz ++++++
++++ 2686 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module