Accepting request 305560 from devel:languages:perl

- fix license to be perl's

- updated to 2.111
   see /usr/share/doc/packages/perl-IO-stringy/

OBS-URL: https://build.opensuse.org/request/show/305560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-stringy?expand=0&rev=23
This commit is contained in:
Stephan Kulow 2015-05-07 06:29:04 +00:00 committed by Git OBS Bridge
commit 2cf6f04936
5 changed files with 60 additions and 34 deletions

View File

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

3
IO-stringy-2.111.tar.gz Normal file
View File

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

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
license: Perl License
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed May 6 11:11:29 UTC 2015 - coolo@suse.com
- fix license to be perl's
-------------------------------------------------------------------
Sat May 2 09:26:25 UTC 2015 - coolo@suse.com
- updated to 2.111
see /usr/share/doc/packages/perl-IO-stringy/
-------------------------------------------------------------------
Mon Apr 15 10:51:34 UTC 2013 - idonmez@suse.com

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,43 @@
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
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
%define cpan_name IO-stringy
Summary: IO::stringy Perl module
License: Artistic-1.0 or GPL-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