From 443ee7a8a79b5bcfeb5a7361a818b0a7d9bb6a9f50e1f4e7c3578f9f6206cc53 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 2 May 2015 09:32:59 +0000 Subject: [PATCH 1/2] 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 --- IO-stringy-2.110.tar.gz | 3 --- IO-stringy-2.111.tar.gz | 3 +++ cpanspec.yml | 23 ++++++++++++++++++ perl-IO-stringy.changes | 6 +++++ perl-IO-stringy.spec | 53 +++++++++++++++++------------------------ 5 files changed, 54 insertions(+), 34 deletions(-) delete mode 100644 IO-stringy-2.110.tar.gz create mode 100644 IO-stringy-2.111.tar.gz create mode 100644 cpanspec.yml diff --git a/IO-stringy-2.110.tar.gz b/IO-stringy-2.110.tar.gz deleted file mode 100644 index 0984db3..0000000 --- a/IO-stringy-2.110.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7e3cf438b3938a2692cb502704c0bbfa2c5ec4a5071ab77906a2432126b004ee -size 40590 diff --git a/IO-stringy-2.111.tar.gz b/IO-stringy-2.111.tar.gz new file mode 100644 index 0000000..e599d81 --- /dev/null +++ b/IO-stringy-2.111.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c67fd6608c3c4e74f7324f1404a856c331dbf48d9deda6aaa8296ea41bf199d +size 41515 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -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: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-IO-stringy.changes b/perl-IO-stringy.changes index 62a0004..222a1f1 100644 --- a/perl-IO-stringy.changes +++ b/perl-IO-stringy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/perl-IO-stringy.spec b/perl-IO-stringy.spec index 20e1122..ec3776c 100644 --- a/perl-IO-stringy.spec +++ b/perl-IO-stringy.spec @@ -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 +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 From f2bd371aa8c1cbc052ed4fb78c3205ea7986e642a674e25c1cd7d0334a01a4ee Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 6 May 2015 11:11:39 +0000 Subject: [PATCH 2/2] - fix license to be perl's OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-stringy?expand=0&rev=16 --- cpanspec.yml | 2 +- perl-IO-stringy.changes | 5 +++++ perl-IO-stringy.spec | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cpanspec.yml b/cpanspec.yml index 9b7ec50..e344f25 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -14,7 +14,7 @@ # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_install: |- # sed on %{name}.files -#license: SUSE-NonFree +license: Perl License #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-IO-stringy.changes b/perl-IO-stringy.changes index 222a1f1..89a7d5f 100644 --- a/perl-IO-stringy.changes +++ b/perl-IO-stringy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/perl-IO-stringy.spec b/perl-IO-stringy.spec index ec3776c..2206a14 100644 --- a/perl-IO-stringy.spec +++ b/perl-IO-stringy.spec @@ -19,9 +19,10 @@ Name: perl-IO-stringy Version: 2.111 Release: 0 +#Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name IO-stringy Summary: IO::stringy Perl module -License: CHECK(GPL-1.0+ or Artistic-1.0) +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