Репозиторий Sisyphus
Последнее обновление: 19 апреля 2019 | Пакетов: 17666 | Посещений: 13435108
en ru br
Репозитории ALT

Группа :: Разработка/Perl
Пакет: perl-File-Flock

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
#   - File::Flock -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       --spec-only File::Flock
#   For more information on cpan2rpm please visit: http://perl.arix.com/

%define module File-Flock
%define m_distro File-Flock
%define m_name File::Flock
%define m_author_id unknown
%define _enable_test 1

Name: perl-File-Flock
Version: 2013.11
Release: alt1

Summary: Wrapper for flock() to make file locking trivial

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Denis Baranov <baraka at altlinux.org>

BuildArch: noarch
Source: http://www.cpan.org/authors/id/M/MU/MUIR/modules/File-Flock-%{version}.tar.gz

# Automatically added by buildreq on Tue Nov 30 2010

BuildRequires: libnss-role perl-devel perl(Module/Build.pm) perl(Data/Structure/Util.pm) perl(File/Slurp.pm) perl(IO/Event.pm) perl(Test/SharedFork.pm)

Lock files using the flock() call.  If the file to be locked does not
exist, then the file is created.  If the file was created then it will
be removed when it is unlocked assuming it's still an empty file.

Locks can be created by new'ing a File::Flock object.  Such locks
are automatically removed when the object goes out of scope.  The
unlock() method may also be used.

lock_rename() is used to tell File::Flock when a file has been
renamed (and thus the internal locking data that is stored based
on the filename should be moved to a new name).  unlock() the
new name rather than the original name.

%setup -q -n %m_distro-%version




Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin