Accepting request 573950 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/573950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Task-Weaken?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2018-02-09 14:47:06 +00:00 committed by Git OBS Bridge
commit f7ef3a0315
4 changed files with 14 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67e271c55900fe7889584f911daa946e177bb60c8af44c32f4584b87766af3c4
size 29976

3
Task-Weaken-1.05.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85f3bf738d0e94f935d9efd83575a2afd0aafb66adcc6624cee5064146f6b95c
size 27741

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 7 17:21:27 UTC 2018 - coolo@suse.com
- updated to 1.05
see /usr/share/doc/packages/perl-Task-Weaken/Changes
-------------------------------------------------------------------
Tue Oct 3 08:20:55 UTC 2017 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Task-Weaken
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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,14 +17,14 @@
Name: perl-Task-Weaken
Version: 1.04
Version: 1.05
Release: 0
%define cpan_name Task-Weaken
Summary: Ensure that a platform has weaken support
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Task-Weaken/
Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -36,7 +36,7 @@ BuildRequires: perl-macros
One recurring problem in modules that use Scalar::Util's 'weaken' function
is that it is not present in the pure-perl variant.
While this isn't necesarily always a problem in a straight CPAN-based Perl
While this isn't necessarily always a problem in a straight CPAN-based Perl
environment, some operating system distributions only include the pure-Perl
versions, don't include the XS version, and so weaken is then "missing"
from the platform, *despite* passing a dependency on Scalar::Util
@ -76,7 +76,7 @@ sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/'
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%doc Changes CONTRIBUTING Makefile.footer Makefile.header README
%license LICENSE
%changelog