Accepting request 741905 from devel:languages:perl:autoupdate

- Add manual dependency File::ShareDir::Install
   * The module delivers a version of this in inc/, but doesn't use this
     in the tests. cpanspec won't detect this as a dependency
- updated to 1.116
   see /usr/share/doc/packages/perl-File-ShareDir/Changes
  1.116	2018-06-24
      - fix fail-test which incorrectly read without permission
        ==> introduce new CI test proving this (Thanks to Ville
            Skyttä <ville.skytta@iki.fi>)
      - spelling fixes (Thanks to Ville Skyttä <ville.skytta@iki.fi>)
      - fix author tests when run without recommended dependencies
        (reported by Mohammed Anwar & Wesley Schwengle)
      - add a test proving and reporting dependencies
  
  1.114	2018-06-21
      - be more expressive regarding to prerequisites
      - improve detection for situations where no permission test
        can be done
      - fix edge case for 5.8

OBS-URL: https://build.opensuse.org/request/show/741905
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-ShareDir?expand=0&rev=23
This commit is contained in:
Lars Vogdt 2019-10-27 14:23:08 +00:00 committed by Git OBS Bridge
parent 5557ebb585
commit 046eb826ff
5 changed files with 50 additions and 14 deletions

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59d90bfdf98c4656ff4173e62954ea8cf0de66565e35d108ecd7050596cb8328
size 27487

View File

@ -10,8 +10,10 @@
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
preamble: |-
# because File::ShareDir::Install is in inc/ it won't be seen as a
# dependency by cpanspec
BuildRequires: perl(File::ShareDir::Install)
#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

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Tue Oct 22 16:28:24 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Add manual dependency File::ShareDir::Install
* The module delivers a version of this in inc/, but doesn't use this
in the tests. cpanspec won't detect this as a dependency
-------------------------------------------------------------------
Wed Apr 3 06:58:00 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 1.116
see /usr/share/doc/packages/perl-File-ShareDir/Changes
1.116 2018-06-24
- fix fail-test which incorrectly read without permission
==> introduce new CI test proving this (Thanks to Ville
Skyttä <ville.skytta@iki.fi>)
- spelling fixes (Thanks to Ville Skyttä <ville.skytta@iki.fi>)
- fix author tests when run without recommended dependencies
(reported by Mohammed Anwar & Wesley Schwengle)
- add a test proving and reporting dependencies
1.114 2018-06-21
- be more expressive regarding to prerequisites
- improve detection for situations where no permission test
can be done
- fix edge case for 5.8
-------------------------------------------------------------------
Tue Jun 19 05:22:48 UTC 2018 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-File-ShareDir
#
# Copyright (c) 2018 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,18 +12,18 @@
# 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-File-ShareDir
Version: 1.112
Version: 1.116
Release: 0
%define cpan_name File-ShareDir
Summary: Locate per-dist and per-module shared files
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/File-ShareDir/
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
@ -31,11 +31,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Inspector) >= 1.12
BuildRequires: perl(Test::More) >= 0.9
BuildRequires: perl(File::Path) >= 2.080000
BuildRequires: perl(Test::More) >= 0.90
Requires: perl(Class::Inspector) >= 1.12
Recommends: perl(List::MoreUtils) >= 0.428
Recommends: perl(Params::Util) >= 1.07
%{perl_requires}
# MANUAL BEGIN
# because File::ShareDir::Install is in inc/ it won't be seen as a
# dependency by cpanspec
BuildRequires: perl(File::ShareDir::Install)
# MANUAL END
%description
The intent of File::ShareDir is to provide a companion to Class::Inspector
@ -80,14 +86,14 @@ of data.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644
%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