8
0

Accepting request 1240903 from home:tinita:branches:devel:languages:perl

- Fix dependency for Leap 15 (for older perl versions we need the
  indirect.pm module)

OBS-URL: https://build.opensuse.org/request/show/1240903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Object-Pad?expand=0&rev=24
This commit is contained in:
2025-01-30 21:56:37 +00:00
committed by Git OBS Bridge
parent 39de11db3c
commit e4a16dea0a
3 changed files with 17 additions and 2 deletions

View File

@@ -11,8 +11,11 @@
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires: gcc-c++
preamble: |-
%if 0%{?suse_version} <= 1600
BuildRequires: perl(indirect)
Requires: perl(indirect)
%endif
#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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 28 17:59:07 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Fix dependency for Leap 15 (for older perl versions we need the
indirect.pm module)
-------------------------------------------------------------------
Wed Jan 22 21:11:25 UTC 2025 - Tina Müller <timueller+perl@suse.de>

View File

@@ -49,6 +49,12 @@ Provides: perl(Object::Pad::MOP::Method) = %{version}
Provides: perl(Object::Pad::MetaFunctions) = %{version}
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
%if 0%{?suse_version} <= 1600
BuildRequires: perl(indirect)
Requires: perl(indirect)
%endif
# MANUAL END
%description
This module provides a simple syntax for creating object classes, which