Accepting request 880560 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/880560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Which?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2021-03-24 15:10:48 +00:00 committed by Git OBS Bridge
commit 12f84b275d
4 changed files with 21 additions and 14 deletions

View File

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

3
File-Which-1.24.tar.gz Normal file
View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Mar 20 03:07:43 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.24
see /usr/share/doc/packages/perl-File-Which/Changes
1.24 2021-03-19 05:50:14 -0600
- Documentation improvements
- Moved repository to new github org
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 1 06:23:46 UTC 2019 - Stephan Kulow <coolo@suse.com> Tue Jan 1 06:23:46 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-File-Which # spec file for package perl-File-Which
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,18 +16,16 @@
# #
Name: perl-File-Which
Version: 1.23
Release: 0
%define cpan_name File-Which %define cpan_name File-Which
Name: perl-File-Which
Version: 1.24
Release: 0
Summary: Perl implementation of the which utility as an API Summary: Perl implementation of the which utility as an API
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name}
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires} %{perl_requires}
@ -52,15 +50,15 @@ does not provide it, install App::pwhich which provides a command line
interface to this API. interface to this API.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
# MANUAL BEGIN # MANUAL BEGIN
chmod a+x corpus/test-bin-unix/0 chmod a+x corpus/test-bin-unix/0
# MANUAL END # MANUAL END
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@ -71,7 +69,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc author.yml Changes README %doc author.yml Changes README
%license LICENSE %license LICENSE