Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package snowball for openSUSE:Factory checked in at 2023-10-12 23:38:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/snowball (Old) and /work/SRC/openSUSE:Factory/.snowball.new.1807 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "snowball" Thu Oct 12 23:38:58 2023 rev:2 rq:1117451 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/snowball/snowball.changes 2021-05-11 23:04:38.712825904 +0200 +++ /work/SRC/openSUSE:Factory/.snowball.new.1807/snowball.changes 2023-10-12 23:39:00.446161004 +0200 @@ -1,0 +2,18 @@ +Tue Oct 10 08:53:44 UTC 2023 - Dominique Leuenberger <[email protected]> + +- Update to version 2.2.0: + + New code generator: Ada generator. + + Javascript: Fix generated code to use integer division rather + than floating point division. + + Python: + - Python 2 is no longer actively supported. + - Fix code generated for division. Previously the Python code + we generated used integer division but rounded negative + fractions towards negative infinity rather than zero under + Python 2, and under Python 3 used floating point division. + + For more information, see shipped NEWS file. +- Rebase build-options.diff and shared-library.diff. +- Bump libstemmer.so.0d to libstemmer.so.1d: we have no guarantee + that upstreams static-only-library maintains any kind of ABI. + +------------------------------------------------------------------- Old: ---- snowball-2.1.0.tar.gz New: ---- snowball-2.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ snowball.spec ++++++ --- /var/tmp/diff_new_pack.ghvC16/_old 2023-10-12 23:39:01.414196044 +0200 +++ /var/tmp/diff_new_pack.ghvC16/_new 2023-10-12 23:39:01.414196044 +0200 @@ -1,7 +1,7 @@ # # spec file for package snowball # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,10 @@ # -%define library_name libstemmer0d +%define library_name libstemmer1d Name: snowball -Version: 2.1.0 +Version: 2.2.0 Release: 0 Summary: Snowball compiler and stemming algorithms License: BSD-3-Clause ++++++ build-options.diff ++++++ --- /var/tmp/diff_new_pack.ghvC16/_old 2023-10-12 23:39:01.434196768 +0200 +++ /var/tmp/diff_new_pack.ghvC16/_new 2023-10-12 23:39:01.438196913 +0200 @@ -3,19 +3,19 @@ Forwarded: not-needed Last-Update: 2019-10-17 -Index: snowball-2.1.0/GNUmakefile +Index: snowball-2.2.0/GNUmakefile =================================================================== ---- snowball-2.1.0.orig/GNUmakefile -+++ snowball-2.1.0/GNUmakefile -@@ -162,8 +162,8 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=. +--- snowball-2.2.0.orig/GNUmakefile ++++ snowball-2.2.0/GNUmakefile +@@ -170,8 +170,8 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=. JAVA_CLASSES = $(JAVA_SOURCES:.java=.class) JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURCES:.java=.class) -CFLAGS=-O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations --CPPFLAGS=-Iinclude -+override CFLAGS += -W -Wall -Wmissing-prototypes -Wmissing-declarations -+override CPPFLAGS += -Iinclude +-CPPFLAGS= ++override_CFLAGS += -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations ++ovveride_CPPFLAGS += - all: snowball libstemmer.o stemwords $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS) + INCLUDES=-Iinclude ++++++ shared-library.diff ++++++ --- /var/tmp/diff_new_pack.ghvC16/_old 2023-10-12 23:39:01.462197782 +0200 +++ /var/tmp/diff_new_pack.ghvC16/_new 2023-10-12 23:39:01.462197782 +0200 @@ -3,27 +3,29 @@ Forwarded: http://news.gmane.org/find-root.php?message_id=%3c20110821220427.GC1738%40bach.rivera.co.za%3e Last-Update: 2019-10-17 -Index: snowball-2.1.0/GNUmakefile +Index: snowball-2.2.0/GNUmakefile =================================================================== ---- snowball-2.1.0.orig/GNUmakefile -+++ snowball-2.1.0/GNUmakefile -@@ -165,12 +165,13 @@ JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURC - override CFLAGS += -W -Wall -Wmissing-prototypes -Wmissing-declarations - override CPPFLAGS += -Iinclude - --all: snowball libstemmer.o stemwords $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS) -+all: snowball libstemmer.so stemwords $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS) - +--- snowball-2.2.0.orig/GNUmakefile ++++ snowball-2.2.0/GNUmakefile +@@ -175,7 +175,7 @@ ovveride_CPPFLAGS += + + INCLUDES=-Iinclude + +-all: snowball$(EXEEXT) libstemmer.a stemwords$(EXEEXT) $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS) ++all: snowball$(EXEEXT) libstemmer.so stemwords$(EXEEXT) $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS) + + algorithms.mk: libstemmer/mkalgorithms.pl libstemmer/modules.txt + libstemmer/mkalgorithms.pl algorithms.mk libstemmer/modules.txt +@@ -183,7 +183,7 @@ algorithms.mk: libstemmer/mkalgorithms.p clean: rm -f $(COMPILER_OBJECTS) $(RUNTIME_OBJECTS) \ - $(LIBSTEMMER_OBJECTS) $(LIBSTEMMER_UTF8_OBJECTS) $(STEMWORDS_OBJECTS) snowball \ -- libstemmer.o stemwords \ -+ $(wildcard libstemmer.so*) libstemmer.a \ -+ stemwords \ + $(LIBSTEMMER_OBJECTS) $(LIBSTEMMER_UTF8_OBJECTS) $(STEMWORDS_OBJECTS) snowball$(EXEEXT) \ +- libstemmer.a stemwords$(EXEEXT) \ ++ $(wildcard libstemmer.so*) libstemmer.a stemwords$(EXEEXT) \ libstemmer/modules.h \ libstemmer/modules_utf8.h \ $(C_LIB_SOURCES) $(C_LIB_HEADERS) $(C_LIB_OBJECTS) \ -@@ -185,7 +186,7 @@ clean: +@@ -198,7 +198,7 @@ clean: libstemmer/mkinc.mak libstemmer/mkinc_utf8.mak \ libstemmer/libstemmer.c libstemmer/libstemmer_utf8.c \ algorithms.mk @@ -32,80 +34,83 @@ -rmdir $(c_src_dir) -rmdir $(python_output_dir) -rmdir $(js_output_dir) -@@ -209,11 +210,16 @@ libstemmer/modules_utf8.h libstemmer/mki +@@ -222,14 +222,19 @@ libstemmer/modules_utf8.h libstemmer/mki libstemmer/libstemmer.o: libstemmer/modules.h $(C_LIB_HEADERS) --libstemmer.o: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS) +-libstemmer.a: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS) - $(AR) -cru $@ $^ +libstemmer.so: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS) + $(CC) -shared $(LDFLAGS) \ -+ -Wl,--version-script=${RPM_SOURCE_DIR}/libstemmer.ver,-soname,libstemmer.so.0d \ -+ -o [email protected] ${^:%=.shared/%} -+ ln -s [email protected] [email protected] -+ ln -s [email protected] $@ ++ -Wl,--version-script=${RPM_SOURCE_DIR}/libstemmer.ver,-soname,libstemmer.so.1d \ ++ -o [email protected] ${^:%=.shared/%} ++ ln -s [email protected] [email protected] ++ ln -s [email protected] $@ + $(AR) -crs ${@:.so=.a} $^ --stemwords: $(STEMWORDS_OBJECTS) libstemmer.o + examples/%.o: examples/%.c + $(CC) $(CFLAGS) $(INCLUDES) $(CPPFLAGS) -c -o $@ $< + +-stemwords$(EXEEXT): $(STEMWORDS_OBJECTS) libstemmer.a - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -+stemwords: $(STEMWORDS_OBJECTS) libstemmer.so ++stemwords$(EXEEXT): $(STEMWORDS_OBJECTS) libstemmer.so + $(CC) $(CFLAGS) $(LDFLAGS) -g -o $@ $(STEMWORDS_OBJECTS) -L. -lstemmer - stemtest: $(STEMTEST_OBJECTS) libstemmer.o - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -@@ -256,7 +262,6 @@ $(c_src_dir)/stem_ISO_8859_2_%.c $(c_src + tests/%.o: tests/%.c + $(CC) $(CFLAGS) $(INCLUDES) $(CPPFLAGS) -c -o $@ $< +@@ -275,7 +280,6 @@ $(c_src_dir)/stem_ISO_8859_2_%.c $(c_src ./snowball charsets/ISO-8859-2.sbl $< -o $${o} -eprefix $${l}_ISO_8859_2_ -r ../runtime $(c_src_dir)/stem_%.o: $(c_src_dir)/stem_%.c $(c_src_dir)/stem_%.h -- $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< +- $(CC) $(CFLAGS) $(INCLUDES) $(CPPFLAGS) -c -o $@ $< - $(java_src_dir)/%Stemmer.java: algorithms/%.sbl snowball + $(java_src_dir)/%Stemmer.java: algorithms/%.sbl snowball$(EXEEXT) @mkdir -p $(java_src_dir) -@@ -498,13 +503,14 @@ check_koi8r: $(KOI8_R_algorithms:%=check +@@ -520,13 +524,14 @@ check_koi8r: $(KOI8_R_algorithms:%=check # a sibling to this one. STEMMING_DATA ?= ../snowball-data STEMMING_DATA_ABS := $(abspath $(STEMMING_DATA)) -+STEMWORDS=LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ./stemwords ++STEMWORDS=LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ./stemwords$(EXEEXT) - check_utf8_%: $(STEMMING_DATA)/% stemwords + check_utf8_%: $(STEMMING_DATA)/% stemwords$(EXEEXT) @echo "Checking output of `echo $<|sed 's!.*/!!'` stemmer with UTF-8" @if test -f '$</voc.txt.gz' ; then \ -- gzip -dc '$</voc.txt.gz'|./stemwords -c UTF_8 -l `echo $<|sed 's!.*/!!'` -o tmp.txt; \ +- gzip -dc '$</voc.txt.gz'|./stemwords$(EXEEXT) -c UTF_8 -l `echo $<|sed 's!.*/!!'` -o tmp.txt; \ + gzip -dc '$</voc.txt.gz'|$(STEMWORDS) -c UTF_8 -l `echo $<|sed 's!.*/!!'` -o tmp.txt; \ else \ -- ./stemwords -c UTF_8 -l `echo $<|sed 's!.*/!!'` -i $</voc.txt -o tmp.txt; \ -+ $(STEMWORDS) -c UTF_8 -l `echo $<|sed 's!.*/!!'` -i $</voc.txt -o tmp.txt; \ +- ./stemwords$(EXEEXT) -c UTF_8 -l `echo $<|sed 's!.*/!!'` -i $</voc.txt -o tmp.txt; \ ++ $(STEMWORD) -c UTF_8 -l `echo $<|sed 's!.*/!!'` -i $</voc.txt -o tmp.txt; \ fi @if test -f '$</output.txt.gz' ; then \ - gzip -dc '$</output.txt.gz'|diff -u - tmp.txt; \ -@@ -516,7 +522,7 @@ check_utf8_%: $(STEMMING_DATA)/% stemwor - check_iso_8859_1_%: $(STEMMING_DATA)/% stemwords + gzip -dc '$</output.txt.gz'|$(DIFF) -u - tmp.txt; \ +@@ -538,7 +543,7 @@ check_utf8_%: $(STEMMING_DATA)/% stemwor + check_iso_8859_1_%: $(STEMMING_DATA)/% stemwords$(EXEEXT) @echo "Checking output of `echo $<|sed 's!.*/!!'` stemmer with ISO_8859_1" - @$(ICONV) -fUTF8 -tISO8859-1 '$</voc.txt' |\ + @$(ICONV) -f UTF-8 -t ISO-8859-1 '$</voc.txt' |\ - ./stemwords -c ISO_8859_1 -l `echo $<|sed 's!.*/!!'` -o tmp.txt + $(STEMWORDS) -c ISO_8859_1 -l `echo $<|sed 's!.*/!!'` -o tmp.txt - @$(ICONV) -fUTF8 -tISO8859-1 '$</output.txt' |\ - diff -u - tmp.txt + @$(ICONV) -f UTF-8 -t ISO-8859-1 '$</output.txt' |\ + $(DIFF) -u - tmp.txt @rm tmp.txt -@@ -524,7 +530,7 @@ check_iso_8859_1_%: $(STEMMING_DATA)/% s - check_iso_8859_2_%: $(STEMMING_DATA)/% stemwords +@@ -546,7 +551,7 @@ check_iso_8859_1_%: $(STEMMING_DATA)/% s + check_iso_8859_2_%: $(STEMMING_DATA)/% stemwords$(EXEEXT) @echo "Checking output of `echo $<|sed 's!.*/!!'` stemmer with ISO_8859_2" - @$(ICONV) -fUTF8 -tISO8859-2 '$</voc.txt' |\ + @$(ICONV) -f UTF-8 -t ISO-8859-2 '$</voc.txt' |\ - ./stemwords -c ISO_8859_2 -l `echo $<|sed 's!.*/!!'` -o tmp.txt + $(STEMWORDS) -c ISO_8859_2 -l `echo $<|sed 's!.*/!!'` -o tmp.txt - @$(ICONV) -fUTF8 -tISO8859-2 '$</output.txt' |\ - diff -u - tmp.txt + @$(ICONV) -f UTF-8 -t ISO-8859-2 '$</output.txt' |\ + $(DIFF) -u - tmp.txt @rm tmp.txt -@@ -532,7 +538,7 @@ check_iso_8859_2_%: $(STEMMING_DATA)/% s - check_koi8r_%: $(STEMMING_DATA)/% stemwords +@@ -554,7 +559,7 @@ check_iso_8859_2_%: $(STEMMING_DATA)/% s + check_koi8r_%: $(STEMMING_DATA)/% stemwords$(EXEEXT) @echo "Checking output of `echo $<|sed 's!.*/!!'` stemmer with KOI8R" - @$(ICONV) -fUTF8 -tKOI8-R '$</voc.txt' |\ + @$(ICONV) -f UTF-8 -t KOI8-R '$</voc.txt' |\ - ./stemwords -c KOI8_R -l `echo $<|sed 's!.*/!!'` -o tmp.txt + $(STEMWORDS) -c KOI8_R -l `echo $<|sed 's!.*/!!'` -o tmp.txt - @$(ICONV) -fUTF8 -tKOI8-R '$</output.txt' |\ - diff -u - tmp.txt + @$(ICONV) -f UTF-8 -t KOI8-R '$</output.txt' |\ + $(DIFF) -u - tmp.txt @rm tmp.txt -@@ -718,4 +724,9 @@ ada/bin/generate: +@@ -739,4 +744,9 @@ ada/bin/generate: ada/bin/stemwords: $(ADA_SOURCES) cd ada && $(gprbuild) -Pstemwords -p ++++++ snowball-2.1.0.tar.gz -> snowball-2.2.0.tar.gz ++++++ ++++ 1943 lines of diff (skipped)
