diff --git a/gnulib.spec b/gnulib.spec index 5e81787eeea270fba7ac6bd04545f4b2db2e8b4a..d51b0a5536f83bb13e672ad75a0ef53893d052f8 100644 --- a/gnulib.spec +++ b/gnulib.spec @@ -1,12 +1,12 @@ Name: gnulib Version: 0 -Release: 29.20180720git +Release: 30.20180720git Summary: The GNU Portability Library License: Public Domain and BSD and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2 and LGPLv2+ and LGPLv3+ URL: https://www.gnu.org/software/gnulib Source0: https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=snapshot;h=68df637;sf=tgz;name=gnulib-68df637.tar.gz#/gnulib-68df637.tar.gz Patch0: CVE-2018-17942.patch -BuildRequires: perl-generators texinfo java-devel gettext-devel bison gperf libtool help2man git gcc_secure +BuildRequires: perl-generators texinfo java-1.8.0-openjdk-devel gettext-devel bison gperf libtool help2man git gcc_secure %description Gnulib is a central location for common GNU code, intended to be @@ -61,7 +61,7 @@ cd build-tests %make_build cd - -javac -d lib -source 1.3 -target 1.3 lib/javaversion.java +javac -d lib -source 1.8 -target 1.8 lib/javaversion.java %make_build MODULES.html sed -i -r 's#HREF="(lib|m4|modules)#HREF="%{_datadir}/gnulib/\1#g' MODULES.html sed -i "/^[ ]*gnulib_dir=/s#\`[^\`]*\`#%{_datadir}/gnulib#" gnulib-tool @@ -115,6 +115,10 @@ fi %license doc/COPYINGv2 %changelog +* Sat Apr 02 2022 konglidong - 0-30.20180720git +- update java source from 1.3 to 1.8 +- modify buildrequires from java-devel to java-1.8.0-openjdk-devel + * Wed Feb 23 2022 yaoxin - 0-29.20180720git - Fix CVE-2018-17942