From 360825273d6c46ebf047ac50cb1d34e77a3d1d400ec56d1dbc69c23f670cc24c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 17 Apr 2015 12:04:39 +0000 Subject: [PATCH 1/2] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-NoWarnings?expand=0&rev=25 --- cpanspec.yml | 20 ++++++++++++++++++++ perl-Test-NoWarnings.spec | 15 +++++++-------- 2 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 cpanspec.yml diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..e6a6d4b --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#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: LGPL-2.1+ +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-Test-NoWarnings.spec b/perl-Test-NoWarnings.spec index ae446de..d831562 100644 --- a/perl-Test-NoWarnings.spec +++ b/perl-Test-NoWarnings.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-NoWarnings # -# Copyright (c) 2012 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 @@ -19,21 +19,20 @@ Name: perl-Test-NoWarnings Version: 1.04 Release: 0 -%define cpan_name Test-NoWarnings +#Upstream: This program is free software and comes with no warranty. It is distributed under the LGPL license See the file _LGPL_ included in this distribution or _http://www.fsf.org/licenses/licenses.html_. +%define cpan_name Test-NoWarnings Summary: Make sure you didn't emit any warnings while testing License: LGPL-2.1+ Group: Development/Libraries/Perl -# MANUAL Url: http://search.cpan.org/dist/Test-NoWarnings/ -Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::Builder) >= 0.86 BuildRequires: perl(Test::Tester) >= 0.107 -#BuildRequires: perl(Test::NoWarnings) -#BuildRequires: perl(Test::NoWarnings::Warning) Requires: perl(Test::Builder) >= 0.86 %{perl_requires} @@ -69,6 +68,6 @@ when any forked children exit. %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE MYMETA.json README +%doc Changes LICENSE README %changelog From 0f3530812dcba1f42760b9594b327e854ed25e0c024f0d6c729839f3b5570278 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 27 Apr 2015 04:59:17 +0000 Subject: [PATCH 2/2] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-NoWarnings?expand=0&rev=26 --- cpanspec.yml | 2 -- perl-Test-NoWarnings.changes | 5 +++++ perl-Test-NoWarnings.spec | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cpanspec.yml b/cpanspec.yml index e6a6d4b..cc8c508 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -7,8 +7,6 @@ #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 diff --git a/perl-Test-NoWarnings.changes b/perl-Test-NoWarnings.changes index b6b293a..b5c63bd 100644 --- a/perl-Test-NoWarnings.changes +++ b/perl-Test-NoWarnings.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 27 04:57:38 UTC 2015 - coolo@suse.com + +- regenerate using cpanspec.yml + ------------------------------------------------------------------- Mon Dec 24 15:01:10 UTC 2012 - lars@linux-schulserver.de diff --git a/perl-Test-NoWarnings.spec b/perl-Test-NoWarnings.spec index d831562..69d8d23 100644 --- a/perl-Test-NoWarnings.spec +++ b/perl-Test-NoWarnings.spec @@ -19,7 +19,7 @@ Name: perl-Test-NoWarnings Version: 1.04 Release: 0 -#Upstream: This program is free software and comes with no warranty. It is distributed under the LGPL license See the file _LGPL_ included in this distribution or _http://www.fsf.org/licenses/licenses.html_. +#Upstream: SUSE-Public-Domain %define cpan_name Test-NoWarnings Summary: Make sure you didn't emit any warnings while testing License: LGPL-2.1+