1
0
2018-11-05 09:35:48 +00:00
committed by Git OBS Bridge
parent 29dc24c59e
commit 056c80113b
2 changed files with 10 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 5 09:34:51 UTC 2018 - Fridrich Strba <fstrba@suse.com>
- Replace the occurences of /usr/lib by libdir in configuration
files too
-------------------------------------------------------------------
Wed Oct 24 08:19:24 UTC 2018 - Fridrich Strba <fstrba@suse.com>

View File

@@ -44,6 +44,7 @@ Patch1: python-optional.patch
Patch2: suse-no-epoch.patch
BuildRequires: asciidoc
BuildRequires: fdupes
BuildRequires: perl
BuildRequires: rpm
BuildRequires: xmlto
Requires: javapackages-filesystem = %{version}-%{release}
@@ -125,6 +126,9 @@ This package provides non-essential macros and scripts to support Java packaging
%prep
%setup -q -n javapackages-%{version}
%autopatch -p1
# The usr/lib is hardcoded in configuration files too
new_dir=$(echo %{_libdir} | sed 's#/##')
perl -pi -e "s#usr/lib#${new_dir}#g" configs/*.xml
%build
%configure \