forked from pool/apache2-mod_perl
Accepting request 921864 from devel:languages:perl
- fix build error with fix_perl_5.34_build.patch OBS-URL: https://build.opensuse.org/request/show/921864 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_perl?expand=0&rev=77
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package apache2-mod_perl
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -30,6 +30,8 @@ Source2: https://www.apache.org/dist/perl/KEYS#/%{name}.keyring
|
||||
Patch1: avoid-broken-provides.diff
|
||||
# bsc#1091625, workaround, according to mls it should be solved in perl
|
||||
Patch2: apache2-mod_perl-prctl-short-name.patch
|
||||
# PATCH-FIX-UPSTREAM fix build error caused by new error checking in perl 5.34.0
|
||||
Patch3: fix_perl_5.34_build.patch
|
||||
BuildRequires: apache-rpm-macros
|
||||
BuildRequires: apache2-devel
|
||||
BuildRequires: db-devel
|
||||
@@ -84,6 +86,7 @@ software depending on apache2-mod_perl.
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor MP_APXS=%{apache_apxs} MP_APR_CONFIG=%{_bindir}/apr-1-config MP_CCOPTS="%{apache_cflags} -fgnu89-inline"
|
||||
|
Reference in New Issue
Block a user