[perl-Test-Identity] Initial packaging.
Marcela Mašláňová
mmaslano at fedoraproject.org
Mon Apr 30 06:26:30 UTC 2012
commit 6525b565af612cc93f91335565a40aacfa9b7b87
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Mon Apr 30 08:25:23 2012 +0200
Initial packaging.
perl-Test-Identity.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
2 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/perl-Test-Identity.spec b/perl-Test-Identity.spec
new file mode 100644
index 0000000..d99433e
--- /dev/null
+++ b/perl-Test-Identity.spec
@@ -0,0 +1,47 @@
+Name: perl-Test-Identity
+Version: 0.01
+Release: 1%{?dist}
+Summary: Assert the referential identity of a reference
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Test-Identity/
+Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Test-Identity-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(base)
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(Test::Builder::Tester)
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+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.
+
+%prep
+%setup -q -n Test-Identity-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./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/*
+
+%check
+./Build test
+
+%files
+%doc Changes LICENSE
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Apr 25 2012 Marcela Mašláňová <mmaslano at redhat.com> 0.01-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..caacef0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ecef85c791cf5847e4c374983cf22a74 Test-Identity-0.01.tar.gz
More information about the scm-commits
mailing list