update java source and modify buildrequires
(cherry picked from commit 41bc76dd04e303d695f98dbe842c5d67fc267cb2)
This commit is contained in:
parent
a780ae4d63
commit
321e7aba35
10
gnulib.spec
10
gnulib.spec
@ -1,12 +1,12 @@
|
|||||||
Name: gnulib
|
Name: gnulib
|
||||||
Version: 0
|
Version: 0
|
||||||
Release: 29.20180720git
|
Release: 30.20180720git
|
||||||
Summary: The GNU Portability Library
|
Summary: The GNU Portability Library
|
||||||
License: Public Domain and BSD and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2 and LGPLv2+ and LGPLv3+
|
License: Public Domain and BSD and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2 and LGPLv2+ and LGPLv3+
|
||||||
URL: https://www.gnu.org/software/gnulib
|
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
|
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
|
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
|
%description
|
||||||
Gnulib is a central location for common GNU code, intended to be
|
Gnulib is a central location for common GNU code, intended to be
|
||||||
@ -61,7 +61,7 @@ cd build-tests
|
|||||||
%make_build
|
%make_build
|
||||||
cd -
|
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
|
%make_build MODULES.html
|
||||||
sed -i -r 's#HREF="(lib|m4|modules)#HREF="%{_datadir}/gnulib/\1#g' 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
|
sed -i "/^[ ]*gnulib_dir=/s#\`[^\`]*\`#%{_datadir}/gnulib#" gnulib-tool
|
||||||
@ -115,6 +115,10 @@ fi
|
|||||||
%license doc/COPYINGv2
|
%license doc/COPYINGv2
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 02 2022 konglidong <konglidong@uniontech.com> - 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 <yaoxin30@huawei.com> - 0-29.20180720git
|
* Wed Feb 23 2022 yaoxin <yaoxin30@huawei.com> - 0-29.20180720git
|
||||||
- Fix CVE-2018-17942
|
- Fix CVE-2018-17942
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user