diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..1cf24ec --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,21 @@ +--- +#description_paragraphs: 3 +no_testing: not working with rpm installed deps +#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-Module-Build-CleanInstall.spec b/perl-Module-Build-CleanInstall.spec index 25b89ff..a76b8a8 100644 --- a/perl-Module-Build-CleanInstall.spec +++ b/perl-Module-Build-CleanInstall.spec @@ -25,6 +25,7 @@ License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Module-Build-CleanInstall/ Source0: http://www.cpan.org/authors/id/J/JB/JBERGER/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -60,7 +61,8 @@ ExtUtils::Packlist which is created when the module is first installed. ./Build build flags=%{?_smp_mflags} %check -./Build test +# MANUAL no testing (not working with rpm installed deps) +#./Build test %install ./Build install destdir=%{buildroot} create_packlist=0