Hello community,

here is the log from the commit of package antlr for openSUSE:Factory checked 
in at 2020-06-11 14:37:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/antlr (Old)
 and      /work/SRC/openSUSE:Factory/.antlr.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "antlr"

Thu Jun 11 14:37:19 2020 rev:50 rq:810165 version:2.7.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/antlr/antlr.changes      2020-01-08 
19:32:29.148590020 +0100
+++ /work/SRC/openSUSE:Factory/.antlr.new.3606/antlr.changes    2020-06-11 
14:37:24.424038475 +0200
@@ -1,0 +2,6 @@
+Thu May  7 19:43:34 UTC 2020 - Pedro Monreal Gonzalez 
<pmonrealgonza...@suse.com>
+
+- Build antlr-manual package without examples files [bsc#1120360]
+- Remove not needed files
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ antlr-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.2CH8rU/_old  2020-06-11 14:37:25.120040498 +0200
+++ /var/tmp/diff_new_pack.2CH8rU/_new  2020-06-11 14:37:25.120040498 +0200
@@ -24,7 +24,7 @@
 Summary:        Antlr for bootstrapping purposes
 License:        BSD-3-Clause AND SUSE-Public-Domain
 Group:          Development/Libraries/Java
-URL:            http://www.antlr.org
+URL:            https://www.antlr.org
 Source0:        antlr-%{version}.tar.bz2
 Source1:        manifest.antlr
 BuildRequires:  java-devel >= 1.8

++++++ antlr.spec ++++++
--- /var/tmp/diff_new_pack.2CH8rU/_old  2020-06-11 14:37:25.140040556 +0200
+++ /var/tmp/diff_new_pack.2CH8rU/_new  2020-06-11 14:37:25.144040569 +0200
@@ -23,7 +23,7 @@
 Summary:        Another Tool for Language Recognition
 License:        GPL-2.0-or-later AND SUSE-Public-Domain AND MIT
 Group:          Development/Tools/Other
-URL:            http://www.antlr.org/
+URL:            https://www.antlr.org/
 Source0:        antlr-%{version}.tar.bz2
 Source1:        %{name}-build.xml
 Source2:        %{name}-script
@@ -33,7 +33,6 @@
 Patch1:         gcc45fix.diff
 Patch2:         fix-docpath.diff
 BuildRequires:  ant
-BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  java-devel >= 1.8
 BuildRequires:  javapackages-local
@@ -77,7 +76,7 @@
 compilers, and translators from grammatical descriptions containing C++
 or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
 
-This package provides the manual and examples for antlr.
+This package provides the manual for antlr.
 
 %package        devel
 Summary:        ANother Tool for Language Recognition (c++ runtime)
@@ -112,6 +111,8 @@
 %setup -q
 # remove all binary libs
 find . -name "*.jar" -exec rm -f {} \;
+find . -name "*.exe" -exec rm -f {} \;
+find . -name "*.dll" -exec rm -f {} \;
 find . -name Makefile.in | xargs chmod 0644
 %patch0
 cp -p %{SOURCE1} build.xml
@@ -128,8 +129,9 @@
     -Dj2se.apidoc=%{_javadocdir}/java \
     -Dant.build.javac.source=8 -Dant.build.javac.target=8 \
     jar
-%configure
+%configure --without-examples
 make -j1
+
 %if %{with python2}
 %py_compile lib/python/antlr
 %endif
@@ -165,11 +167,9 @@
 install -d -m 0755 %{buildroot}%{_includedir}/%{name}
 install -m 0644 lib/cpp/%{name}/*hpp %{buildroot}%{_includedir}/%{name}
 
-### find duplicates ###
-find examples -type f | xargs chmod 0644
-%fdupes -s examples
+### doc permissions ###
+rm doc/{Makefile,Makefile.in}
 find doc -type f | xargs chmod 0644
-%fdupes -s doc
 
 %files
 %license LICENSE.txt
@@ -190,7 +190,7 @@
 %endif
 
 %files manual
-%doc doc examples
+%doc doc
 
 %files devel
 %{_libdir}/libantlr.a


Reply via email to