Hello community,

here is the log from the commit of package perl-File-Temp for openSUSE:Factory 
checked in at 2013-10-21 15:13:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Temp (Old)
 and      /work/SRC/openSUSE:Factory/.perl-File-Temp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-File-Temp"

Changes:
--------
New Changes file:

--- /dev/null   2013-10-11 12:16:15.204037506 +0200
+++ /work/SRC/openSUSE:Factory/.perl-File-Temp.new/perl-File-Temp.changes       
2013-10-21 15:13:34.000000000 +0200
@@ -0,0 +1,73 @@
+-------------------------------------------------------------------
+Fri Oct  4 19:54:10 UTC 2013 - [email protected]
+
+- updated to 0.2302
+        * Drop minimum Perl version back to 5.6 (erroneously bumped by dzil)
+        * Do not inherit from Exporter (requires Exporter 5.57) (thanks to
+          Olivier Mengué)
+        * 'use base ...' => 'use parent ...' as parent is lighter (thanks to
+          Olivier Mengué)
+
+        * dist.ini: Managed with Dist::Zilla now; generates Makefile.PL
+          to avoid circular dependency when using Build.PL
+
+        * Build.PL: Use Module::Build
+ 
+        * Temp.pm: internally holds absolute path for cleanup (Fixes RT #44924)
+ 
+        * t/rmtree.t: (new) Test temp dir removal explicitly.
+ 
+        * t/tempfile.t: Correctly tests directory removal from chdir.
+ 
+        * Temp.pm: Clean up temp directory on exit even if it is the
+        current directory. Patch supplied by Ed Avis and fixes RT #45246.
+ 
+        * Temp.pm: Defer unlinking tempfiles if initial unlink fails
+        instad of croaking; fixes problems on NFS (RT #82720)
+ 
+        * Temp.pm: Allow leading template to new() for consistency with
+        newdir()
+ 
+        * Temp.pm: Calling tempfile or tempdir as a class method now
+        produce a more useful fatal error message
+ 
+        * Temp.pm: new/newdir/tempfile/tempdir now all allow either
+        a leading template argument or a TEMPLATE option
+ 
+         * Temp.pm: Overload numify with refaddr() in same manner as IO::File
+           (closes RT #47397 from Kevin Ryde)
+
+-------------------------------------------------------------------
+Fri Nov 18 09:12:09 UTC 2011 - [email protected]
+
+- use original tar.gz
+
+-------------------------------------------------------------------
+Sun Jun  5 01:39:38 UTC 2011 - [email protected]
+
+- update to 0.22
+
+-------------------------------------------------------------------
+Wed Dec  1 13:32:26 UTC 2010 - [email protected]
+
+- switch to perl_requires macro
+
+-------------------------------------------------------------------
+Sat Jul 25 19:37:46 CEST 2009 - [email protected]
+
+- spec mods
+  * removed ^----------
+  * removed ^#---------
+
+-------------------------------------------------------------------
+Sun Jun 21 22:41:25 CEST 2009 - [email protected]
+
+- update to 0.21
+- added perl-macros
+  o autogen filelist with perl_gen_filelist
+
+-------------------------------------------------------------------
+Thu Aug 21 00:00:00 CEST 2008 - [email protected] - 0.20
+
+- initial Package
+

New:
----
  File-Temp-0.2302.tar.gz
  perl-File-Temp.changes
  perl-File-Temp.spec

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

Other differences:
------------------
++++++ perl-File-Temp.spec ++++++
#
# spec file for package perl-File-Temp
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


Name:           perl-File-Temp
Version:        0.2302
Release:        0
%define cpan_name File-Temp
Summary:        return name and handle of a temporary file safely
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/File-Temp/
Source:         
http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(File::Path) >= 2.06
BuildRequires:  perl(parent) >= 0.221
#BuildRequires: perl(Pod::Wordlist)
#BuildRequires: perl(Test::Spelling) >= 0.12
Requires:       perl(File::Path) >= 2.06
Requires:       perl(parent) >= 0.221
%{perl_requires}

%description
'File::Temp' can be used to create and open temporary files in a safe way.
There is both a function interface and an object-oriented interface. The
File::Temp constructor or the tempfile() function can be used to return the
name and the open filehandle of a temporary file. The tempdir() function
can be used to create a temporary directory.

The security aspect of temporary file creation is emphasized such that a
filehandle and filename are returned together. This helps guarantee that a
race condition can not occur where the temporary file is created by another
process between checking for the existence of the file and its opening.
Additional security levels are provided to check, for example, that the
sticky bit is set on world writable directories. See the "safe_level"
manpage for more information.

For compatibility with popular C library functions, Perl implementations of
the mkstemp() family of functions are provided. These are, mkstemp(),
mkstemps(), mkdtemp() and mktemp().

Additionally, implementations of the standard POSIX tmpnam() and tmpfile()
functions are provided if required.

Implementations of mktemp(), tmpnam(), and tempnam() are provided, but
should be used with caution since they return only a filename that was
valid when function was called, so cannot guarantee that the file will not
exist by the time the caller opens the filename.

Filehandles returned by these functions support the seekable methods.

%prep
%setup -q -n %{cpan_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING cpanfile LICENSE README

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to