Accepting request 418284 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/418284 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-ShareDir-Install?expand=0&rev=14
This commit is contained in:
commit
06efd47a4d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:708af71dec4dfb5a8cf9a5e863b566714c3f65f0a76722302de5a07ee202e6f7
|
||||
size 6870
|
3
File-ShareDir-Install-0.11.tar.gz
Normal file
3
File-ShareDir-Install-0.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:32bf8772e9fea60866074b27ff31ab5bc3f88972d61915e84cbbb98455e00cc8
|
||||
size 31187
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal 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
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 10 05:27:59 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.11
|
||||
see /usr/share/doc/packages/perl-File-ShareDir-Install/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 9 05:26:34 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.11
|
||||
see /usr/share/doc/packages/perl-File-ShareDir-Install/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 19:58:55 UTC 2015 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-File-ShareDir-Install
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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,29 +17,31 @@
|
||||
|
||||
|
||||
Name: perl-File-ShareDir-Install
|
||||
Version: 0.10
|
||||
Version: 0.11
|
||||
Release: 0
|
||||
%define cpan_name File-ShareDir-Install
|
||||
Summary: Install shared files
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/File-ShareDir-Install/
|
||||
Source: http://www.cpan.org/authors/id/G/GW/GWYN/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
||||
BuildRequires: perl(Module::Metadata)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
File::ShareDir::Install allows you to install read-only data files from a
|
||||
distribution. It is a companion module to the File::ShareDir manpage, which
|
||||
allows you to locate these files after installation.
|
||||
distribution. It is a companion module to File::ShareDir, which allows you
|
||||
to locate these files after installation.
|
||||
|
||||
It is a port of the Module::Install::Share manpage to the
|
||||
ExtUtils::MakeMaker manpage with the improvement of only installing the
|
||||
files you want; '.svn', '.git' and other source-control junk will be
|
||||
ignored.
|
||||
It is a port of Module::Install::Share to ExtUtils::MakeMaker with the
|
||||
improvement of only installing the files you want; '.svn', '.git' and other
|
||||
source-control junk will be ignored.
|
||||
|
||||
Please note that this module installs read-only data files; empty
|
||||
directories will be ignored.
|
||||
@ -48,19 +50,18 @@ directories will be ignored.
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%doc Changes CONTRIBUTING LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user