Accepting request 669354 from devel:languages:perl
- Reduce manual sections and regenerate - Added required dependencies for building and testing - Cleaned with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/669354 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Task-Weaken?expand=0&rev=22
This commit is contained in:
commit
2f8c215f7a
12
cpanspec.yml
12
cpanspec.yml
@ -1,3 +1,13 @@
|
||||
---
|
||||
post_prep:
|
||||
preamble: |-
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(Scalar::Util) >= 1.14
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Warn)
|
||||
Requires: perl(Scalar::Util) >= 1.14
|
||||
|
||||
post_prep: |-
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 28 18:16:59 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- Reduce manual sections and regenerate
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 18 19:54:51 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
|
||||
|
||||
- Added required dependencies for building and testing
|
||||
- Cleaned with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 06:01:01 UTC 2018 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Task-Weaken
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ Release: 0
|
||||
Summary: Ensure that a platform has weaken support
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Task-Weaken/
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
@ -31,6 +31,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(Scalar::Util) >= 1.14
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Warn)
|
||||
Requires: perl(Scalar::Util) >= 1.14
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
One recurring problem in modules that use Scalar::Util's 'weaken' function
|
||||
@ -63,11 +73,11 @@ sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/'
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user