8
0

Accepting request 305026 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/305026
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-stringy?expand=0&rev=15
This commit is contained in:
Stephan Kulow
2015-05-02 09:32:59 +00:00
committed by Git OBS Bridge
parent 529c6c3563
commit 443ee7a8a7
5 changed files with 54 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-IO-stringy
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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,51 +17,42 @@
Name: perl-IO-stringy
%define cpan_name IO-stringy
Url: http://search.cpan.org/perldoc?IO::Stringy
Provides: p_iostrn
Obsoletes: p_iostrn
Summary: I/O on in-core objects like strings and arrays
License: Artistic-1.0
Group: Development/Libraries/Perl
Version: 2.110
Version: 2.111
Release: 0
Source: http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/%{cpan_name}-%{version}.tar.gz
%define cpan_name IO-stringy
Summary: IO::stringy Perl module
License: CHECK(GPL-1.0+ or Artistic-1.0)
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/IO-stringy/
Source0: http://www.cpan.org/authors/id/D/DS/DSKOLL/%{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
I/O on in-core objects like strings and arrays
Authors:
--------
Eryq <eryq@zeegee.com>
IO::stringy Perl module
%prep
%setup -n %{cpan_name}-%{version}
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%build
perl Makefile.PL
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files
%defattr(-,root,root)
%{perl_vendorlib}/IO
%{perl_vendorarch}/auto/IO
%{perl_vendorarch}/auto/IO/Stringy
%doc %{_mandir}/man3/*.gz
%doc MANIFEST COPYING README*
%files -f %{name}.files
%defattr(-,root,root,755)
%doc COPYING examples README
%changelog