Stephan Kulow 2015-04-17 12:04:39 +00:00 committed by Git OBS Bridge
parent 5872742c61
commit 360825273d
2 changed files with 27 additions and 8 deletions

20
cpanspec.yml Normal file
View File

@ -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

View File

@ -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