From 360825273d6c46ebf047ac50cb1d34e77a3d1d400ec56d1dbc69c23f670cc24c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 17 Apr 2015 12:04:39 +0000 Subject: [PATCH] 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