diff --git a/Module-Install-AutoLicense-0.08.tar.gz b/Module-Install-AutoLicense-0.08.tar.gz deleted file mode 100644 index 5e51e4f..0000000 --- a/Module-Install-AutoLicense-0.08.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ceec9466f57c1d27d3eda4a1696a38f5e30ecaa06892817c38efd141f86ffa7 -size 26460 diff --git a/Module-Install-AutoLicense-0.10.tar.gz b/Module-Install-AutoLicense-0.10.tar.gz new file mode 100644 index 0000000..8d55e80 --- /dev/null +++ b/Module-Install-AutoLicense-0.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bd263365f0375ceb988cab6d3e4418695afa3ece770db12768974cee77aefe0 +size 28532 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#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_build: |- +# rm unused.files +#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-Module-Install-AutoLicense.changes b/perl-Module-Install-AutoLicense.changes index 6caa953..4e2ecd9 100644 --- a/perl-Module-Install-AutoLicense.changes +++ b/perl-Module-Install-AutoLicense.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Feb 18 06:56:40 UTC 2017 - coolo@suse.com + +- updated to 0.10 + see /usr/share/doc/packages/perl-Module-Install-AutoLicense/Changes + + 0.10 Fri Feb 17 13:22:59 GMT 2017 + - Handle perls without dot in @INC correctly + ------------------------------------------------------------------- Fri Jan 21 20:21:19 UTC 2011 - coolo@novell.com diff --git a/perl-Module-Install-AutoLicense.spec b/perl-Module-Install-AutoLicense.spec index 3a1b3f9..95dceef 100644 --- a/perl-Module-Install-AutoLicense.spec +++ b/perl-Module-Install-AutoLicense.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Install-AutoLicense # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,40 +16,38 @@ # - Name: perl-Module-Install-AutoLicense -Version: 0.08 -Release: 1 -License: GPL+ or Artistic +Version: 0.10 +Release: 0 %define cpan_name Module-Install-AutoLicense -Summary: A Module::Install extension to automagically generate LICENSE files -Url: http://search.cpan.org/dist/Module-Install-AutoLicense/ +Summary: Module::Install extension to automagically generate LICENSE files +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -#Source: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-AutoLicense-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz -BuildRequires: perl(Capture::Tiny) >= 0.05 -BuildRequires: perl(File::Temp) -BuildRequires: perl(Module::Install) >= 0.85 -BuildRequires: perl(Software::License) >= 0.01 +Url: http://search.cpan.org/dist/Module-Install-AutoLicense/ +Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Capture::Tiny) >= 0.05 +BuildRequires: perl(Module::Install) >= 0.85 +BuildRequires: perl(Software::License) >= 0.01 Requires: perl(Module::Install) >= 0.85 Requires: perl(Software::License) >= 0.01 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %{perl_requires} %description -Module::Install::AutoLicense is a the Module::Install manpage extension -that generates a 'LICENSE' file automatically whenever the author runs -'Makefile.PL'. On the user side it does nothing. +Module::Install::AutoLicense is a Module::Install extension that generates +a 'LICENSE' file automatically whenever the author runs 'Makefile.PL'. On +the user side it does nothing. When 'make distclean' is invoked by the author, the 'LICENSE' is removed. The appropriate license to determined from the meta provided with the 'license' command and the holder of the license from the 'author' command. -the Software::License manpage is used to generate the 'LICENSE' file. +Software::License is used to generate the 'LICENSE' file. %prep %setup -q -n %{cpan_name}-%{version} @@ -66,11 +64,9 @@ the Software::License manpage is used to generate the 'LICENSE' file. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) -%doc Changes have_make LICENSE README +%defattr(-,root,root,755) +%doc Changes have_make README +%license LICENSE %changelog