From 1f16a6038094262c92a7a7a234c7aa665ca34c81e61466e5581adf5c2e5ec7ae Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 21 Apr 2015 02:53:31 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Build-CleanInstall?expand=0&rev=2 --- cpanspec.yml | 21 +++++++++++++++++++++ perl-Module-Build-CleanInstall.spec | 4 +++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 cpanspec.yml 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