diff --git a/Module-Install-AssertOS-0.10.tar.gz b/Module-Install-AssertOS-0.10.tar.gz deleted file mode 100644 index 26bbf14..0000000 --- a/Module-Install-AssertOS-0.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe385b5c310a417c46972acf949b5a10381e4af2088df0aa113a1973847d971e -size 22975 diff --git a/Module-Install-AssertOS-0.12.tar.gz b/Module-Install-AssertOS-0.12.tar.gz new file mode 100644 index 0000000..c1d908a --- /dev/null +++ b/Module-Install-AssertOS-0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d45e429450bf20697541a7018ee5a26f82457cbe5d4bdff21082ded12665899 +size 28014 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-AssertOS.changes b/perl-Module-Install-AssertOS.changes index 7cd3148..8f6e7bf 100644 --- a/perl-Module-Install-AssertOS.changes +++ b/perl-Module-Install-AssertOS.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Feb 18 06:56:15 UTC 2017 - coolo@suse.com + +- updated to 0.12 + see /usr/share/doc/packages/perl-Module-Install-AssertOS/Changes + + 0.12 Fri Feb 17 13:08:47 GMT 2017 + - Handle perls without dot in @INC correctly + - Use autolicense to generate license file + + 0.10 Sun Apr 26 22:50:34 BST 2009 + - Added a test to check whether the files get copied correctly + ------------------------------------------------------------------- Fri Jan 21 20:20:59 UTC 2011 - coolo@novell.com diff --git a/perl-Module-Install-AssertOS.spec b/perl-Module-Install-AssertOS.spec index 5c56867..5984561 100644 --- a/perl-Module-Install-AssertOS.spec +++ b/perl-Module-Install-AssertOS.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Install-AssertOS # -# 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,42 +16,40 @@ # - Name: perl-Module-Install-AssertOS -Version: 0.10 -Release: 1 -License: GPL+ or Artistic +Version: 0.12 +Release: 0 %define cpan_name Module-Install-AssertOS -Summary: A Module::Install extension to require that we are running on a particular OS -Url: http://search.cpan.org/dist/Module-Install-AssertOS/ +Summary: Module::Install extension to require that we are running on a particular OS +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -#Source: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-AssertOS-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/Module-Install-AssertOS/ +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(Data::Compare) >= 1.21 BuildRequires: perl(Devel::CheckOS) >= 1.61 BuildRequires: perl(Module::Install) >= 0.85 -BuildRequires: perl -BuildRequires: perl-macros Requires: perl(Data::Compare) >= 1.21 Requires: perl(Devel::CheckOS) >= 1.61 Requires: perl(Module::Install) >= 0.85 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %{perl_requires} %description -Module::Install::AssertOS is a the Module::Install manpage extension that -integrates the Devel::AssertOS manpage so that CPAN authors may easily -stipulate which particular OS environments their distributions may be built -and installed on. +Module::Install::AssertOS is a Module::Install extension that integrates +Devel::AssertOS so that CPAN authors may easily stipulate which particular +OS environments their distributions may be built and installed on. The author specifies which OS or OS families are supported. The necessary -the Devel::AssertOS manpage files are copied to the 'inc/' directory along -with the the Module::Install manpage files. +Devel::AssertOS files are copied to the 'inc/' directory along with the +Module::Install files. -On the module user side, the bundled 'inc/' the Devel::AssertOS manpage -determines whether the current environment is supported or not and will die +On the module user side, the bundled 'inc/' Devel::AssertOS determines +whether the current environment is supported or not and will die accordingly. %prep @@ -69,11 +67,9 @@ accordingly. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) -%doc Changes LICENSE README +%defattr(-,root,root,755) +%doc Changes README +%license LICENSE %changelog