forked from pool/perl-Test-Requires
Compare commits
14 Commits
fdb8987a40
...
5f751b3247
Author | SHA256 | Date | |
---|---|---|---|
5f751b3247 | |||
e7a57ac5a5 | |||
|
b2253339ef | ||
|
1ea953f9aa | ||
|
05c6adbcec | ||
|
b94aca22e3 | ||
|
ec0a41fdf9 | ||
|
3c4efde470 | ||
|
a1b05f0476 | ||
|
910aff16e7 | ||
|
2175a10b78 | ||
|
1a8ba465ca | ||
|
c19e96f861 | ||
|
366f7b8ccc |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b6f9e4c0b6f0ebe1d761b94938ec1446589c9a91920a98553aef47f2d795ecf
|
||||
size 20077
|
BIN
Test-Requires-0.11.tar.gz
(Stored with Git LFS)
Normal file
BIN
Test-Requires-0.11.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal 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
|
@@ -1,3 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Test-Requires
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,57 +12,56 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Test-Requires
|
||||
Version: 0.11
|
||||
Release: 0
|
||||
%define cpan_name Test-Requires
|
||||
Summary: Checks to see if the module can be loaded
|
||||
Version: 0.06
|
||||
Release: 2
|
||||
License: GPL+ or Artistic
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Test-Requires/
|
||||
#Source: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
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
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.61
|
||||
Requires: perl(Test::More) >= 0.61
|
||||
%{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}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes minil.toml README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user