commit antlr for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package antlr for openSUSE:Factory checked in at 2017-12-10 18:15:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/antlr (Old) and /work/SRC/openSUSE:Factory/.antlr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "antlr" Sun Dec 10 18:15:17 2017 rev:40 rq:555129 version:2.7.7 Changes: -------- --- /work/SRC/openSUSE:Factory/antlr/antlr-bootstrap.changes 2017-10-10 11:41:06.360424565 +0200 +++ /work/SRC/openSUSE:Factory/.antlr.new/antlr-bootstrap.changes 2017-12-10 18:15:20.413209779 +0100 @@ -1,0 +2,6 @@ +Thu Dec 7 11:38:17 UTC 2017 - dimstar@opensuse.org + +- Escape the usage of %{VERSION} when calling out to rpm. + RPM 4.14 has %{VERSION} defined as 'the main packages version'. + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/antlr/antlr.changes 2017-11-10 14:36:45.412853821 +0100 +++ /work/SRC/openSUSE:Factory/.antlr.new/antlr.changes 2017-12-10 18:15:20.521204636 +0100 @@ -1,0 +2,6 @@ +Thu Dec 7 14:35:50 UTC 2017 - dimstar@opensuse.org + +- Fix build with RPM 4.14: a command that exits with error > 0 + aborts the build (and grep not finding a string is retval 1). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ antlr-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.2Kl5GI/_old 2017-12-10 18:15:22.493110713 +0100 +++ /var/tmp/diff_new_pack.2Kl5GI/_new 2017-12-10 18:15:22.497110522 +0100 @@ -16,7 +16,7 @@ # -%define gccbinsuffix %(rpm -q --qf "-%{VERSION}" gcc-java) +%define gccbinsuffix %(rpm -q --qf "-%%{VERSION}" gcc-java) %define real_name antlr Name: antlr-bootstrap Version: 2.7.7 @@ -37,7 +37,7 @@ %prep %setup -q -n %{real_name}-%{version} -find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42 +find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42 || : %build #>>> some useful functions ... used throughout bootstrap packages ++++++ antlr.spec ++++++ --- /var/tmp/diff_new_pack.2Kl5GI/_old 2017-12-10 18:15:22.517109570 +0100 +++ /var/tmp/diff_new_pack.2Kl5GI/_new 2017-12-10 18:15:22.517109570 +0100 @@ -115,7 +115,7 @@ #Ensure that the manuals are installed in the correct openSUSE docpath %patch2 # check for license problematic files: -find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42 +find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42 || : %build ant \
participants (1)
-
root@hilbert.suse.de