diff --git a/ExtUtils-CppGuess-0.07.tar.gz b/ExtUtils-CppGuess-0.07.tar.gz deleted file mode 100644 index b2711c2..0000000 --- a/ExtUtils-CppGuess-0.07.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1cd83ee8452351219b987c79ddb25cc25ee8c396318ba36c5211a92b5c87e7a8 -size 7232 diff --git a/ExtUtils-CppGuess-0.09.tar.gz b/ExtUtils-CppGuess-0.09.tar.gz new file mode 100644 index 0000000..67de50c --- /dev/null +++ b/ExtUtils-CppGuess-0.09.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48625195a88c0f2ddc37bbd7a06346aa68ffb6948ba78da3aea47c0db2540f65 +size 6318 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..e5090d6 --- /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: SUSE-NonFree +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-ExtUtils-CppGuess.changes b/perl-ExtUtils-CppGuess.changes index ce689d5..90bde9d 100644 --- a/perl-ExtUtils-CppGuess.changes +++ b/perl-ExtUtils-CppGuess.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Apr 14 19:29:47 UTC 2015 - coolo@suse.com + +- updated to 0.09 + see /usr/share/doc/packages/perl-ExtUtils-CppGuess/Changes + + 0.09 Sat Apr 11 16:05:50 BST 2015 + - Convert to EUMM + - Make tests divulge guessed options for better debugging + + + 0.08 Thu Jan 15 03:07:38 GMT 2015 + - Update metadata + ------------------------------------------------------------------- Sun Jun 8 10:57:11 UTC 2014 - coolo@suse.com diff --git a/perl-ExtUtils-CppGuess.spec b/perl-ExtUtils-CppGuess.spec index a482b21..e51f103 100644 --- a/perl-ExtUtils-CppGuess.spec +++ b/perl-ExtUtils-CppGuess.spec @@ -1,7 +1,7 @@ # # spec file for package perl-ExtUtils-CppGuess # -# Copyright (c) 2014 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 @@ -17,14 +17,15 @@ Name: perl-ExtUtils-CppGuess -Version: 0.07 +Version: 0.09 Release: 0 %define cpan_name ExtUtils-CppGuess -Summary: guess C++ compiler and flags +Summary: Guess C++ Compiler and Flags License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/ExtUtils-CppGuess/ -Source: http://www.cpan.org/authors/id/S/SM/SMUELLER/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/E/ET/ETJ/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros @@ -32,8 +33,9 @@ BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Module::Build) Requires: perl(Capture::Tiny) %{perl_requires} -# MANUAL +# MANUAL BEGIN BuildRequires: gcc-c++ +# MANUAL END %description 'ExtUtils::CppGuess' attempts to guess the system's C++ compiler that is @@ -47,14 +49,15 @@ function. %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" -./Build build flags=%{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test %install -./Build install destdir=%{buildroot} create_packlist=0 +%perl_make_install +%perl_process_packlist %perl_gen_filelist %files -f %{name}.files