8
0

- update to 0.13

* Workaround a refcnt bug in Perl 5.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PerlIO-via-dynamic?expand=0&rev=12
This commit is contained in:
Stephan Kulow
2011-04-02 19:35:51 +00:00
committed by Git OBS Bridge
parent a6eab8777c
commit 6b721d646d
4 changed files with 38 additions and 34 deletions

View File

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

View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Apr 2 19:35:16 UTC 2011 - coolo@novell.com
- update to 0.13
* Workaround a refcnt bug in Perl 5.10.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 30 19:20:39 UTC 2010 - coolo@novell.com Tue Nov 30 19:20:39 UTC 2010 - coolo@novell.com

View File

@@ -1,5 +1,5 @@
# #
# spec file for package perl-PerlIO-via-dynamic (Version 0.12) # spec file for package perl-PerlIO-via-dynamic (Version 0.13)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@@ -15,56 +15,54 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-PerlIO-via-dynamic Name: perl-PerlIO-via-dynamic
License: Artistic Version: 0.13
Group: Development/Libraries/Perl Release: 1
Url: http://cpan.org/ License: CHECK(GPL+ or Artistic)
AutoReqProv: on %define cpan_name PerlIO-via-dynamic
Summary: dynamic PerlIO layers Summary: dynamic PerlIO layers
Version: 0.12 Url: http://search.cpan.org/dist/PerlIO-via-dynamic/
Release: 130 Group: Development/Libraries/Perl
Source: http://cpan.org/modules/by-module/PerlIO/PerlIO-via-dynamic-%{version}.tar.bz2 #Source: http://www.cpan.org/authors/id/C/CL/CLKAO/PerlIO-via-dynamic-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires}
%description %description
PerlIO::via::dynamic is used for creating dynamic PerlIO layers. It is 'PerlIO::via::dynamic' is used for creating dynamic the PerlIO manpage
useful when the behavior or the layer depends on variables. You should layers. It is useful when the behavior or the layer depends on variables.
not use this module as via layer directly (ie :via(dynamic)). You should not use this module as via layer directly (ie :via(dynamic)).
Use the constructor to create new layers, with two arguments: translate and
untranslate. Then use '$p-'via ($fh)> to wrap the handle. Once <$fh> is
destroyed, the temporary namespace for the IO layer will be removed.
Note that PerlIO::via::dynamic uses the scalar fields to reference to the
Authors: object representing the dynamic namespace.
--------
Chia-liang Kao <clkao at clkao dot org>
%prep %prep
%setup -n PerlIO-via-dynamic-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %clean
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT} %{__rm} -rf %{buildroot}
%files %files -f %{name}.files
%defattr(-, root, root) %defattr(644,root,root,755)
%dir %{perl_vendorlib}/PerlIO %doc CHANGES README
%dir %{perl_vendorlib}/PerlIO/via
%{perl_vendorlib}/PerlIO/via/dynamic.pm
%dir %{perl_vendorarch}/auto/PerlIO
%dir %{perl_vendorarch}/auto/PerlIO/via
%dir %{perl_vendorarch}/auto/PerlIO/via/dynamic
%{_mandir}/man3/PerlIO::via::dynamic.3pm.gz
%changelog %changelog