forked from pool/perl-local-lib
Accepting request 502474 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/502474 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-local-lib?expand=0&rev=39
This commit is contained in:
committed by
Git OBS Bridge
parent
62c8e04661
commit
54d67d8f0d
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 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:36ad327a099667b8cb292c10229c33849c787470e0b978e4963b69b6df4c0b01
|
|
||||||
size 62149
|
|
3
local-lib-2.000023.tar.gz
Normal file
3
local-lib-2.000023.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0cf6f5916fc5ae86ef30c5df87414fd3587eff40642bc85ab17a59047bb82099
|
||||||
|
size 64446
|
@@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 9 06:42:51 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.000023
|
||||||
|
see /usr/share/doc/packages/perl-local-lib/Changes
|
||||||
|
|
||||||
|
2.000023 - 2017-06-07
|
||||||
|
- fix use of 'note' in test for compatibilty with old Test::More
|
||||||
|
|
||||||
|
2.000022 - 2017-06-07
|
||||||
|
- releasing as stable
|
||||||
|
|
||||||
|
2.000_021 - 2017-04-23
|
||||||
|
- account for an empty SHELL variable when detecting shell
|
||||||
|
- author test cleanups
|
||||||
|
- bootstrapping option --no-manpages now affects bootstrapping process, not
|
||||||
|
just later module installs
|
||||||
|
- cope with home directories with spaces when bootstrapping with old CPAN.pm
|
||||||
|
|
||||||
|
2.000_020 - 2016-10-18
|
||||||
|
- fix handling of inc_version_list
|
||||||
|
- don't load strict or warnings outside author mode
|
||||||
|
- load and use Cwd when we're printing and exiting
|
||||||
|
- use loaded Cwd/Win32::Cwd if it's available
|
||||||
|
- handle relative paths in current executable
|
||||||
|
- don't try to run current executable in embedded perl
|
||||||
|
- handle relative directories better
|
||||||
|
- fix shell test for powershell 1 and group policy restricted environments
|
||||||
|
- avoid user init files in shell test
|
||||||
|
- use safer format to check environment in shell test
|
||||||
|
- many test cleanups
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 20 05:12:37 UTC 2016 - coolo@suse.com
|
Fri May 20 05:12:37 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
# vim: set ts=4 sw=4 et:
|
|
||||||
#
|
#
|
||||||
# spec file for package perl-local-lib
|
# spec file for package perl-local-lib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -18,16 +17,16 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-local-lib
|
Name: perl-local-lib
|
||||||
Version: 2.000019
|
Version: 2.000023
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_name local-lib
|
||||||
Summary: Create and Use a Local Lib/ for Perl Modules with Perl5lib
|
Summary: Create and Use a Local Lib/ for Perl Modules with Perl5lib
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
%define cpan_name local-lib
|
|
||||||
Source: http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
|
|
||||||
Source1: perl-homedir.sh
|
|
||||||
Source2: perl-homedir.csh
|
|
||||||
Url: http://search.cpan.org/dist/local-lib/
|
Url: http://search.cpan.org/dist/local-lib/
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
@@ -36,6 +35,9 @@ BuildRequires: perl(ExtUtils::Install) >= 1.43
|
|||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.00
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.00
|
||||||
BuildRequires: perl(Module::Build) >= 0.360000
|
BuildRequires: perl(Module::Build) >= 0.360000
|
||||||
Requires: perl(CPAN) >= 1.82
|
Requires: perl(CPAN) >= 1.82
|
||||||
|
Requires: perl(ExtUtils::Install) >= 1.43
|
||||||
|
Requires: perl(ExtUtils::MakeMaker) >= 7.00
|
||||||
|
Requires: perl(Module::Build) >= 0.360000
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -53,72 +55,41 @@ or collection of modules. Useful in cases like when an upstream maintainer
|
|||||||
hasn't applied a patch to a module of theirs that you need for your
|
hasn't applied a patch to a module of theirs that you need for your
|
||||||
application.
|
application.
|
||||||
|
|
||||||
%package -n perl-homedir
|
On import, local::lib sets the following environment variables to
|
||||||
Summary: Per-user Perl local::lib setup
|
appropriate values:
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Requires: /usr/bin/cpan
|
|
||||||
|
|
||||||
%description -n perl-homedir
|
* PERL_MB_OPT
|
||||||
perl-homedir configures the system to automatically create a ~/perl5
|
|
||||||
directory in each user's $HOME on user login. This allows each user to
|
|
||||||
install and CPAN packages via the CPAN to their $HOME, with no additional
|
|
||||||
configuration or privliges, and without installing them system-wide.
|
|
||||||
|
|
||||||
If you want your users to be able to install and use their own Perl modules,
|
* PERL_MM_OPT
|
||||||
install this package.
|
|
||||||
|
* PERL5LIB
|
||||||
|
|
||||||
|
* PATH
|
||||||
|
|
||||||
|
* PERL_LOCAL_LIB_ROOT
|
||||||
|
|
||||||
|
When possible, these will be appended to instead of overwritten entirely.
|
||||||
|
|
||||||
|
These values are then available for reference by any code after import.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "local-lib-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__chmod 0644 Changes
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
unset PERL_MM_OPT
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%__perl Makefile.PL INSTALLDIRS=vendor PREFIX="%{_prefix}"
|
%{__make} %{?_smp_mflags}
|
||||||
%__make %{?jobs:-j%{jobs}}
|
|
||||||
|
|
||||||
%install
|
|
||||||
unset PERL_MM_OPT
|
|
||||||
%perl_make_install
|
|
||||||
|
|
||||||
%__chmod 0644 "%{buildroot}%{perl_vendorlib}/local/lib.pm"
|
|
||||||
%__chmod 0644 "%{buildroot}%{perl_vendorlib}/POD2"/*/"local/lib.pod"
|
|
||||||
%__chmod 0644 "%{buildroot}%{perl_man3dir}"/POD2::*::local::lib.%{perl_man3ext}
|
|
||||||
|
|
||||||
%perl_process_packlist
|
|
||||||
|
|
||||||
%__install -d "%{buildroot}%{_sysconfdir}/profile.d"
|
|
||||||
%__install -m0644 "%{SOURCE1}" "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/profile.d/"
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
unset PERL_MM_OPT
|
%{__make} test
|
||||||
%__make test
|
|
||||||
|
|
||||||
%files
|
%install
|
||||||
%defattr(-,root,root)
|
%perl_make_install
|
||||||
%doc Changes
|
%perl_process_packlist
|
||||||
%dir %{perl_vendorlib}/lib
|
%perl_gen_filelist
|
||||||
%dir %{perl_vendorlib}/lib/core
|
|
||||||
%{perl_vendorlib}/lib/core/only.pm
|
|
||||||
%dir %{perl_vendorlib}/local/
|
|
||||||
%{perl_vendorlib}/local/lib.pm
|
|
||||||
%dir %{perl_vendorarch}/auto/local
|
|
||||||
%{perl_vendorarch}/auto/local/lib
|
|
||||||
%doc %{perl_man3dir}/lib::core::only.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/local::lib.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
%dir %{perl_vendorlib}/POD2
|
%files -f %{name}.files
|
||||||
%lang(de) %dir %{perl_vendorlib}/POD2/DE
|
%defattr(-,root,root,755)
|
||||||
%lang(de) %dir %{perl_vendorlib}/POD2/DE/local
|
%doc Changes README
|
||||||
%lang(de) %{perl_vendorlib}/POD2/DE/local/lib.pod
|
%license LICENSE
|
||||||
%lang(de) %doc %{perl_man3dir}/POD2::DE::local::lib.%{perl_man3ext}%{ext_man}
|
|
||||||
%lang(pt_BR) %dir %{perl_vendorlib}/POD2/PT_BR
|
|
||||||
%lang(pt_BR) %dir %{perl_vendorlib}/POD2/PT_BR/local
|
|
||||||
%lang(pt_BR) %{perl_vendorlib}/POD2/PT_BR/local/lib.pod
|
|
||||||
%lang(pt_BR) %doc %{perl_man3dir}/POD2::PT_BR::local::lib.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
%files -n perl-homedir
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%config(noreplace) %{_sysconfdir}/profile.d/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user