2024-08-07 19:00:16 +00:00
committed by Git OBS Bridge
parent c7f13c532e
commit 687722fda2
2 changed files with 40 additions and 1 deletions

37
cpanspec.yml Normal file
View File

@@ -0,0 +1,37 @@
---
#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: 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_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: |-
# tests are failing
# make 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

View File

@@ -26,6 +26,7 @@ License: Artistic-1.0 OR GPL-1.0-or-later
Summary: High-level interface to cddb protocol servers (freedb and CDDB)
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RC/RCAPUTO/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
@@ -78,7 +79,8 @@ perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
# tests are failing
# make test
%install
%perl_make_install