8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
d14b855638 Accepting request 530785 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/530785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PerlIO-via-dynamic?expand=0&rev=23
2017-10-03 21:19:44 +00:00
Stephan Kulow
2544a4795b Accepting request 530745 from devel:languages:perl:tobefixed
fix

OBS-URL: https://build.opensuse.org/request/show/530745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PerlIO-via-dynamic?expand=0&rev=17
2017-10-03 08:53:17 +00:00
Stephan Kulow
8ebe6f305c Accepting request 178314 from devel:languages:perl
update (forwarded request 178285 from coolo)

OBS-URL: https://build.opensuse.org/request/show/178314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PerlIO-via-dynamic?expand=0&rev=20
2013-06-13 18:06:34 +00:00
Stephan Kulow
dfc40ec580 Accepting request 178285 from home:coolo:update-perl
update

OBS-URL: https://build.opensuse.org/request/show/178285
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PerlIO-via-dynamic?expand=0&rev=15
2013-06-10 10:37:16 +00:00
Stephan Kulow
11ce684ef9 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PerlIO-via-dynamic?expand=0&rev=17
2011-12-06 17:46:12 +00:00
Sascha Peilicke
97898e5877 Autobuild autoformatter for 65832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PerlIO-via-dynamic?expand=0&rev=15
2011-04-04 07:03:08 +00:00
Sascha Peilicke
b54a5bc1bd Accepting request 65832 from devel:languages:perl
Accepted submit request 65832 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PerlIO-via-dynamic?expand=0&rev=14
2011-04-04 07:02:57 +00:00
Stephan Kulow
ecd52d4cca OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PerlIO-via-dynamic?expand=0&rev=13 2011-04-03 15:32:44 +00:00
Stephan Kulow
6b721d646d - 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
2011-04-02 19:35:51 +00:00
Lars Vogdt
d4594ae61b Autobuild autoformatter for 54731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PerlIO-via-dynamic?expand=0&rev=12
2010-12-05 21:12:46 +00:00
5 changed files with 55 additions and 36 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:8acd7af4d8af21d28b9c15ae137fe76cd064dad7d26eba8a30b97ebc6e1f6b49
size 35085

3
cpanspec.yml Normal file
View File

@@ -0,0 +1,3 @@
---
post_prep:
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL

View File

@@ -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

View File

@@ -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