diff --git a/Class-Generate-1.11.tar.gz b/Class-Generate-1.11.tar.gz deleted file mode 100644 index 94c17df..0000000 --- a/Class-Generate-1.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c04bac0ba502ead4dd97cd3c9279d8f854e50b2fe5e49f9602f661a42c247c2 -size 53938 diff --git a/Class-Generate-1.15.tar.gz b/Class-Generate-1.15.tar.gz new file mode 100644 index 0000000..4f6e586 --- /dev/null +++ b/Class-Generate-1.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8d47cfdae7e797f2c81262b5da8a8b01b4af5bc0d5a1ef8c6e65b5d1b9ecb02 +size 76362 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..29bf039 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,21 @@ +--- +#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: SUSE-NonFree +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag +#ignore_requires: Bizarre::Module diff --git a/perl-Class-Generate.changes b/perl-Class-Generate.changes index 3178a4e..b5c770b 100644 --- a/perl-Class-Generate.changes +++ b/perl-Class-Generate.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Apr 25 05:57:20 UTC 2015 - coolo@suse.com + +- updated to 1.15 + see /usr/share/doc/packages/perl-Class-Generate/Changes + ------------------------------------------------------------------- Tue May 31 14:33:40 UTC 2011 - coolo@novell.com diff --git a/perl-Class-Generate.spec b/perl-Class-Generate.spec index 371dff2..6b4ccd8 100644 --- a/perl-Class-Generate.spec +++ b/perl-Class-Generate.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-Class-Generate (Version 1.11) +# spec file for package perl-Class-Generate # -# Copyright (c) 2011 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 @@ -15,19 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Class-Generate -Version: 1.11 -Release: 1 -License: GPL+ or Artistic +Version: 1.15 +Release: 0 %define cpan_name Class-Generate Summary: Generate Perl class hierarchies -Url: http://search.cpan.org/dist/Class-Generate/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/S/SW/SWARTIK/%{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/Class-Generate/ +Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{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.360000 +BuildRequires: perl(Text::Soundex) %{perl_requires} %description @@ -49,22 +53,18 @@ get out of my way when I asked. find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README +%doc Changes LICENSE README %changelog