forked from pool/javapackages-tools
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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 \
|
||||
|
Reference in New Issue
Block a user