commit 7cd378604ac54de4aa70f36f3e86945c5258d93327fb7cc19d837f638b7dadf5 Author: Adrian Schröter Date: Fri May 3 18:54:34 2024 +0200 Sync from SUSE:SLFO:Main perl-Test-Requires revision 4c8f283afcaa33b6041ed2ac6395a710 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/Test-Requires-0.11.tar.gz b/Test-Requires-0.11.tar.gz new file mode 100644 index 0000000..46e0032 --- /dev/null +++ b/Test-Requires-0.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b88de549597eecddf7c3c38a4d0204a16f59ad804577b671896ac04e24e040f +size 10902 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Test-Requires.changes b/perl-Test-Requires.changes new file mode 100644 index 0000000..43b9cc8 --- /dev/null +++ b/perl-Test-Requires.changes @@ -0,0 +1,70 @@ +------------------------------------------------------------------- +Thu May 14 03:11:26 UTC 2020 - Tina Müller + +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) + diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec new file mode 100644 index 0000000..334700d --- /dev/null +++ b/perl-Test-Requires.spec @@ -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