forked from pool/perl-Test-Compile
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d0ecbc7687 | |||
| 67533370a6 | |||
| 83ca1b3c38 | |||
| 32ea4b8bb4 |
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -1,4 +1,4 @@
|
||||
*.changes merge=merge-changes
|
||||
## 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
|
||||
@@ -12,7 +12,6 @@
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar 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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:808450f3d45e7f419aa4d668e298287689e9ea36388693bff180d7870ce3e621
|
||||
size 20205
|
||||
3
Test-Compile-v3.3.3.tar.gz
Normal file
3
Test-Compile-v3.3.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:df3ab30ecb51ae14a1aa9b9fc14324c969cc258ef2adacc35bc68194112da685
|
||||
size 20685
|
||||
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,18 +0,0 @@
|
||||
--- a/t/100-internal-basic.t
|
||||
+++ b/t/100-internal-basic.t
|
||||
@@ -22,15 +22,5 @@
|
||||
$result = $test->all_files_ok();
|
||||
$test->ok($result, "all_files_ok returns true value");
|
||||
|
||||
-TODO: {
|
||||
- local $TODO = "testing files that don't compile, cause the test to fail";
|
||||
-
|
||||
- $result = $test->all_files_ok('t/scripts/failure.pl');
|
||||
- $test->ok($result, "failure.pl doesn't compile");
|
||||
-
|
||||
- $result = $test->all_files_ok('t/scripts/Fail.pm');
|
||||
- $test->ok($result, "Fail doesn't compile");
|
||||
-}
|
||||
-
|
||||
# Fin...
|
||||
$test->done_testing();
|
||||
@@ -1,14 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 4 11:14:09 UTC 2023 - Victor Zhestkov <vzhestkov@suse.com>
|
||||
Mon May 6 03:07:58 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- Disable failing test on Debian 9 and Ubuntu 16.04
|
||||
- Remove unused file
|
||||
- updated to 3.3.3
|
||||
see /usr/share/doc/packages/perl-Test-Compile/Changes
|
||||
|
||||
- Added:
|
||||
* disable-failing-tests.patch
|
||||
v3.3.3 2024-05-06
|
||||
- Be more careful about windows filenames
|
||||
|
||||
- Removed:
|
||||
* cpanspec.yml
|
||||
v3.3.2 2024-05-03
|
||||
- Require a newer version of Test::More (fix CPAN testing failure?)
|
||||
- Don't add an unnecassary "./" to the start of filepaths (CPAN-RT 151090)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 23:05:12 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Fix disabling of __perllib_provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 03:12:01 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Test-Compile
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,30 +18,22 @@
|
||||
|
||||
%define cpan_name Test-Compile
|
||||
Name: perl-Test-Compile
|
||||
Version: 3.3.1
|
||||
Version: 3.3.3
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Assert that your Perl files compile OK
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/E/EG/EGILES/%{cpan_name}-v%{version}.tar.gz
|
||||
%if 0%{?debian} == 9 || 0%{?ubuntu} == 1604
|
||||
Patch1: disable-failing-tests.patch
|
||||
%endif
|
||||
%if "%_vendor" != "debbuild"
|
||||
ExclusiveArch: do_not_build
|
||||
%endif
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Exporter) >= 5.68
|
||||
BuildRequires: perl(Module::Build) >= 0.380000
|
||||
BuildRequires: perl(Module::Build) >= 0.38
|
||||
BuildRequires: perl(Test::More) >= 1.3
|
||||
BuildRequires: perl(parent) >= 0.225
|
||||
BuildRequires: perl(version) >= 0.77
|
||||
Requires: perl(Exporter) >= 5.68
|
||||
Requires: perl(parent) >= 0.225
|
||||
Provides: perl(Test::Compile) = 3.3.1
|
||||
Provides: perl(Test::Compile::Internal) = 3.3.1
|
||||
%define __perllib_provides /bin/true
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -65,7 +57,7 @@ all Perl files in a module distribution:
|
||||
$test->done_testing();
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{cpan_name}-v%{version}
|
||||
%autosetup -n %{cpan_name}-v%{version}
|
||||
|
||||
%build
|
||||
perl Build.PL --installdirs=vendor
|
||||
|
||||
Reference in New Issue
Block a user