Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-A
perl-Acme-HashKeyOrderBrokenAgain
perl-Acme-HashKeyOrderBrokenAgain.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Acme-HashKeyOrderBrokenAgain.spec of Package perl-Acme-HashKeyOrderBrokenAgain
# # spec file for package perl-Acme-HashKeyOrderBrokenAgain # # Copyright (c) 2016 SUSE LINUX 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-Acme-HashKeyOrderBrokenAgain Version: 0.02 Release: 0 %define cpan_name Acme-HashKeyOrderBrokenAgain Summary: Request reproducable hash keys order within a script and verify if Perl [cut] License: CHECK(GPL-1.0+ or Artistic-1.0) Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Acme-HashKeyOrderBrokenAgain/ Source0: http://www.cpan.org/authors/id/M/MS/MSCHILLI/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros %{perl_requires} %description We all know that Perl's keys() function will return the keys of a hash in unpredictable order. However, for testing purposes, we sometimes need the keys by keys() to be returned in deterministic order, which means that although the order can't be predicted up front, subsequent calls to keys() within the same script should return the keys in the same order if (and only if) $ENV{ PERL_PERTURB_KEYS } = "DETERMINISTIC" is set. This module checks if the feature actually works, and will hopefully alert Perl Porters via automatic CPAN smoke tests if it's broken. If the above assumption is incorrect, please drop me a message, I'll adapt this module accordingly. See http://perlmonks.org/?node_id=1056280 and https://github.com/mschilli/php-httpbuildquery-perl/pull/3 for details on this issue. %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 README %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