Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
perl-Test-Number-Delta
perl-Test-Number-Delta.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Test-Number-Delta.spec of Package perl-Test-Number-Delta
# # spec file for package perl-Test-Number-Delta # # Copyright (c) 2011 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/ # # norootforbuild Name: perl-Test-Number-Delta Version: 1.03 Release: 6 Summary: Compare the difference between numbers against a given tolerance Source: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-%{version}.tar.gz Url: http://search.cpan.org/dist/Test-Number-Delta/ Group: Development/Libraries/Perl License: Artistic-1.0 or GPL-1.0+ BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: make perl perl-macros %description At some point or another, most programmers find they need to compare floating-point numbers for equality. The typical idiom is to test if the absolute value of the difference of the numbers is within a desired tolerance, usually called epsilon. This module provides such a function for use with Test::Harness. Usage is similar to other test functions described in Test::More. %prep %setup -q -n "Test-Number-Delta-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changes README %dir %{perl_vendorlib}/Test %dir %{perl_vendorlib}/Test/Number %{perl_vendorlib}/Test/Number/Delta.pm %dir %{perl_vendorarch}/auto/Test %dir %{perl_vendorarch}/auto/Test/Number %{perl_vendorarch}/auto/Test/Number/Delta %doc %{perl_man3dir}/Test::Number::Delta.%{perl_man3ext}%{ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor