Hello community,
here is the log from the commit of package perl-Task-Weaken for
openSUSE:Factory checked in at 2019-02-13 10:16:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Task-Weaken (Old)
and /work/SRC/openSUSE:Factory/.perl-Task-Weaken.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Task-Weaken"
Wed Feb 13 10:16:14 2019 rev:22 rq:669354 version:1.06
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Task-Weaken/perl-Task-Weaken.changes
2018-04-25 10:00:31.300669674 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Task-Weaken.new.28833/perl-Task-Weaken.changes
2019-02-13 10:16:16.089383168 +0100
@@ -1,0 +2,11 @@
+Mon Jan 28 18:16:59 UTC 2019 - Stephan Kulow <[email protected]>
+
+- Reduce manual sections and regenerate
+
+-------------------------------------------------------------------
+Fri Jan 18 19:54:51 UTC 2019 - Pedro Monreal Gonzalez
<[email protected]>
+
+- Added required dependencies for building and testing
+- Cleaned with spec-cleaner
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Task-Weaken.spec ++++++
--- /var/tmp/diff_new_pack.h4ydeT/_old 2019-02-13 10:16:16.693382938 +0100
+++ /var/tmp/diff_new_pack.h4ydeT/_new 2019-02-13 10:16:16.693382938 +0100
@@ -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 @@
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 @@
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 @@
# 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
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.h4ydeT/_old 2019-02-13 10:16:16.717382928 +0100
+++ /var/tmp/diff_new_pack.h4ydeT/_new 2019-02-13 10:16:16.725382926 +0100
@@ -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