Accepting request 507473 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/507473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-ShareDir?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2017-07-04 09:55:27 +00:00 committed by Git OBS Bridge
commit dfd3064008
5 changed files with 48 additions and 12 deletions

View File

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

View File

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

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 30 05:30:06 UTC 2017 - coolo@suse.com
- updated to 1.104
see /usr/share/doc/packages/perl-File-ShareDir/Changes
-------------------------------------------------------------------
Tue Apr 14 15:44:23 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-File-ShareDir
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -17,14 +17,15 @@
Name: perl-File-ShareDir
Version: 1.102
Version: 1.104
Release: 0
%define cpan_name File-ShareDir
Summary: Locate per-dist and per-module shared files
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/File-ShareDir/
Source: http://www.cpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -35,10 +36,10 @@ Requires: perl(Class::Inspector) >= 1.12
%{perl_requires}
%description
The intent of the File::ShareDir manpage is to provide a companion to the
Class::Inspector manpage and the File::HomeDir manpage, modules that take a
process that is well-known by advanced Perl developers but gets a little
tricky, and make it more available to the larger Perl community.
The intent of File::ShareDir is to provide a companion to Class::Inspector
and File::HomeDir, modules that take a process that is well-known by
advanced Perl developers but gets a little tricky, and make it more
available to the larger Perl community.
Quite often you want or need your Perl module (CPAN or otherwise) to have
access to a large amount of read-only data that is stored on the
@ -77,7 +78,7 @@ of data.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -93,6 +94,7 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes
%doc Changes README.md
%license LICENSE
%changelog