commit c6d6d554732e5192d3ebfac0a0d77c95b250adf194385edca499f9ea8fc97fa1 Author: OBS User autobuild Date: Mon Nov 23 14:09:51 2009 +0000 Accepting request 24470 from devel:languages:perl Copy from devel:languages:perl/perl-Task-Weaken based on submit request 24470 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/24470 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Task-Weaken?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Task-Weaken-1.03.tar.bz2 b/Task-Weaken-1.03.tar.bz2 new file mode 100644 index 0000000..427963f --- /dev/null +++ b/Task-Weaken-1.03.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b64f7a584776ea9114a20628963e0721272477b02b7465c7cd62161ea0218d62 +size 23926 diff --git a/perl-Task-Weaken.changes b/perl-Task-Weaken.changes new file mode 100644 index 0000000..d3c6bc0 --- /dev/null +++ b/perl-Task-Weaken.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Sun Nov 15 18:53:14 CET 2009 - dmueller@suse.de + +- update to 1.03: + - Updating to flush out some old CPAN Testers results + +------------------------------------------------------------------- +Tue Jul 15 16:18:24 CEST 2008 - jw@suse.de + +- initial check in version 1.02 + diff --git a/perl-Task-Weaken.spec b/perl-Task-Weaken.spec new file mode 100644 index 0000000..213c052 --- /dev/null +++ b/perl-Task-Weaken.spec @@ -0,0 +1,65 @@ +# +# spec file for package perl-Task-Weaken (Version 1.03) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + +# norootforbuild + + +Name: perl-Task-Weaken +%define modname Task-Weaken +Version: 1.03 +Release: 1 +Url: http://search.cpan.org/~nuffin/Tie-RefHash-Weak-0.08/lib/Tie/RefHash/Weak.pm +Summary: Task::Weaken - Ensure that a platform has weaken support +Requires: perl = %{perl_version} +BuildRequires: perl +License: GPL/Artistic +Group: Development/Libraries/Perl +Source: %{modname}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +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 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 successfully. + +Authors: +-------- + Adam Kennedy + +%prep +%setup -q -n %{modname}-%{version} + +%build +echo y | perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +make +make test + +%install +make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_process_packlist + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root) +%doc Changes README +%doc %{_mandir}/man?/* +%{perl_vendorlib}/Task +%{perl_vendorarch}/auto/Task +/var/adm/perl-modules/%{name} + +%changelog diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4