Hello community, here is the log from the commit of package antlr for openSUSE:Factory checked in at 2018-07-24 17:33:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/antlr (Old) and /work/SRC/openSUSE:Factory/.antlr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "antlr" Tue Jul 24 17:33:24 2018 rev:43 rq:624302 version:2.7.7 Changes: -------- --- /work/SRC/openSUSE:Factory/antlr/antlr-bootstrap.changes 2017-12-10 18:15:20.413209779 +0100 +++ /work/SRC/openSUSE:Factory/.antlr.new/antlr-bootstrap.changes 2018-07-24 17:33:27.372142843 +0200 @@ -1,0 +2,6 @@ +Tue May 15 05:55:58 UTC 2018 - fst...@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/antlr/antlr.changes 2018-01-16 09:39:01.887066977 +0100 +++ /work/SRC/openSUSE:Factory/.antlr.new/antlr.changes 2018-07-24 17:33:27.472142969 +0200 @@ -1,0 +2,11 @@ +Fri Jul 20 15:27:49 UTC 2018 - tchva...@suse.com + +- Do not use old compat macros for python directories + +------------------------------------------------------------------- +Tue May 15 05:54:51 UTC 2018 - fst...@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ antlr-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.cwlxVg/_old 2018-07-24 17:33:27.980143608 +0200 +++ /var/tmp/diff_new_pack.cwlxVg/_new 2018-07-24 17:33:27.984143613 +0200 @@ -24,10 +24,10 @@ Summary: Antlr for bootstrapping purposes License: BSD-3-Clause AND SUSE-Public-Domain Group: Development/Libraries/Java -Url: http://www.antlr.org +URL: http://www.antlr.org Source0: antlr-%{version}.tar.bz2 Source1: manifest.antlr -BuildRequires: java-devel >= 1.6 +BuildRequires: java-devel >= 1.8 BuildRequires: unzip BuildRequires: zip BuildArch: noarch @@ -94,7 +94,7 @@ xargs jar cfm ${1}.jar manifest.* ; mv ${1}.jar $TARGET_DIR } -COMPILER_COMMAND="javac -source 1.6 -target 1.6 -cp " +COMPILER_COMMAND="javac -source 8 -target 8 -cp " delBinaryFiles mkdir src mv antlr src ++++++ antlr.spec ++++++ --- /var/tmp/diff_new_pack.cwlxVg/_old 2018-07-24 17:33:28.012143648 +0200 +++ /var/tmp/diff_new_pack.cwlxVg/_new 2018-07-24 17:33:28.012143648 +0200 @@ -21,9 +21,9 @@ Version: 2.7.7 Release: 0 Summary: Another Tool for Language Recognition -License: GPL-2.0+ AND SUSE-Public-Domain AND MIT +License: GPL-2.0-or-later AND SUSE-Public-Domain AND MIT Group: Development/Tools/Other -Url: http://www.antlr.org/ +URL: http://www.antlr.org/ Source0: antlr-%{version}.tar.bz2 Source1: %{name}-build.xml Source2: %{name}-script @@ -35,16 +35,16 @@ BuildRequires: ant BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: java-devel >= 1.6 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-tools -%if %{with python2} -BuildRequires: python2-base -%endif BuildRequires: xml-commons-apis Requires: %{name}-java Provides: %{name}-bootstrap = %{version} Obsoletes: %{name}-bootstrap < %{version} Obsoletes: %{name}-javadoc +%if %{with python2} +BuildRequires: python2-base +%endif %description ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a @@ -55,7 +55,7 @@ %package java Summary: ANother Tool for Language Recognition (Manual) Group: Development/Tools/Other -Requires: java >= 1.6 +Requires: java >= 1.8 BuildArch: noarch %description java @@ -123,7 +123,7 @@ %build ant \ -Dj2se.apidoc=%{_javadocdir}/java \ - -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ + -Dant.build.javac.source=8 -Dant.build.javac.target=8 \ jar %configure make -j1 @@ -147,11 +147,11 @@ ### python runtime ### %if %{with python2} -install -d -m 0755 %{buildroot}%{py_sitedir}/%{name} -cp -a lib/python/antlr/* %{buildroot}%{py_sitedir}/%{name} +install -d -m 0755 %{buildroot}%{python_sitearch}/%{name} +cp -a lib/python/antlr/* %{buildroot}%{python_sitearch}/%{name} # compat symlink -ln -s -f %{py_sitedir}/%{name}/*.py %{buildroot}%{_datadir}/%{name}-%{version}/ -ln -s -f %{py_sitedir}/%{name}/*.pyc %{buildroot}%{_datadir}/%{name}-%{version}/ +ln -s -f %{python_sitearch}/%{name}/*.py %{buildroot}%{_datadir}/%{name}-%{version}/ +ln -s -f %{python_sitearch}/%{name}/*.pyc %{buildroot}%{_datadir}/%{name}-%{version}/ %endif ### cpp runtime ### @@ -167,7 +167,8 @@ %fdupes -s doc %files -%doc LICENSE.txt README.txt CHANGES.txt +%license LICENSE.txt +%doc README.txt CHANGES.txt %dir %{_datadir}/%{name}-%{version} %{_bindir}/antlr %{_bindir}/antlr-config @@ -189,7 +190,7 @@ %dir %{_datadir}/%{name}-%{version} %{_datadir}/%{name}-%{version}/*py %{_datadir}/%{name}-%{version}/*pyc -%{py_sitedir}/%{name} +%{python_sitearch}/%{name} %endif %changelog