Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-File-Touch for openSUSE:Factory
checked in at 2021-03-24 16:13:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Touch (Old)
and /work/SRC/openSUSE:Factory/.perl-File-Touch.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-Touch"
Wed Mar 24 16:13:05 2021 rev:3 rq:880559 version:0.12
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-Touch/perl-File-Touch.changes
2016-08-18 10:21:29.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-File-Touch.new.2401/perl-File-Touch.changes
2021-03-24 16:13:06.683949016 +0100
@@ -1,0 +2,24 @@
+Sun Mar 21 03:07:04 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 0.12
+ see /usr/share/doc/packages/perl-File-Touch/Changes
+
+ 0.12 2021-03-20 NEILB
+ - Fix for RT#128243, where touching a file in close succession wouldn't
+ register the second one for make & other purposes, on systems that
+ have finer granularity than seconds. Thanks to Slaven Rezic for
+ the suggested fix.
+ - Improved opening paragraphs of the DESCRIPTION, including a suggestion
+ to always require 0.12 or higher.
+ 0.11_03 2021-03-18 NEILB
+ - Time::HiRes doesn't provide utime() on Windows, so now we try and
+ load Time::HiRes in a BEGIN block, and only enforce the min version
+ if it loaded ok.
+ 0.11_02 2021-03-18 NEILB
+ - Looks like I should have specified a min version of
+ Time::HiRes. Was getting some fails from CPAN Testers,
+ about utime() not being available.
+ 0.11_01 2021-03-17 NEILB
+ - Try Slaven's suggested fix for RT#128243
+
+-------------------------------------------------------------------
Old:
----
File-Touch-0.11.tar.gz
New:
----
File-Touch-0.12.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-File-Touch.spec ++++++
--- /var/tmp/diff_new_pack.39q4rt/_old 2021-03-24 16:13:07.067949419 +0100
+++ /var/tmp/diff_new_pack.39q4rt/_new 2021-03-24 16:13:07.071949423 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-File-Touch
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,36 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%define cpan_name File-Touch
Name: perl-File-Touch
-Version: 0.11
+Version: 0.12
Release: 0
-%define cpan_name File-Touch
-Summary: Update File Access and Modification Times, Optionally Creating
Files If Needed
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/File-Touch/
-Source0:
http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
+Summary: Update file access and modification times, optionally creating
files if needed
+License: Artistic-1.0 OR GPL-1.0-or-later
+URL: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.88
+BuildRequires: perl(Time::HiRes) >= 1.9764
+Requires: perl(Time::HiRes) >= 1.9764
%{perl_requires}
%description
+This module provides both a functional and OO interface for changing the
+file access and modification times on files. It can optionally create the
+file for you, if it doesn't exist.
+
+*Note*: you should specify a minimum version of 0.12, as per the SYNOPSIS,
+as that fixed an issue that affected systems that have sub-second
+granularity on those file times.
+
Here's a list of arguments that can be used with the object-oriented
contruction:
@@ -72,14 +80,14 @@
modification time.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -87,7 +95,7 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
%changelog
++++++ File-Touch-0.11.tar.gz -> File-Touch-0.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Touch-0.11/Changes new/File-Touch-0.12/Changes
--- old/File-Touch-0.11/Changes 2016-02-27 00:00:23.000000000 +0100
+++ new/File-Touch-0.12/Changes 2021-03-20 10:55:57.000000000 +0100
@@ -1,5 +1,26 @@
Revision history for Perl module File::Touch
+0.12 2021-03-20 NEILB
+ - Fix for RT#128243, where touching a file in close succession wouldn't
+ register the second one for make & other purposes, on systems that
+ have finer granularity than seconds. Thanks to Slaven Rezic for
+ the suggested fix.
+ - Improved opening paragraphs of the DESCRIPTION, including a suggestion
+ to always require 0.12 or higher.
+
+0.11_03 2021-03-18 NEILB
+ - Time::HiRes doesn't provide utime() on Windows, so now we try and
+ load Time::HiRes in a BEGIN block, and only enforce the min version
+ if it loaded ok.
+
+0.11_02 2021-03-18 NEILB
+ - Looks like I should have specified a min version of
+ Time::HiRes. Was getting some fails from CPAN Testers,
+ about utime() not being available.
+
+0.11_01 2021-03-17 NEILB
+ - Try Slaven's suggested fix for RT#128243
+
0.11 2016-11-26 NEILB
- Document when reference gras the timestamps, and give example.
Thanks to SMYLERS for the PR with this.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Touch-0.11/MANIFEST new/File-Touch-0.12/MANIFEST
--- old/File-Touch-0.11/MANIFEST 2016-02-27 00:00:23.000000000 +0100
+++ new/File-Touch-0.12/MANIFEST 2021-03-20 10:55:57.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.037.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.012.
Changes
LICENSE
MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Touch-0.11/META.json
new/File-Touch-0.12/META.json
--- old/File-Touch-0.11/META.json 2016-02-27 00:00:23.000000000 +0100
+++ new/File-Touch-0.12/META.json 2021-03-20 10:55:57.000000000 +0100
@@ -4,7 +4,7 @@
"Nigel Wetters Gourlay <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.037, CPAN::Meta::Converter version
2.150005",
+ "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version
2.150010",
"license" : [
"perl_5"
],
@@ -26,6 +26,7 @@
"Fcntl" : "0",
"File::stat" : "0",
"IO::File" : "0",
+ "Time::HiRes" : "1.9764",
"perl" : "5.006",
"strict" : "0",
"warnings" : "0"
@@ -46,6 +47,8 @@
"web" : "https://github.com/neilb/File-Touch"
}
},
- "version" : "0.11"
+ "version" : "0.12",
+ "x_generated_by_perl" : "v5.28.2",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.24"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Touch-0.11/META.yml new/File-Touch-0.12/META.yml
--- old/File-Touch-0.11/META.yml 2016-02-27 00:00:23.000000000 +0100
+++ new/File-Touch-0.12/META.yml 2021-03-20 10:55:57.000000000 +0100
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.037, CPAN::Meta::Converter version
2.150005'
+generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,10 +19,13 @@
Fcntl: '0'
File::stat: '0'
IO::File: '0'
+ Time::HiRes: '1.9764'
perl: '5.006'
strict: '0'
warnings: '0'
resources:
homepage: https://github.com/neilb/File-Touch
repository: https://github.com/neilb/File-Touch.git
-version: '0.11'
+version: '0.12'
+x_generated_by_perl: v5.28.2
+x_serialization_backend: 'YAML::Tiny version 1.73'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Touch-0.11/Makefile.PL
new/File-Touch-0.12/Makefile.PL
--- old/File-Touch-0.11/Makefile.PL 2016-02-27 00:00:23.000000000 +0100
+++ new/File-Touch-0.12/Makefile.PL 2021-03-20 10:55:57.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.037.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.012.
use strict;
use warnings;
@@ -13,7 +13,6 @@
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "File-Touch",
- "EXE_FILES" => [],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.006",
"NAME" => "File::Touch",
@@ -23,13 +22,14 @@
"Fcntl" => 0,
"File::stat" => 0,
"IO::File" => 0,
+ "Time::HiRes" => "1.9764",
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Test::More" => "0.88"
},
- "VERSION" => "0.11",
+ "VERSION" => "0.12",
"test" => {
"TESTS" => "t/*.t"
}
@@ -39,11 +39,11 @@
my %FallbackPrereqs = (
"Carp" => 0,
"Exporter" => 0,
- "ExtUtils::MakeMaker" => 0,
"Fcntl" => 0,
"File::stat" => 0,
"IO::File" => 0,
"Test::More" => "0.88",
+ "Time::HiRes" => "1.9764",
"strict" => 0,
"warnings" => 0
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Touch-0.11/README new/File-Touch-0.12/README
--- old/File-Touch-0.11/README 2016-02-27 00:00:23.000000000 +0100
+++ new/File-Touch-0.12/README 2021-03-20 10:55:57.000000000 +0100
@@ -1,7 +1,5 @@
-
-
This archive contains the distribution File-Touch,
-version 0.11:
+version 0.12:
update file access and modification times, optionally creating files if
needed
@@ -11,5 +9,4 @@
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v5.037.
-
+This README file was generated by Dist::Zilla::Plugin::Readme v6.012.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Touch-0.11/dist.ini new/File-Touch-0.12/dist.ini
--- old/File-Touch-0.11/dist.ini 2016-02-27 00:00:23.000000000 +0100
+++ new/File-Touch-0.12/dist.ini 2021-03-20 10:55:57.000000000 +0100
@@ -4,11 +4,15 @@
copyright_holder = Neil Bowers
copyright_year = 2001
-version = 0.11
+version = 0.12
[@Basic]
[PkgVersion]
[AutoPrereqs]
+
+[Prereqs]
+Time::HiRes = 1.9764
+
[MetaJSON]
[GithubMeta]
[Git::Tag]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Touch-0.11/lib/File/Touch.pm
new/File-Touch-0.12/lib/File/Touch.pm
--- old/File-Touch-0.11/lib/File/Touch.pm 2016-02-27 00:00:23.000000000
+0100
+++ new/File-Touch-0.12/lib/File/Touch.pm 2021-03-20 10:55:57.000000000
+0100
@@ -1,5 +1,5 @@
package File::Touch;
-$File::Touch::VERSION = '0.11';
+$File::Touch::VERSION = '0.12';
use 5.006;
use warnings;
use strict;
@@ -13,6 +13,16 @@
use File::stat;
use Fcntl;
+BEGIN {
+ eval {
+ require Time::HiRes;
+ Time::HiRes->import(qw/ time utime /);
+ };
+ if (not $@) {
+ Time::HiRes->VERSION(1.9764);
+ }
+}
+
my $SYSOPEN_MODE = O_WRONLY|O_CREAT;
eval {
$SYSOPEN_MODE |= O_NONBLOCK;
@@ -142,7 +152,7 @@
=head1 SYNOPSIS
- use File::Touch;
+ use File::Touch 0.12;
@file_list = ('one.txt','../two.doc');
$count = touch(@file_list);
@@ -157,7 +167,16 @@
=head1 DESCRIPTION
-Here's a list of arguments that can be used with the object-oriented
contruction:
+This module provides both a functional and OO interface
+for changing the file access and modification times on files.
+It can optionally create the file for you, if it doesn't exist.
+
+B<Note>: you should specify a minimum version of 0.12,
+as per the SYNOPSIS, as that fixed an issue that affected
+systems that have sub-second granularity on those file times.
+
+Here's a list of arguments that can be used with the
+object-oriented contruction:
=over 4
@@ -175,23 +194,28 @@
=item reference => $reference_file
-If defined, use timestamps from this file instead of current time. The
timestamps are read
-from the reference file when the object is created, not when C<<->touch>> is
invoked.
+If defined, use timestamps from this file instead of current time.
+The timestamps are read from the reference file when the object is created,
+not when C<<->touch>> is invoked.
Default is undefined.
=item time => $time
-If defined, then this value will be used for both access time and modification
time,
-whichever of those are set. This time is overridden by the C<atime> and
C<mtime> arguments,
+If defined,
+then this value will be used for both access time and modification time,
+whichever of those are set.
+This time is overridden by the C<atime> and C<mtime> arguments,
if you use them.
=item atime => $time
-If defined, use this time (in epoch seconds) instead of current time for
access time.
+If defined,
+use this time (in epoch seconds) instead of current time for access time.
=item mtime => $time
-If defined, use this time (in epoch seconds) instead of current time for
modification time.
+If defined,
+use this time (in epoch seconds) instead of current time for modification time.
=back