Sync from SUSE:SLFO:Main perl-Test-Requires revision 4c8f283afcaa33b6041ed2ac6395a710

This commit is contained in:
Adrian Schröter 2024-05-03 18:54:34 +02:00
commit 7cd378604a
5 changed files with 186 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
Test-Requires-0.11.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -0,0 +1,70 @@
-------------------------------------------------------------------
Thu May 14 03:11:26 UTC 2020 - Tina Müller <timueller+perl@suse.de>
updated to 0.11
see /usr/share/doc/packages/perl-Test-Requires/Changes
0.11 2020-05-14T00:34:23Z
- Re-packaging
-------------------------------------------------------------------
Wed Jul 22 09:23:49 UTC 2015 - coolo@suse.com
- updated to 0.10
see /usr/share/doc/packages/perl-Test-Requires/Changes
0.10 2015-07-21T12:37:03Z
- Support 5.6 again.
-------------------------------------------------------------------
Tue Jul 21 09:18:41 UTC 2015 - coolo@suse.com
- updated to 0.09
see /usr/share/doc/packages/perl-Test-Requires/Changes
0.09 2015-07-21T04:01:50Z
- requires 5.8.1
-------------------------------------------------------------------
Fri Jul 18 12:25:57 UTC 2014 - chris@computersalat.de
- update to 0.08
* switch to EUMM
-------------------------------------------------------------------
Sat Jul 27 11:58:05 UTC 2013 - coolo@suse.com
- updated to 0.07
- If the C<< RELEASE_TESTING >> environment variable is true, then instead
of skipping tests, Test::Requires bails out.
(tobyink)
- document that use Test::Requires "5.010" works.
(tobyink)
-------------------------------------------------------------------
Fri Nov 18 11:09:45 UTC 2011 - coolo@suse.com
- use original .tar.gz
-------------------------------------------------------------------
Tue Nov 30 19:20:50 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Thu Nov 11 17:54:01 UTC 2010 - chris@computersalat.de
- update to 0.06
- support Perl 5.6.0 or later. Because Mouse need to support it.
(gfx)
- noarch pkg
-------------------------------------------------------------------
Thu Aug 26 19:00:34 UTC 2010 - pascal.bleser@opensuse.org
- initial package (0.05)

67
perl-Test-Requires.spec Normal file
View File

@ -0,0 +1,67 @@
#
# spec file for package perl-Test-Requires
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: perl-Test-Requires
Version: 0.11
Release: 0
%define cpan_name Test-Requires
Summary: Checks to see if the module can be loaded
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
Test::Requires checks to see if the module can be loaded.
If this fails rather than failing tests this *skips all tests*.
Test::Requires can also be used to require a minimum version of Perl:
use Test::Requires "5.010"; # quoting is necessary!!
# or
use Test::Requires "v5.10";
%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 minil.toml README.md
%license LICENSE
%changelog