Hello community,

here is the log from the commit of package perl-TimeDate for openSUSE:Factory 
checked in at 2017-10-11 22:55:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-TimeDate (Old)
 and      /work/SRC/openSUSE:Factory/.perl-TimeDate.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-TimeDate"

Wed Oct 11 22:55:31 2017 rev:28 rq:532555 version:2.30

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-TimeDate/perl-TimeDate.changes      
2011-09-23 12:39:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-TimeDate.new/perl-TimeDate.changes 
2017-10-11 22:55:32.756178816 +0200
@@ -1,0 +2,12 @@
+Sat May  2 09:53:14 UTC 2015 - [email protected]
+
+- updated to 2.30
+   see /usr/share/doc/packages/perl-TimeDate/ChangeLog
+
+  2.30 -- Mon Feb 18 13:31:03 CST 2013
+    * Syncing distribution version number with Date::Parse, not functional 
changes
+
+- remove TimeDate-deprecated_array_use.patch and TimeDate-podfile-patch
+  and regenerat with cpanspec
+
+-------------------------------------------------------------------

Old:
----
  TimeDate-1.20.tar.bz2
  TimeDate-deprecated_array_use.patch
  TimeDate-podfile-patch

New:
----
  TimeDate-2.30.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-TimeDate.spec ++++++
--- /var/tmp/diff_new_pack.7aUVCG/_old  2017-10-11 22:55:33.420149698 +0200
+++ /var/tmp/diff_new_pack.7aUVCG/_new  2017-10-11 22:55:33.424149523 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-TimeDate
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,77 +15,57 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           perl-TimeDate
+Version:        2.30
+Release:        0
 %define cpan_name TimeDate
-Summary:        Parse date strings into time values
-Version:        1.20
-Release:        13
-License:        GPL-1.0+ or Artistic-1.0
+Summary:        TimeDate Perl module
+License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/TimeDate
-Source:         %{cpan_name}-%{version}.tar.bz2
-Patch1:         %{cpan_name}-deprecated_array_use.patch
-Patch2:         %{cpan_name}-podfile-patch
+Url:            http://search.cpan.org/dist/TimeDate/
+Source0:        
https://cpan.metacpan.org/authors/id/G/GB/GBARR/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
-Provides:       %{cpan_name}
+%{perl_requires}
 
 %description
- Date::Parse provides two routines for parsing date strings into time values.
+Date::Parse provides two routines for parsing date strings into time values.
 
- str2time(DATE [, ZONE])
+str2time(DATE [, ZONE])
 
     str2time parses DATE and returns a unix time value, or undef upon failure.
      ZONE, if given, specifies the timezone to assume when parsing if the date
      string does not specify a timezome.
 
- strptime(DATE [, ZONE])
+strptime(DATE [, ZONE])
 
     strptime takes the same arguments as str2time but returns an array of 
values
      ($ss,$mm,$hh,$day,$month,$year,$zone). Elements are only defined if they
      could be extracted from the date string. The $zone element is the timezone
      offset in seconds from GMT. An empty array is returned upon failure.
 
-Authors:
---------
-    Graham Barr <[email protected]>
-
 %prep
 %setup -q -n %{cpan_name}-%{version}
-%patch1 -p1
-%patch2
-
-# script-without-shebang
-find -type f -exec chmod 0644 {} \;
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
-perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
-%{__make} %{?jobs:-j%jobs}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
 
 %check
 %{__make} test
 
 %install
 %perl_make_install
-# 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_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.files
-# normally you only need to check for doc files
-%defattr(-,root,root)
-%doc ChangeLog README SIGNATURE
+%defattr(-,root,root,755)
+%doc ChangeLog README
 
 %changelog

++++++ cpanspec.yml ++++++
---
description: |-
 Date::Parse provides two routines for parsing date strings into time values.

 str2time(DATE [, ZONE])

    str2time parses DATE and returns a unix time value, or undef upon failure.
     ZONE, if given, specifies the timezone to assume when parsing if the date
     string does not specify a timezome.

 strptime(DATE [, ZONE])

    strptime takes the same arguments as str2time but returns an array of values
     ($ss,$mm,$hh,$day,$month,$year,$zone). Elements are only defined if they
     could be extracted from the date string. The $zone element is the timezone
     offset in seconds from GMT. An empty array is returned upon failure.



Reply via email to