Accepting request 296876 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/296876 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-App-cpanminus?expand=0&rev=5
This commit is contained in:
commit
f50dae9d5d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:57ee310081bd30fa103caad9d80e68e03f838f7b39ec70dfa5d771c6d7ef9284
|
||||
size 291443
|
3
App-cpanminus-1.7027.tar.gz
Normal file
3
App-cpanminus-1.7027.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6853359493f8465abbe556d7409e7c0abecd1b48b6a63d2f851af83839c34b31
|
||||
size 314982
|
91
cpanspec.yml
Normal file
91
cpanspec.yml
Normal file
@ -0,0 +1,91 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
sources:
|
||||
- http://pkgs.fedoraproject.org/cgit/perl-App-cpanminus.git/plain/fatunpack
|
||||
preamble: |-
|
||||
# Run-time:
|
||||
# Nothing special. The tests are very poor. But we run perl -c at built-time
|
||||
# to check for correct unpacking. So we need non-optional run-time
|
||||
# dependencies at build-time too:
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(aliased)
|
||||
BuildRequires: perl(constant)
|
||||
# CPAN::DistnameInfo not needed for compilation
|
||||
# CPAN::Meta not needed for copmilation
|
||||
# CPAN::Meta::Check not needed for compilation
|
||||
# CPAN::Meta::Prereqs not needed for compilation
|
||||
BuildRequires: perl(CPAN::Meta::Requirements)
|
||||
# CPAN::Meta::YAML not needed for compilation
|
||||
BuildRequires: perl(Cwd)
|
||||
# Digest::SHA not needed for compilation
|
||||
# Dumpvalue not needed for compilation
|
||||
# ExtUtils::Manifest not needed for compilation
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(File::Find)
|
||||
# File::pushd not needed for compilation
|
||||
BuildRequires: perl(File::Temp)
|
||||
# HTTP::Tiny not needed for compilation
|
||||
# JSON::PP not needed for compilation
|
||||
# local::lib not needed for compilation
|
||||
# Module::CoreList not needed for compilation
|
||||
# Module::CPANfile not needed for compilation
|
||||
# Module::Metadata not needed for compilation
|
||||
BuildRequires: perl(Parse::CPAN::Meta)
|
||||
# POSIX not needed for compilation
|
||||
# Safe not needed for compilation
|
||||
BuildRequires: perl(String::ShellQuote)
|
||||
BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(version)
|
||||
# version::vpp not needed for compilation
|
||||
BuildRequires: perl(warnings::register)
|
||||
# YAML not needed for compilation
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More)
|
||||
# Current dependency generator cannot parse compressed code. Use PPI to find
|
||||
# them, and list them manually:
|
||||
# Archive::Tar is optional
|
||||
# Archive::Zip is optional
|
||||
# Compress::Zlib is optional
|
||||
Requires: perl(CPAN::DistnameInfo)
|
||||
Requires: perl(CPAN::Meta)
|
||||
Requires: perl(CPAN::Meta::Check)
|
||||
Requires: perl(CPAN::Meta::Prereqs)
|
||||
Requires: perl(CPAN::Meta::YAML)
|
||||
Requires: perl(Digest::SHA)
|
||||
Requires: perl(ExtUtils::Install) >= 1.46
|
||||
Requires: perl(ExtUtils::MakeMaker) >= 6.31
|
||||
Requires: perl(ExtUtils::Manifest)
|
||||
# File::HomeDir is optional
|
||||
Requires: perl(File::pushd)
|
||||
# HTTP getter by LWP::UserAgent or wget or curl or HTTP::Tiny
|
||||
Requires: perl(HTTP::Tiny)
|
||||
Requires: perl(local::lib)
|
||||
# LWP::Protocol::https is optional
|
||||
# LWP::UserAgent is optional
|
||||
Requires: perl(Module::Build)
|
||||
Requires: perl(Module::CPANfile)
|
||||
Requires: perl(Module::CoreList)
|
||||
Requires: perl(Module::Metadata)
|
||||
# Module::Signature is optional
|
||||
Requires: perl(String::ShellQuote)
|
||||
# Win32 not used
|
||||
Requires: perl(YAML)
|
||||
|
||||
Provides: cpanm = %{version}-%{release}
|
||||
Obsoletes: cpanm <= 1.5010
|
||||
|
||||
post_prep: |-
|
||||
# Unbundle fat-packed modules
|
||||
podselect lib/App/cpanminus.pm > lib/App/cpanminus.pod
|
||||
|
||||
for F in bin/cpanm lib/App/cpanminus/fatscript.pm; do
|
||||
perl %{SOURCE1} --libdir lib --filter '^App/cpanminus' "$F" > "${F}.stripped"
|
||||
perl -c -Ilib "${F}.stripped"
|
||||
mv "${F}.stripped" "$F"
|
||||
done
|
||||
#license: SUSE-NonFree
|
@ -1,3 +1,134 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 15 14:12:16 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.7027
|
||||
see /usr/share/doc/packages/perl-App-cpanminus/Changes
|
||||
|
||||
1.7027 2015-02-14 12:14:13 PST
|
||||
[Improvements]
|
||||
- Use provides as provided in META.json and do not scan packages as PAUSE does. #435
|
||||
|
||||
1.7026 2015-02-13 17:11:38 PST
|
||||
[Improvements]
|
||||
- Respect provides in META file before loading from Parse::PMFile
|
||||
|
||||
1.7025 2015-02-07 07:58:21 CET
|
||||
[Improvements]
|
||||
- Bump Parse::PMFile to 0.35
|
||||
- Bump CPAN::Meta::Check to 0.020
|
||||
- Bump CPAN::Meta::Requirements to 2.132
|
||||
- Bump HTTP::Tiny to 0.054
|
||||
- Bump Module::Metadata to 1.000026
|
||||
- Bump version.pm to 0.9912
|
||||
|
||||
1.7024 2015-01-12 13:31:19 PST
|
||||
[New Features]
|
||||
- Includes vendor lib and arch path to search for core modules, when installing self-contained
|
||||
lib by default. This behavior can be turned off with --exclude-vendor (tartansandal) #426
|
||||
|
||||
1.7023 2015-01-05 07:59:52 JST
|
||||
[Improvements]
|
||||
- Bump Parse::PMFile to 0.34
|
||||
- Bump CPAN::Meta::Requirements to 2.131
|
||||
- Bump HTTP::Tiny to 0.53
|
||||
- Bump Module::Metadata to 1.000025
|
||||
- Bump local::lib to 2.000015
|
||||
|
||||
1.7022 2014-12-12 16:41:47 PST
|
||||
[Improvements]
|
||||
- Enabled unsafe option to parse version with PMFile to avoid segfaults and weird errors
|
||||
|
||||
1.7021 2014-12-11 21:42:36 PST
|
||||
[Improvements]
|
||||
- Bump Parse::PMFile to 0.32
|
||||
- Bump HTTP::Tiny to 0.052
|
||||
|
||||
1.7020 2014-12-08 17:53:18 PST
|
||||
[Improvements]
|
||||
- Bump Parse::PMFile to 0.31
|
||||
|
||||
1.7019 2014-12-04 12:51:41 PST
|
||||
[Improvements]
|
||||
- Bump Parse::PMFile to 0.30
|
||||
|
||||
1.7018 2014-11-25 14:08:41 PST
|
||||
[Maintenance]
|
||||
- bump $VERSION correctly in cpanm executable
|
||||
|
||||
1.7017 2014-11-25 14:00:40 PST
|
||||
[Improvements]
|
||||
- Bump fatpacked CPAN::Meta and HTTP::Tiny
|
||||
- Added documentation for -M and --from in man page
|
||||
|
||||
1.7016 2014-11-16 11:46:32 PST
|
||||
[New Features]
|
||||
- Added -M and --from to set --mirror and --mirror-only at the same time while
|
||||
overriding previously set mirrors (sri) #175, #417
|
||||
|
||||
[Improvements]
|
||||
- cpanmin.us is now available under HTTPS (marcus)
|
||||
|
||||
1.7015 2014-11-14 13:14:07 PST
|
||||
[Improvements]
|
||||
- Bump Parse::PMFile to 0.29
|
||||
- Bump CPAN::Meta::Requirements to 2.129
|
||||
|
||||
1.7014 2014-10-07 20:52:58 PDT
|
||||
[Improvements]
|
||||
- Bump Parse::PMFile to 0.28
|
||||
|
||||
1.7013 2014-10-06 23:52:14 PDT
|
||||
[Improvements]
|
||||
- Update bundled JSON::PP to fix issues with JSON parsing on older perl 5.8
|
||||
|
||||
1.7012 2014-09-26 19:28:25 PDT
|
||||
[Improvements]
|
||||
- Upgrade CPAN::Meta and HTTP::Tiny in fatpack
|
||||
- Skip @INC on dev directory when running from git checkout when to search
|
||||
for an installed module
|
||||
|
||||
1.7011 2014-09-22 15:08:22 JST
|
||||
- Same as 1.7010. Make it a non-trial release.
|
||||
|
||||
1.7010 2014-09-17 18:27:53 JST
|
||||
[Improvements]
|
||||
- Use Parse::PMFile rather than our own fork (charsbar) #409
|
||||
|
||||
1.7009 2014-09-10 01:43:45 PDT
|
||||
[Bug Fixes]
|
||||
- Fix fatpacked executable to include Parse::CPAN::Meta
|
||||
|
||||
1.7008 2014-09-10 01:19:04 PDT
|
||||
[Improvements]
|
||||
- Show **** instead of *password* when masking passwords
|
||||
- Internal code refactoring
|
||||
|
||||
1.7007 2014-09-09 09:25:46 PDT
|
||||
[Improvements]
|
||||
- Make sure MetaCPAN search looks up the dist by right author #405
|
||||
- Ignore Module::Build artifacts in _build when indexing modules metadata
|
||||
|
||||
1.7006 2014-09-05 15:44:15 PDT
|
||||
[Bug Fixes]
|
||||
- Work around MetaCPAN bugs in numifying dev release versions (#367, #377)
|
||||
- Bump bootstrapping MakeMaker version recent enough to support MYMETA
|
||||
|
||||
[Incompatible Changes]
|
||||
- Removed undocumented --metacpan option that was only for testing purposes
|
||||
|
||||
1.7005 2014-09-05 05:04:06 PDT
|
||||
[Bug Fixes]
|
||||
- Do not index common directories such as t, xt or inc in install.json
|
||||
- Support tarball extraction on HP-UX 11 (Brian Wightman)
|
||||
|
||||
[Improvements]
|
||||
- Update Parse::PMFile to 0.19 equivalent (charsbar)
|
||||
- Fixed various documentation (syohex, Graham Ollis)
|
||||
- Mask passwords when failing to download a module (andyjones)
|
||||
- Don't find directories when searching for executables (haarg)
|
||||
- Only assume Module::Build configure prereq when there's no config prereq (haarg)
|
||||
- Upgrade fatpacked modules to the latest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 25 11:25:40 UTC 2014 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-App-cpanminus
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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,27 +17,28 @@
|
||||
|
||||
|
||||
Name: perl-App-cpanminus
|
||||
Version: 1.7004
|
||||
Version: 1.7027
|
||||
Release: 0
|
||||
%define cpan_name App-cpanminus
|
||||
Summary: get, unpack, build and install modules from CPAN
|
||||
Summary: Get, Unpack, Build and Install Modules From Cpan
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/App-cpanminus/
|
||||
Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: http://pkgs.fedoraproject.org/cgit/perl-App-cpanminus.git/plain/fatunpack
|
||||
Source2: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::Install) >= 1.46
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
||||
BuildRequires: perl(Module::Build) >= 0.36
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.58
|
||||
BuildRequires: perl(Module::Build) >= 0.38
|
||||
Requires: perl(ExtUtils::Install) >= 1.46
|
||||
Requires: perl(ExtUtils::MakeMaker) >= 6.31
|
||||
Requires: perl(Module::Build) >= 0.36
|
||||
Requires: perl(ExtUtils::MakeMaker) >= 6.58
|
||||
Requires: perl(Module::Build) >= 0.38
|
||||
%{perl_requires}
|
||||
# MANUAL
|
||||
# MANUAL BEGIN
|
||||
# Run-time:
|
||||
# Nothing special. The tests are very poor. But we run perl -c at built-time
|
||||
# to check for correct unpacking. So we need non-optional run-time
|
||||
@ -109,6 +110,7 @@ Requires: perl(YAML)
|
||||
|
||||
Provides: cpanm = %{version}-%{release}
|
||||
Obsoletes: cpanm <= 1.5010
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
cpanminus is a script to get, unpack, build and install modules from CPAN
|
||||
@ -120,7 +122,7 @@ and stands alone. When running, it requires only 10MB of RAM.
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
# MANUAL
|
||||
# MANUAL BEGIN
|
||||
# Unbundle fat-packed modules
|
||||
podselect lib/App/cpanminus.pm > lib/App/cpanminus.pod
|
||||
|
||||
@ -129,6 +131,7 @@ for F in bin/cpanm lib/App/cpanminus/fatscript.pm; do
|
||||
perl -c -Ilib "${F}.stripped"
|
||||
mv "${F}.stripped" "$F"
|
||||
done
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@ -144,6 +147,6 @@ done
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes cpanfile LICENSE README
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user