diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..451b2de --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,36 @@ +--- +#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: +# baz.patch: PATCH-FIX-OPENSUSE +preamble: |- + BuildRequires: perl(IO::Scalar) + Requires: perl(IO::Scalar) +#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 +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-Spreadsheet-WriteExcel-FromXML.spec b/perl-Spreadsheet-WriteExcel-FromXML.spec index 6e53455..0ad106e 100644 --- a/perl-Spreadsheet-WriteExcel-FromXML.spec +++ b/perl-Spreadsheet-WriteExcel-FromXML.spec @@ -26,6 +26,7 @@ License: CHECK(Artistic-1.0 or GPL-1.0-or-later) Summary: Create Excel Spreadsheet from XML URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/B/BW/BWMCADAMS/%{cpan_name}-%{cpan_version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros @@ -40,6 +41,10 @@ Provides: perl(Spreadsheet::WriteExcel::FromXML::Workbook) = %{version} Provides: perl(Spreadsheet::WriteExcel::FromXML::Worksheet) = %{version} %undefine __perllib_provides %{perl_requires} +# MANUAL BEGIN +BuildRequires: perl(IO::Scalar) +Requires: perl(IO::Scalar) +# MANUAL END %description This module uses Spreadsheet::WriteExcel to turn a simple XML data file