8
0

Accepting request 710859 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/710859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Compile?expand=0&rev=4
This commit is contained in:
2019-06-19 19:13:58 +00:00
committed by Git OBS Bridge
4 changed files with 34 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77527e9477ac5260443c756367a7f7bc3d8f6c6ebbc561b0b2fb3f79303bad33
size 15198

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7988b766a44301b67847e9a491a4d2494d0b502048e9a4c99a9f9971972ef855
size 15612

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Jun 19 05:32:26 UTC 2019 - Stephan Kulow <coolo@please-enter-an-email-address>
- updated to 2.0.0
see /usr/share/doc/packages/perl-Test-Compile/Changes
v2.0_0 2019-06-18 (DEV RELEASE)
Łukasz Hejnak <lehack@lehack.pl>
- Replaced import() with Exporter usage.
- Added all_files_ok to the procedural mode.
- Added .git to list of directories ignored when looking for pm/pl files.
- Added an else clause for pl_file_compiles so that it catches file not found errors.
Evan Giles <egiles@cpan.org>
- Remove 'exported_to' function
- Remove cleanup steps from the Build.PL file
- Bump version number for backwards incompatible changes (semver.org)
-------------------------------------------------------------------
Sat Sep 26 09:15:01 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Compile
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,28 +12,32 @@
# 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/
#
Name: perl-Test-Compile
Version: 1.3.0
Version: 2.0.0
Release: 0
%define cpan_name Test-Compile
Summary: Check whether Perl files compile correctly
License: Artistic-1.0 or GPL-1.0+
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Compile/
Source0: http://www.cpan.org/authors/id/E/EG/EGILES/%{cpan_name}-v%{version}.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/EG/EGILES/%{cpan_name}-v%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Exporter) >= 5.68
BuildRequires: perl(Module::Build) >= 0.380000
BuildRequires: perl(UNIVERSAL::require)
BuildRequires: perl(parent) >= 0.225
BuildRequires: perl(version)
Requires: perl(Exporter) >= 5.68
Requires: perl(UNIVERSAL::require)
Requires: perl(parent) >= 0.225
Requires: perl(version)
Recommends: perl(Devel::CheckOS)
%{perl_requires}
@@ -60,10 +64,10 @@ all Perl files in a module distribution:
%prep
%setup -q -n %{cpan_name}-v%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
@@ -75,6 +79,7 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%doc Changes README
%license LICENSE
%changelog