Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Test-Version
perl-Test-Version.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Test-Version.spec of Package perl-Test-Version
# # spec file for package perl-Test-Version # # Copyright (c) 2018 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-Test-Version Version: 2.09 Release: 0 %define cpan_name Test-Version Summary: Check to see that version's in modules are sane License: Artistic-2.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Version/ Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(File::Find::Rule::Perl) BuildRequires: perl(Module::Metadata) >= 1.000020 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(Test::Tester) BuildRequires: perl(parent) BuildRequires: perl(version) >= 0.86 Requires: perl(File::Find::Rule::Perl) Requires: perl(Module::Metadata) >= 1.000020 Requires: perl(Test::More) >= 0.94 Requires: perl(parent) Requires: perl(version) >= 0.86 %{perl_requires} %description This module's goal is to be a one stop shop for checking to see that your versions across your dist are sane. Please ensure that you use version '0.04' or later only, as earlier versions are old code and may not work correctly. Current feature list: * module has a version Tests to insure that all modules checked have a VERSION defined, Can replace Test::HasVersion * module has a valid version Tests to insure that all versions are valid, according to the rules of version method 'is_lax'. To quote: _The lax criteria corresponds to what is currently allowed by the version parser. All of the following formats are acceptable for dotted-decimal formats strings:_ v1.2 1.2345.6 v1.23_4 1.2345 1.2345_01 _If you want to limit yourself to a much more narrow definition of what a version string constitutes, is_strict() is limited to version strings like the following list:_ v1.234.5 2.3456 you can cause your tests to fail if not strict by setting is_strict to '1' %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 CONTRIBUTING README %license LICENSE %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