- needs perl(PkgConfig) to build on older distributions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Alien-Base-ModuleBuild?expand=0&rev=12
This commit is contained in:
Lars Vogdt
2021-04-13 20:40:00 +00:00
committed by Git OBS Bridge
parent c63e8abfbd
commit 788228c48a
3 changed files with 13 additions and 3 deletions

View File

@@ -10,8 +10,10 @@
#patches: #patches:
# foo.patch: -p1 # foo.patch: -p1
# bar.patch: # bar.patch:
#preamble: |- preamble: |-
# BuildRequires: gcc-c++ %if 0%{?suse_version} <= 1530
BuildRequires: perl(PkgConfig)
%endif
#post_prep: |- #post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 13 20:39:25 UTC 2021 - Lars Vogdt <lars@linux-schulserver.de>
- needs perl(PkgConfig) to build on older distributions
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 29 03:07:00 UTC 2020 - Tina Müller <timueller+perl@suse.de> Sat Aug 29 03:07:00 UTC 2020 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Alien-Base-ModuleBuild # spec file for package perl-Alien-Base-ModuleBuild
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -47,6 +47,9 @@ BuildRequires: perl(Text::ParseWords) >= 3.26
BuildRequires: perl(URI) BuildRequires: perl(URI)
BuildRequires: perl(URI::file) BuildRequires: perl(URI::file)
BuildRequires: perl(parent) BuildRequires: perl(parent)
%if 0%{?suse_version} <= 1530
BuildRequires: perl(PkgConfig)
%endif
Requires: perl(Alien::Base) Requires: perl(Alien::Base)
Requires: perl(Alien::Base::PkgConfig) >= 1.20 Requires: perl(Alien::Base::PkgConfig) >= 1.20
Requires: perl(Archive::Extract) Requires: perl(Archive::Extract)