diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..1d29333 --- /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: GPL-3.0+ +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-Test-MockModule.changes b/perl-Test-MockModule.changes index d72e447..0533800 100644 --- a/perl-Test-MockModule.changes +++ b/perl-Test-MockModule.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 16 18:22:37 UTC 2015 - coolo@suse.com + +- set license to GPL-3.0+ + ------------------------------------------------------------------- Mon Apr 13 18:37:51 UTC 2015 - coolo@suse.com diff --git a/perl-Test-MockModule.spec b/perl-Test-MockModule.spec index d7ba760..ce21e97 100644 --- a/perl-Test-MockModule.spec +++ b/perl-Test-MockModule.spec @@ -19,17 +19,19 @@ Name: perl-Test-MockModule Version: 0.09 Release: 0 +#Upstream: GPL-1.0+ %define cpan_name Test-MockModule Summary: Override subroutines in a module for unit testing -License: GPL-1.0+ +License: GPL-3.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-MockModule/ -Source: http://www.cpan.org/authors/id/G/GF/GFRANKS/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/G/GF/GFRANKS/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.38 +BuildRequires: perl(Module::Build) >= 0.380000 BuildRequires: perl(SUPER) Requires: perl(SUPER) %{perl_requires}