forked from pool/perl-PerlIO-via-dynamic
Compare commits
10 Commits
5b1df1b90a
...
d14b855638
Author | SHA256 | Date | |
---|---|---|---|
d14b855638 | |||
|
2544a4795b | ||
|
8ebe6f305c | ||
|
dfc40ec580 | ||
|
11ce684ef9 | ||
|
97898e5877 | ||
|
b54a5bc1bd | ||
|
ecd52d4cca | ||
|
6b721d646d | ||
|
d4594ae61b |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb09cb824180dbcab7d099e94df4e222187c1fe97c848c4a8d66e9be827a42f6
|
||||
size 17532
|
3
PerlIO-via-dynamic-0.14.tar.gz
Normal file
3
PerlIO-via-dynamic-0.14.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8acd7af4d8af21d28b9c15ae137fe76cd064dad7d26eba8a30b97ebc6e1f6b49
|
||||
size 35085
|
3
cpanspec.yml
Normal file
3
cpanspec.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
post_prep:
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 08:20:02 UTC 2017 - coolo@suse.com
|
||||
|
||||
- patch the Makefile to build with perl 5.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 9 15:02:36 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.14
|
||||
* Update to not warn on perl 5.16 and above
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-PerlIO-via-dynamic (Version 0.12)
|
||||
# spec file for package perl-PerlIO-via-dynamic
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@@ -15,56 +15,55 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-PerlIO-via-dynamic
|
||||
License: Artistic
|
||||
Version: 0.14
|
||||
Release: 0
|
||||
%define cpan_name PerlIO-via-dynamic
|
||||
Summary: Dynamic Perlio Layers
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://cpan.org/
|
||||
AutoReqProv: on
|
||||
Summary: dynamic PerlIO layers
|
||||
Version: 0.12
|
||||
Release: 130
|
||||
Source: http://cpan.org/modules/by-module/PerlIO/PerlIO-via-dynamic-%{version}.tar.bz2
|
||||
Url: http://search.cpan.org/dist/PerlIO-via-dynamic/
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
PerlIO::via::dynamic is used for creating dynamic PerlIO layers. It is
|
||||
useful when the behavior or the layer depends on variables. You should
|
||||
not use this module as via layer directly (ie :via(dynamic)).
|
||||
'PerlIO::via::dynamic' is used for creating dynamic PerlIO layers. It is
|
||||
useful when the behavior or the layer depends on variables. 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.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Chia-liang Kao <clkao at clkao dot org>
|
||||
Note that PerlIO::via::dynamic uses the scalar fields to reference to the
|
||||
object representing the dynamic namespace.
|
||||
|
||||
%prep
|
||||
%setup -n PerlIO-via-dynamic-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# MANUAL BEGIN
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%dir %{perl_vendorlib}/PerlIO
|
||||
%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
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc CHANGES README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user