Fix ambiguous dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graph-ReadWrite?expand=0&rev=3
This commit is contained in:
37
cpanspec.yml
Normal file
37
cpanspec.yml
Normal 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
|
||||
# perl(Parse::Yapp::Driver) is also provided by perl-Math-Calc-Units
|
||||
preamble: |-
|
||||
BuildRequires: perl(Parse::Yapp)
|
||||
Requires: perl(Parse::Yapp)
|
||||
ignore_requires: Parse::Yapp::Driver
|
||||
#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
|
||||
#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
|
@@ -26,20 +26,21 @@ License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Modules for reading and writing directed graphs
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Graph)
|
||||
BuildRequires: perl(Graph::Undirected)
|
||||
BuildRequires: perl(Parse::Yapp::Driver)
|
||||
BuildRequires: perl(parent)
|
||||
#BuildRequires: perl(Parse::Yapp::Driver)
|
||||
BuildRequires: perl(XML::Parser)
|
||||
BuildRequires: perl(XML::Writer)
|
||||
BuildRequires: perl(parent)
|
||||
Requires: perl(Graph)
|
||||
Requires: perl(Parse::Yapp::Driver)
|
||||
Requires: perl(parent)
|
||||
#Requires: perl(Parse::Yapp::Driver)
|
||||
Requires: perl(XML::Parser)
|
||||
Requires: perl(XML::Writer)
|
||||
Requires: perl(parent)
|
||||
Provides: perl(Graph::ReadWrite) = %{version}
|
||||
Provides: perl(Graph::Reader) = %{version}
|
||||
Provides: perl(Graph::Reader::Dot) = %{version}
|
||||
@@ -53,6 +54,10 @@ Provides: perl(Graph::Writer::XML) = %{version}
|
||||
Provides: perl(Graph::Writer::daVinci) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: perl(Parse::Yapp)
|
||||
Requires: perl(Parse::Yapp)
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
This module is a placeholder in the Graph-ReadWrite distribution, which is
|
||||
|
Reference in New Issue
Block a user