Accepting request 967871 from Base:System

OBS-URL: https://build.opensuse.org/request/show/967871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnulib?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2022-04-08 20:46:22 +00:00 committed by Git OBS Bridge
commit fadc168b04
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 8 15:10:47 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with java source target levels 8
* fixes build in factory
-------------------------------------------------------------------
Mon Nov 29 08:29:59 UTC 2021 - mliska@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package gnulib
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -122,7 +122,7 @@ pushd build-tests
make %{?_smp_mflags}
popd
# Rebuild removed java class
javac -d lib -source 6 -target 1.6 lib/javaversion.java
javac -d lib -source 1.8 -target 1.8 lib/javaversion.java
# This part is done with the original path
make %{?_smp_mflags} MODULES.html
sed -i -r 's#HREF="(lib|m4|modules)#HREF="%{_datadir}/%{name}/\1#g' MODULES.html