Sisyphus repository
Last update: 16 july 2019 | SRPMs: 17677 | Visits: 14323007
en ru br
ALT Linux repos

Group :: Development/Other
RPM: perl-Test-Identity

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see
%define _localstatedir %{_var}
Name:           perl-Test-Identity
Version:        0.01
Release:        alt2_17
Summary:        Assert the referential identity of a reference
License:        GPL+ or Artistic
Group:          Development/Other
BuildArch:      noarch
BuildRequires:  rpm-build-perl
BuildRequires:  perl(
BuildRequires:  perl(Module/
BuildRequires:  perl(Scalar/
BuildRequires:  perl(Test/Builder/
BuildRequires:  perl(Test/

This module provides a single testing function, identical. It asserts that
a given reference is as expected; that is, it either refers to the same
object or is undef. It is similar to Test::More::is except that it uses
refaddr, ensuring that it behaves correctly even if the references under
test are objects that overload stringification or numification.

%setup -q -n Test-Identity-%{version}

/usr/bin/perl Build.PL installdirs=vendor

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

# %{_fixperms} $RPM_BUILD_ROOT/*

./Build test

%doc Changes LICENSE


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin